| 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 getMatchedCSSRules with nested CSS rules | 2 getMatchedCSSRules with nested CSS rules |
| 2 | 3 |
| 3 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
". |
| 4 | 5 |
| 5 | 6 |
| 6 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; }" |
| 7 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; }" |
| 8 PASS successfullyParsed is true | 9 PASS successfullyParsed is true |
| 9 | 10 |
| 10 TEST COMPLETE | 11 TEST COMPLETE |
| 11 Test getMatchedCSSRules to output deeply nested CSSRules. | 12 Test getMatchedCSSRules to output deeply nested CSSRules. |
| 12 | 13 |
| 13 All this text should be blue. | 14 All this text should be blue. |
| 14 This span should have border. | 15 This span should have border. |
| OLD | NEW |