Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / selectors / querySelector-leftmost-selector-matches-rootNode.html
blob1a944eb7c0f83363868d06f7932be6c682463881
1 <!doctype html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body id="target" class="target">
7 <div></div>
8 <div></div>
9 <div></div>
10 <div></div>
11 <div></div>
12 <div></div>
13 <pre id='console'></pre>
14 </body>
15 <script>
16 description('Test for crbug.com/304069: querySelectorAll regression.');
17 shouldBe("document.body.querySelectorAll('#target > div').length", "6");
18 shouldBe("document.body.querySelectorAll('#target').length", "0");
19 shouldBe("document.body.querySelectorAll('.target > div').length", "6");
20 shouldBe("document.body.querySelectorAll('.target').length", "0");
21 shouldBe("document.body.querySelectorAll('body > div').length", "6");
22 shouldBe("document.body.querySelectorAll('body').length", "0");
23 shouldBeNull("document.body.querySelector('#target')");
24 shouldBeNull("document.body.querySelector('.target')");
25 shouldBeNull("document.body.querySelector('body')");
26 </script>
27 </html>