Bug 17386
Summary: | Snippet Editor does not trigger quirks mode (BackCompat) | ||
---|---|---|---|
Product: | WebKit | Reporter: | Robert Blaut <webkit> |
Component: | Tools / Tests | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Mark Rowe (bdash)
The snippet editor is not part of WebKit.
Robert Blaut
Ok. Filed bug report to Radar :)