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