OLD | NEW |
1 Test for cssText of ':host()' rule. | 1 Test for cssText of ':host()' rule. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS document.getElementById('style1').sheet.cssRules.item(0).cssText is ".foo:h
ost(div,body.mytheme,p#myid,.bar::before,span:hover) > div { display: block; }" | 6 PASS document.getElementById('style1').sheet.cssRules.item(0).cssText is ".foo:h
ost(div,body.mytheme,p#myid,.bar:first-child,span:hover) > div { display: block;
}" |
7 PASS document.getElementById('style1').sheet.cssRules.item(1).cssText is ":host
{ display: block; }" | 7 PASS document.getElementById('style1').sheet.cssRules.item(1).cssText is ":host
{ display: block; }" |
8 PASS document.getElementById('style1').sheet.cssRules.item(2).cssText is ":host(
*) { display: block; }" | 8 PASS document.getElementById('style1').sheet.cssRules.item(2).cssText is ":host(
*) { display: block; }" |
9 PASS document.getElementById('style-invalid').sheet.cssRules.length is 0 | 9 PASS document.getElementById('style-invalid').sheet.cssRules.length is 0 |
10 PASS successfullyParsed is true | 10 PASS successfullyParsed is true |
11 | 11 |
12 TEST COMPLETE | 12 TEST COMPLETE |
13 | 13 |
OLD | NEW |