Open Bug 904000 Opened 6 years ago Updated 6 years ago

Almost standards mode not triggered (or applied much differently than expected) with transitional doctype


(Core :: Layout, defect)

Not set




(Reporter: svl-bmo, Unassigned, NeedInfo)





(1 file)

The attached testcase (and linked URL) has the following doctype:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
If I read and correctly, this should trigger almost standards mode. It does in Chromium 28 and IE 10, but not in current aurora - - stable, or as far back as Firefox 8.

I can't escape the feeling that I must be missing something very obvious (and if so apologize for wasting time), but in any case, there's a distinct rendering difference between gecko and Chrome/IE here, which is being experienced as a bug.
This document ends up in almost-standards mode correctly.  You can see this if you actually put the images in table cells, say.  Or removing the <a> around the image....

I'm not aware of a spec for almost-standards mode, offhand.  David, what should happen for this case in almost-standards mode?
Flags: needinfo?(dbaron) does specify almost standards mode, but I'm not particularly confident that it's correct enough to be worth following for the line height quirks, which are the ones related to almost-standards mode.
You need to log in before you can comment on or make changes to this bug.