OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
5 <script src="resources/shadow-dom.js"></script> | 5 <script src="resources/shadow-dom.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <div id='sandbox'></div> | 8 <div id='sandbox'></div> |
9 <pre id='console'></pre> | 9 <pre id='console'></pre> |
10 <script> | 10 <script> |
11 description('Test for crbug.com/273960. Vendor prefixed pseudo elements should n
ot cause DOM exception 12 when using querySelector, querySelectorAll and webkitM
atchesSelector.'); | 11 description('Test for crbug.com/273960. Vendor prefixed pseudo elements should n
ot cause DOM exception 12 when using querySelector, querySelectorAll and webkitM
atchesSelector.'); |
12 | 12 |
13 var sandbox = document.getElementById('sandbox'); | 13 var sandbox = document.getElementById('sandbox'); |
14 | 14 |
(...skipping 17 matching lines...) Expand all Loading... |
32 shouldBeNull('sandbox.firstChild.querySelector("div::part(x-part)")'); | 32 shouldBeNull('sandbox.firstChild.querySelector("div::part(x-part)")'); |
33 shouldBe('sandbox.firstChild.querySelectorAll("div::x-pseudo").length', '0'); | 33 shouldBe('sandbox.firstChild.querySelectorAll("div::x-pseudo").length', '0'); |
34 shouldBe('sandbox.firstChild.querySelectorAll("div::x-part").length', '0'); | 34 shouldBe('sandbox.firstChild.querySelectorAll("div::x-part").length', '0'); |
35 shouldBe('sandbox.firstChild.querySelectorAll("div::part(x-part)").length', '0')
; | 35 shouldBe('sandbox.firstChild.querySelectorAll("div::part(x-part)").length', '0')
; |
36 | 36 |
37 sandbox.innerHTML = ''; | 37 sandbox.innerHTML = ''; |
38 </script> | 38 </script> |
39 </body> | 39 </body> |
40 </html> | 40 </html> |
41 | 41 |
OLD | NEW |