| 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 returns CSSStyleRules with correct parent stylesheet. | 2 getMatchedCSSRules returns CSSStyleRules with correct parent stylesheet. |
| 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 parentStyleSheet media: '' | 7 parentStyleSheet media: '' |
| 7 parentStyleSheet media: '(min-device-width: 120px)' | 8 parentStyleSheet media: '(min-device-width: 120px)' |
| 8 parentStyleSheet media: '(min-device-width: 20px)' | 9 parentStyleSheet media: '(min-device-width: 20px)' |
| 9 parentStyleSheet media: '(min-device-width: 220px)' | 10 parentStyleSheet media: '(min-device-width: 220px)' |
| 10 PASS successfullyParsed is true | 11 PASS successfullyParsed is true |
| 11 | 12 |
| 12 TEST COMPLETE | 13 TEST COMPLETE |
| 13 Test getMatchedCSSRules to correctly setup CSSStyleRule parent stylesheet. | 14 Test getMatchedCSSRules to correctly setup CSSStyleRule parent stylesheet. |
| 14 | 15 |
| 15 This span should have border and be written in red. | 16 This span should have border and be written in red. |
| OLD | NEW |