OLD | NEW |
1 CONSOLE WARNING: 'getMatchedCSSRules()' is deprecated. For more help, check http
s://code.google.com/p/chromium/issues/detail?id=437569#c2 | 1 CONSOLE WARNING: line 1: 'getMatchedCSSRules()' is deprecated. For more help, ch
eck https://code.google.com/p/chromium/issues/detail?id=437569#c2 |
2 getMatchedCSSRules with nested CSS rules | 2 getMatchedCSSRules with nested CSS rules |
3 | 3 |
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
5 | 5 |
6 | 6 |
7 PASS getMatchedCSSRules(document.querySelector('div'))[0].cssText is "div { colo
r: blue; }" | 7 PASS getMatchedCSSRules(document.querySelector('div'))[0].cssText is "div { colo
r: blue; }" |
8 PASS getMatchedCSSRules(document.querySelector('.test-element'))[0].cssText is "
.test-element { border: 2px solid black; }" | 8 PASS getMatchedCSSRules(document.querySelector('.test-element'))[0].cssText is "
.test-element { border: 2px solid black; }" |
9 PASS successfullyParsed is true | 9 PASS successfullyParsed is true |
10 | 10 |
11 TEST COMPLETE | 11 TEST COMPLETE |
12 Test getMatchedCSSRules to output deeply nested CSSRules. | 12 Test getMatchedCSSRules to output deeply nested CSSRules. |
13 | 13 |
14 All this text should be blue. | 14 All this text should be blue. |
15 This span should have border. | 15 This span should have border. |
OLD | NEW |