Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / NodeList / nodelist-item-assignment.html
blob4cb9e2c78920840b9904acf21a1676f762b7b35c
1 <html>
2 <head>
3 <script src="../../../resources/js-test.js"></script>
4 </head>
5 <body>
6 <p id="description"></p>
7 <ol></ol>
9 <div id="console"></div>
11 <script>
12 description(
13 'This tests that indexed assignments to items of a NodeList do not override original values. ' +
14 'See http://code.google.com/p/chromium/issues/detail?id=27967');
16 var nodeList = document.getElementsByTagName('ol');
17 var first = nodeList[0];
18 shouldBeFalse("first == null");
20 nodeList[0] = null;
21 for (var i = 0; i < 13; i++) {
22 shouldBe("nodeList[0]", "first");
24 </script>
25 </body>
26 </html>