| Index: third_party/WebKit/LayoutTests/fast/dom/StyleSheet/detached-stylesheet-without-wrapper.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/detached-stylesheet-without-wrapper.html b/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/detached-stylesheet-without-wrapper.html
|
| index 6cef40987a9dadce716c913006240157106023de..b23c829eb91a89ebe34e262e26c3014cd05891d0 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/detached-stylesheet-without-wrapper.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/detached-stylesheet-without-wrapper.html
|
| @@ -10,13 +10,11 @@
|
| <body>
|
| <span id="test-element"></div>
|
| <script>
|
| -description("Test that CSS stylesheets lacking wrappers are pruned from detached CSSOM subtrees. " +
|
| -"This is surprising behavior, but it's a very rare situation, and the behavior actually matches " +
|
| -"what both WebKit and Gecko do for DOM nodes in detached subtrees.");
|
| +description("Test that detached CSSOM subtrees keeps a reference to CSS stylesheets lacking wrappers.");
|
|
|
| var rule = getMatchedCSSRules(document.getElementById("test-element")).item(0);
|
| document.documentElement.removeChild(document.head);
|
| -shouldBe("rule.parentStyleSheet", "null");
|
| +shouldNotBe("rule.parentStyleSheet", "null");
|
| </script>
|
| </body>
|
| </html>
|
|
|