haikuwebkit/LayoutTests/fast/dom/HTMLHeadElement/head-check-expected.txt

21 lines
978 B
Plaintext

This test checks whether one (and only one) HEAD element is created for various HTML documents. See Bug 7321 REGRESSION: style tag in body causes two head elements to appear in the DOM.
Testing: head-check-1.html
PASS iframe.contentWindow.document.getElementsByTagName('head').length is 1
PASS iframe.contentWindow.document.firstChild.firstChild.nodeName.toLowerCase() is 'head'
Testing: head-check-2.html
PASS iframe.contentWindow.document.getElementsByTagName('head').length is 1
PASS iframe.contentWindow.document.firstChild.firstChild.nodeName.toLowerCase() is 'head'
Testing: head-check-3.html
PASS iframe.contentWindow.document.getElementsByTagName('head').length is 1
PASS iframe.contentWindow.document.firstChild.firstChild.nodeName.toLowerCase() is 'head'
Testing: head-check-4.html
PASS iframe.contentWindow.document.getElementsByTagName('head').length is 1
PASS iframe.contentWindow.document.firstChild.firstChild.nodeName.toLowerCase() is 'head'
TEST COMPLETE