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 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 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 | 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.getElementById("test")).length is 1 | 7 PASS getMatchedCSSRules(document.getElementById("test")).length is 1 |
7 Removing <style>... | 8 Removing <style>... |
8 PASS rule.parentRule is null | 9 PASS rule.parentRule is null |
9 PASS getMatchedCSSRules(document.getElementById("test")) is null | 10 PASS getMatchedCSSRules(document.getElementById("test")) is null |
10 PASS successfullyParsed is true | 11 PASS successfullyParsed is true |
11 | 12 |
12 TEST COMPLETE | 13 TEST COMPLETE |
13 | 14 |
OLD | NEW |