Closed Bug 247386 Opened 21 years ago Closed 21 years ago

if images disabled, width and height is ignore when laying out HTML

Categories

(Core :: Layout, defect)

x86
FreeBSD
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: eugenydzh, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7) Gecko/20040617 Firefox/0.9 Build Identifier: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7) Gecko/20040617 Firefox/0.9 if images disabled, width and height is ignore when laying out HTML Reproducible: Always Steps to Reproduce: 1. disable images 2. check this link http://www.livejournal.com/users/jdevelop/304573.html?nc=8 3. enable images 4. check this link http://www.livejournal.com/users/jdevelop/304573.html?nc=8 again Actual Results: you will see that width and height of img tag are ignored if images disabled Expected Results: don't ignore the width and height attributes of image tags (and may be objects/embeds too) when laying out HTML
I'm pretty sure this is by design on standards-mode web pages.
Assignee: bugs → nobody
Component: Web Site → Layout
Product: Firefox → Browser
QA Contact: core.layout
Version: unspecified → Trunk
(In reply to comment #1) > I'm pretty sure this is by design on standards-mode web pages. So you think that ignoring the images dimensions when they are disabled is good idea? In this case all spaces will not works either, this is showed on link i gave.
This is in fact by-design. In standards mode, when an image cannot be loaded (say because images are disabled) the alt text is shown instead, as plain text. That's the rendering the HTML specification effectively requires.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
*** Bug 296206 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.