Closed
Bug 56409
Opened 24 years ago
Closed 24 years ago
<img width="100%"> does not work. nor does <img height="100%">
Categories
(Core :: Layout, defect, P3)
Tracking
()
People
(Reporter: mushroomblue, Assigned: clayton)
References
()
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
From Bugzilla Helper:
User-Agent: Mozilla/4.73 [en] (WinNT; U)
BuildID:
<img src="foo.gif" width="100%"> does not work, either within a table, or a
plain page. Page is in development, so I can't disclose the location; however,
when width="100%" is called, the image sometimes works, but when it does, it
blinks on and off. A length="100%" attribute simply doesn't work. the example is
in the design of a very popular website, which is in private beta. we have
tables with widths of 100 percent. there are 7 cells per table row. one row's
cell has a colspan of 7, and the image inside the cell has a width of 100%. this
image will blink. an image tag with a height attribut of 100% will not work at
all (for example a .gif stretched down the length of the page used as a
separator for content on a page). this is the only thing keeping back the launch
of our site. :)
Reproducible: Always
Steps to Reproduce:
1. create a table with a width of 100%.
2. make a TR and seven TD's within. fill with text in each TD.
3. make another TR, with one TD inside it, with a colspan of 7.
4. put an image (large or small) in the TD, and make the width 100%
5. load the page.
Actual Results: the image will blink randomly. any images with a height="100%"
will simply not show.
Expected Results: stretched the image to a width of 100%, and displayed with no
problems.
and if the height is 100%, it should also display with no problems.
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
The above testcase attempts to display the Mozilla image 3 times.
The first time is with no width or height specified.
This displays correctly.
The second one has a width of 100%. This displays correctly the first time, but
clicking on Reload sometimes makes it display as if there was no width specified.
The third one has a width and a height of 100%. This doesn't display for me.
Reporter-
Height % was fixed a few builds ago, and Tables still have the problem (listed
in bug #55874) Marking DUPLICATE. If you are using a recent build and are
having problems with height, please see bug #54119. Thanks for testing Mozilla. -d
*** This bug has been marked as a duplicate of 55874 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
SPAM. HTML Element component is deprecated, changing to Layout component. See
bug 88132 for details.
Come on Bugzilla, you can do it...
Component: HTML Element → Layout
You need to log in
before you can comment on or make changes to this bug.
Description
•