Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / NodeList / nodelist-reachable.html
blob0016cb052d09153e56be04b4cbbb747cb2ab74b6
1 <!DOCTYPE html>
2 <body>
3 <form>
4 <input name="radios" type="radio">
5 <input name="radios" type="radio">
6 </form>
7 <script src="../../../resources/js-test.js"></script>
8 <script>
10 var nodeListKind = {
11 ChildNodeListType: 'document.body.childNodes',
12 ClassNodeListType: 'document.getElementsByClassName("class")',
13 NameNodeListType: 'document.getElementsByName("name")',
14 TagNodeListType: 'document.getElementsByTagName("body")',
15 RadioNodeListType: 'document.querySelector("form").elements["radios"]',
16 LabelsNodeListType: 'document.querySelector("input").labels',
19 var i = 1;
20 for (var kind in nodeListKind) {
21 var code = nodeListKind[kind];
22 eval(code).customProperty = i;
23 gc();
24 shouldBe(code + '.customProperty', '' + i++);
27 </script>
28 </body>