Closed
Bug 265954
Opened 21 years ago
Closed 21 years ago
Bad img tags don't hold their size for ...loose.dtd
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Tracking
()
VERIFIED
INVALID
People
(Reporter: bugzilla, Assigned: jdunn)
References
()
Details
Attachments
(2 files)
Dreamweaver now uses what they call an "Image Placeholder" which is a stand-in
image to be used until a real image is available. Very handy for sizing and such.
Source looks like the following:
<img src="" width="64" height="64" style="background-color: #990000">
No source, fixed size, background colour...
In Firefox 0.9 (I have confirmation from other people on new ones, although
possibly not bleadingly new) the image shows briefly, and then the image appears
to "collapse" down to a very small size or dissapears completely.
I think we should support this, it's not unreasonably to retain the image if the
file (null in this case of course) isn't found.
Reporter | ||
Comment 1•21 years ago
|
||
Restating the problem. Apparent under normal conditions it DOES work.
However, it can be made to NOT work with a slight change to the DOCTYPE.
I've created to file to demonstrate. The first, which works and displays the
image, uses the DOCTYPE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
The second, which does NOT work, uses.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
I will attach both files to the bug.
Summary: Dreamweaver "Image Placeholder" img tags don't hold their size → Bad img tags don't hold their size for ...loose.dtd
Reporter | ||
Comment 2•21 years ago
|
||
Reporter | ||
Comment 3•21 years ago
|
||
Comment 4•21 years ago
|
||
loading the image failed (since it loads an html page). when that happens, the
alt text is shown in strict mode (triggered by loose.dtd). you have no alt text,
so nothing appears. this is working as designed.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
![]() |
||
Comment 5•21 years ago
|
||
Verified. This "works" in quirks mode, precisely because of the code generated
by tools like dreamweaver. In standards mode, we replace the image with the alt
text. See http://www.mozilla.org/docs/web-developer/quirks/ for more information.
Status: RESOLVED → VERIFIED
Updated•7 years ago
|
Product: Core → Core Graveyard
Updated•7 years ago
|
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•