Bug 16636
Summary: | Acid3 expects document.firstChild to be a DocType node | ||
---|---|---|---|
Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | ap |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.4 | ||
URL: | http://www.hixie.ch/tests/evil/acid/003/NOT_READY_PLEASE_DO_NOT_USE.html |
Eric Seidel (no email)
Acid3 expects document.firstChild to be a DocType node
http://www.hixie.ch/tests/evil/acid/003/NOT_READY_PLEASE_DO_NOT_USE.html
We pass all parts of 33 except for this check:
(document.firstChild.nodeType == 10)) // doctype
function () {
// test 33: nodeType (this test also relies on accurate parsing of the document)
if ((document.nodeType == 9) && // document
(document.documentElement.nodeType == 1) && // element
(document.createAttribute('test').nodeType == 2) && // attribute
(document.getElementById('score').firstChild.nodeType == 3) && // test node
(document.firstChild.nodeType == 10)) // doctype
return 3;
},
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
NOT_READY_PLEASE_DO_NOT_USE
*** This bug has been marked as a duplicate of 12751 ***