OLD | NEW |
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. | 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 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS getMatchedCSSRules(document.getElementById("test")).length is 1 | 6 PASS getMatchedCSSRules(document.getElementById("test")).length is 1 |
7 Removing <style>... | 7 Removing <style>... |
8 PASS rule.parentRule is null | 8 PASS rule.parentRule is null |
9 PASS getMatchedCSSRules(document.getElementById("test")) is null | 9 PASS getMatchedCSSRules(document.getElementById("test")) is null |
10 PASS successfullyParsed is true | 10 PASS successfullyParsed is true |
11 | 11 |
12 TEST COMPLETE | 12 TEST COMPLETE |
13 | 13 |
OLD | NEW |