OLD | NEW |
1 Test for cssText of '::content' rule. | 1 Test for cssText of '::content' 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::
content div .bar::before { display: block; }" | 6 PASS document.getElementById('style1').sheet.cssRules.item(0).cssText is ".foo::
content div .bar::before { display: block; }" |
7 PASS document.getElementById('style1').sheet.cssRules.item(1).cssText is "::cont
ent { display: block; }" | 7 PASS document.getElementById('style1').sheet.cssRules.item(1).cssText is "::cont
ent { display: block; }" |
8 PASS document.getElementById('style1').sheet.cssRules.item(2).cssText is "div co
ntent::content div content::content div.green { color: green; }" | 8 PASS document.getElementById('style1').sheet.cssRules.item(2).cssText is "div co
ntent::content div content::content div.green { color: green; }" |
9 PASS document.getElementById('style1').sheet.cssRules.item(3).cssText is "*::con
tent * { color: blue; }" | 9 PASS document.getElementById('style1').sheet.cssRules.item(3).cssText is "::cont
ent * { color: blue; }" |
| 10 PASS document.getElementById('style1').sheet.cssRules.item(4).cssText is "div::s
hadow::shadow::content { }" |
10 PASS successfullyParsed is true | 11 PASS successfullyParsed is true |
11 | 12 |
12 TEST COMPLETE | 13 TEST COMPLETE |
13 | 14 |
OLD | NEW |