Bug 15411 - document.compatMode property is not updated when doctype changes
Summary: document.compatMode property is not updated when doctype changes
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 523.x (Safari 3)
Hardware: Macintosh OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://software.hixie.ch/utilities/js...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-07 13:10 PDT by Sam Weinig
Modified: 2008-02-20 23:30 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Weinig 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.
Comment 1 Sam Weinig 2008-02-20 23:30:02 PST
Fixed by patch for bug 12751 in r30431.