Closed
Bug 483908
Opened 17 years ago
Closed 7 years ago
document.open should reset the compatMode to BackCompat (quirks mode) to match IE
Categories
(Core :: DOM: Core & HTML, defect, P5)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
INVALID
People
(Reporter: eric, Unassigned)
References
Details
(Keywords: html5, testcase)
Attachments
(1 file)
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.7) Gecko/2009021906 Firefox/3.0.7 GTB3
document.open should reset the DocType to BackCompat (quirks mode) to match IE
As part of fixing:
https://bugs.webkit.org/show_bug.cgi?id=24336
for WebKit, I discovered that Gecko does not match IE and WebKit by resetting the DocType BackCompat after a document.open.
See attached test case.
Reproducible: Always
![]() |
Reporter | |
Comment 1•17 years ago
|
||
![]() |
||
Comment 2•17 years ago
|
||
When running the test case with a recent (2.0b3pre (1.9.0.8pre 2009031706)) nightly Camino build under PPC Mac 10.4.11, the first two tests "PASS", and the last three tests "FAIL", FWIW.
![]() |
Reporter | |
Comment 3•17 years ago
|
||
Actually, after further testing, I'm not sure document.open() clears the document at all (as it does in IE and WebKit)
Comment 4•17 years ago
|
||
That's bug 325352.
Updated•15 years ago
|
Component: General → DOM: Core & HTML
Keywords: testcase
OS: Mac OS X → All
QA Contact: general → general
Hardware: x86 → All
Version: unspecified → Trunk
Updated•15 years ago
|
Updated•13 years ago
|
Summary: document.open should reset the DocType to BackCompat (quirks mode) to match IE → document.open should reset the compatMode to BackCompat (quirks mode) to match IE
Comment 5•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
![]() |
||
Comment 6•7 years ago
|
||
Invalid per current document.open spec. In fact, we now want to reset it back to standards mode. See bug 1489308 comment 0 third bullet point.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•