OLD | NEW |
| (Empty) |
1 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 eleme
nts to appear in the DOM. | |
2 | |
3 PASS successfullyParsed is true | |
4 | |
5 TEST COMPLETE | |
6 Testing: head-check-1.html | |
7 PASS iframe.contentWindow.document.getElementsByTagName('head').length is 1 | |
8 PASS iframe.contentWindow.document.firstChild.firstChild.nodeName.toLowerCase()
is 'head' | |
9 | |
10 Testing: head-check-2.html | |
11 PASS iframe.contentWindow.document.getElementsByTagName('head').length is 1 | |
12 PASS iframe.contentWindow.document.firstChild.firstChild.nodeName.toLowerCase()
is 'head' | |
13 | |
14 Testing: head-check-3.html | |
15 PASS iframe.contentWindow.document.getElementsByTagName('head').length is 1 | |
16 PASS iframe.contentWindow.document.firstChild.firstChild.nodeName.toLowerCase()
is 'head' | |
17 | |
18 Testing: head-check-4.html | |
19 PASS iframe.contentWindow.document.getElementsByTagName('head').length is 1 | |
20 PASS iframe.contentWindow.document.firstChild.firstChild.nodeName.toLowerCase()
is 'head' | |
21 | |
22 TEST COMPLETE | |
23 | |
OLD | NEW |