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