Bug 15411

Summary: document.compatMode property is not updated when doctype changes
Product: WebKit Reporter: Sam Weinig <sam>
Component: New BugsAssignee: 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
Reported 2007-10-07 13:10:42 PDT
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
Sam Weinig
Comment 1 2008-02-20 23:30:02 PST
Fixed by patch for bug 12751 in r30431.
Note You need to log in before you can comment on or make changes to this bug.