blob: 5bda6dee9d9971afad065425922b605a092f2dd6 [file] [log] [blame]
weinig@apple.comf88fc712015-05-15 22:55:53 +00001Tests the basic functionality of the `children` property on ParentNode.
2
3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6PASS document.children is an instance of HTMLCollection
7PASS document.documentElement.children is an instance of HTMLCollection
8PASS document.createDocumentFragment().children is an instance of HTMLCollection
9PASS document.children.length is 1
10PASS document.children[0] is document.documentElement
11PASS document.documentElement.children.length is 2
12PASS document.documentElement.children[0] is document.head
13PASS document.documentElement.children[1] is document.body
14PASS documentFragment.children.length is 2
15PASS documentFragment.children[0] is child1
16PASS documentFragment.children[1] is child2
17PASS successfullyParsed is true
18
19TEST COMPLETE
20