Bug 17723
| Summary: | Empty system identifier in HTML 4.01 Transitional and Frames doctypes should trigger almost standard mode | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Robert Blaut <webkit> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | Normal | CC: | gsnedders |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://tc.labs.opera.com/html/parsing/doctype/001.htm | ||
Robert Blaut
Take a look on these two doctypes:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "">
They have empty system identifier SET.
According to HTML5 specification almost standards mode is expected if:
- The system identifier is not missing and the public identifier is set to: "-//W3C//DTD HTML 4.01 Frameset//EN"
- The system identifier is not missing and the public identifier is set to: "-//W3C//DTD HTML 4.01 Transitional//EN"
[http://www.whatwg.org/specs/web-apps/current-work/#the-initial]
So the above two examples should trigger almost standard mode in Webkit.
Actually they trigger quirks mode in Webkit.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Robert Blaut
*** Bug 17573 has been marked as a duplicate of this bug. ***
Sam Sneddon [:gsnedders]
resolved no later than bug 42794