Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / htmlcollection-length-after-item.html
blob7c4eb1cefb880841999c7aaba4f8596e08705e7e
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script src="../../resources/js-test.js"></script>
5 <script>
7 description("This tests accessing the length after accessing (length + 1)-th item in HTMLCollection doesn't cache a wrong length.");
9 var container = document.createElement('div');
10 var span = document.createElement('span');
11 var children;
12 shouldBe("children = container.children; children.length", "0");
13 shouldBe("container.appendChild(span); children[1]; children.length", "1");
14 shouldBe("container.removeChild(span); children.length", "0");
16 </script>
17 </body>
18 </html>