Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/StyleSheet/detached-stylesheet-without-wrapper.html

Issue 1904423002: Remove Oilpan-only StyleSheet/ test failures from TestExpectations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <style> 3 <style>
4 #test-element { 4 #test-element {
5 text-decoration: line-through; 5 text-decoration: line-through;
6 } 6 }
7 </style> 7 </style>
8 <script src="../../../resources/js-test.js"></script> 8 <script src="../../../resources/js-test.js"></script>
9 </head> 9 </head>
10 <body> 10 <body>
11 <span id="test-element"></div> 11 <span id="test-element"></div>
12 <script> 12 <script>
13 description("Test that CSS stylesheets lacking wrappers are pruned from detached CSSOM subtrees. " + 13 description("Test that detached CSSOM subtrees keeps a reference to CSS styleshe ets lacking wrappers.");
14 "This is surprising behavior, but it's a very rare situation, and the behavior a ctually matches " +
15 "what both WebKit and Gecko do for DOM nodes in detached subtrees.");
16 14
17 var rule = getMatchedCSSRules(document.getElementById("test-element")).item(0); 15 var rule = getMatchedCSSRules(document.getElementById("test-element")).item(0);
18 document.documentElement.removeChild(document.head); 16 document.documentElement.removeChild(document.head);
19 shouldBe("rule.parentStyleSheet", "null"); 17 shouldNotBe("rule.parentStyleSheet", "null");
20 </script> 18 </script>
21 </body> 19 </body>
22 </html> 20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698