Bug 17386

Summary: Snippet Editor does not trigger quirks mode (BackCompat)
Product: WebKit Reporter: Robert Blaut <webkit>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: mrowe
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   

Robert Blaut
Reported 2008-02-15 23:48:31 PST
Summary: Snippet editor is useless as bug reduction tool. It always works in strict mode (CSS1Compat) despite DOCTYPE. Steps to reproduce: 1) Go to "Show Snippet Editor" in Debug menu. 2) Type the following code: "<html> <head></head> <body> <script type="text/javascript"> document.write(document.compatMode); </script> </body> </html>" Expected behavior: Preview should display: "BackCompat" Current behavior: Preview displays "CSS1Compat"
Attachments
Mark Rowe (bdash)
Comment 1 2008-02-16 00:42:13 PST
The snippet editor is not part of WebKit.
Robert Blaut
Comment 2 2008-02-16 00:52:26 PST
Ok. Filed bug report to Radar :)
Note You need to log in before you can comment on or make changes to this bug.