| <script src="../../resources/js-test-pre.js"></script> |
| <div style="display:none"> |
| <ok class="t13 t14 t15"></ok> |
| description('Test cases when the multiple selectors are provided'); |
| shouldBe('document.body.querySelectorAll("t0, t1").length', '4'); |
| shouldBe('document.body.querySelectorAll("#t2, t3").length', '1'); |
| shouldBe('document.body.querySelectorAll("t4> #t5, t6 t7.ok").length', '2'); |
| shouldBe('document.body.querySelectorAll("t8 + t9, t10 t11.ok").length', '1'); |
| shouldBe('document.body.querySelectorAll("t8 + t9, t10 t11.ok").length', '1'); |
| shouldBe('document.body.querySelectorAll(".t12, .t13, .t14, .t15").length', '2'); |
| debug('CSS JIT compile may fail, fallback to the slow path.') |
| shouldBe('document.body.querySelectorAll(".t16, .t17>t18:nth-last-child(1)").length', '3'); |
| <script src="../../resources/js-test-post.js"></script> |