| 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="../js/resources/js-test-pre.js"></script> |
| 5 <script> | 5 <script> |
| 6 if (window.testRunner) | 6 if (window.testRunner) |
| 7 testRunner.dumpAsText(); | 7 testRunner.dumpAsText(); |
| 8 </script> | 8 </script> |
| 9 </head> | 9 </head> |
| 10 <body> | 10 <body> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 shouldBe('scope.querySelectorAll(":scope ul a").length', '0'); | 23 shouldBe('scope.querySelectorAll(":scope ul a").length', '0'); |
| 24 shouldBeNull('scope.querySelector(":scope ul a")'); | 24 shouldBeNull('scope.querySelector(":scope ul a")'); |
| 25 shouldBe('document.querySelectorAll(":scope ul a").length', '2'); | 25 shouldBe('document.querySelectorAll(":scope ul a").length', '2'); |
| 26 shouldBe('document.querySelectorAll(":root ul a").length', '2'); | 26 shouldBe('document.querySelectorAll(":root ul a").length', '2'); |
| 27 | 27 |
| 28 shouldBe('document.querySelectorAll(":scope a").length', '2'); | 28 shouldBe('document.querySelectorAll(":scope a").length', '2'); |
| 29 shouldBe('scope.querySelectorAll(":scope a").length', '1'); | 29 shouldBe('scope.querySelectorAll(":scope a").length', '1'); |
| 30 shouldBe('scope.querySelectorAll(":scope a").item(0)', 'scope.firstChild'); | 30 shouldBe('scope.querySelectorAll(":scope a").item(0)', 'scope.firstChild'); |
| 31 shouldBe('scope.querySelector(":scope a")', 'scope.querySelectorAll(":scope a").
item(0)'); | 31 shouldBe('scope.querySelector(":scope a")', 'scope.querySelectorAll(":scope a").
item(0)'); |
| 32 </script> | 32 </script> |
| 33 <script src="../js/resources/js-test-post.js"></script> | |
| 34 </html> | 33 </html> |
| OLD | NEW |