Closed Bug 159666 Opened 22 years ago Closed 22 years ago

Is handling of relative image widths correct?

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 97695

People

(Reporter: joerg.sigle, Assigned: pavlov)

References

()

Details

When I use HTML code that shall display multiple images in a single line which each have the same width which is computed as a certain percentages of available display width, the resulting display shows each succeeding image smaller than its predecessor. I guess that when Gecko interprets something like img ... width="20%", it probably computes the available width from something like the space between the current drawing position and the right border of the display space just before it evaluates the current meaning of 20%. This has occured with any Gecko browser I've tested over the last months, on Linux and Windows, and it is in contrast to what other browsers (Netscape 4, Opera, StarOffice, Internet Explorer, and, most probably, Lynx :-) ) do. An example is given on the page listed above. Inserting line brakes or new paragraphs after e.g. 4 images does not help. I've also tried to use a table, 1 field per row, 4 images per field, same result. I've not tried a table with 4 fields per row, 1 image per field because I would not like that approach elsewhere on my site. Is my HTML wrong or can Gecko be improved? Best wishes, Joerg.
This looks an awful lot like bug 97695
*** This bug has been marked as a duplicate of 97695 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.