Bug 15411
Summary: | document.compatMode property is not updated when doctype changes | ||
---|---|---|---|
Product: | WebKit | Reporter: | Sam Weinig <sam> |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | 523.x (Safari 3) | ||
Hardware: | Mac | ||
OS: | OS X 10.4 | ||
URL: | http://software.hixie.ch/utilities/js/live-dom-viewer/ |
Sam Weinig
The newly added document.compatMode does not update when the doctype changes, or is removed, in cases when the compatMode has changed. This can be observed by going to http://software.hixie.ch/utilities/js/live-dom-viewer/ and removing the doctype from the example text. It should change from CSS1Compat to BackCompat but doesn't.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Sam Weinig
Fixed by patch for bug 12751 in r30431.