| 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: 'getMatchedCSSRules()' is deprecated. For more help, check http
s://code.google.com/p/chromium/issues/detail?id=437569#c2 |
| 2 Test that CSS stylesheets lacking wrappers are pruned from detached CSSOM subtre
es. This is surprising behavior, but it's a very rare situation, and the behavio
r actually matches what both WebKit and Gecko do for DOM nodes in detached subtr
ees. | 2 Test that detached CSSOM subtrees keeps a reference to CSS stylesheets lacking w
rappers. |
| 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.getElementById("test")).length is 1 | 7 PASS getMatchedCSSRules(document.getElementById("test")).length is 1 |
| 8 Removing <style>... | 8 Removing <style>... |
| 9 PASS rule.parentRule is null | 9 PASS rule.parentRule is not null |
| 10 PASS getMatchedCSSRules(document.getElementById("test")) is null | 10 PASS getMatchedCSSRules(document.getElementById("test")) is null |
| 11 PASS successfullyParsed is true | 11 PASS successfullyParsed is true |
| 12 | 12 |
| 13 TEST COMPLETE | 13 TEST COMPLETE |
| 14 | 14 |
| OLD | NEW |