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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/StyleSheet/detached-parent-rule-without-wrapper-expected.txt

Issue 1968903002: Revert of Remove Oilpan-only StyleSheet/ test failures from TestExpectations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/dom/StyleSheet/detached-parent-rule-without-wrapper-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/detached-parent-rule-without-wrapper-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/detached-parent-rule-without-wrapper-expected.txt
index cd81043e5398754ff21f09fb387c08f97e4ac9df..972e79d15dffc77aa1e59de1fcb437a137b40068 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/detached-parent-rule-without-wrapper-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/dom/StyleSheet/detached-parent-rule-without-wrapper-expected.txt
@@ -1,12 +1,12 @@
CONSOLE WARNING: 'getMatchedCSSRules()' is deprecated. For more help, check https://code.google.com/p/chromium/issues/detail?id=437569#c2
-Test that detached CSSOM subtrees keeps a reference to CSS stylesheets lacking wrappers.
+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.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS getMatchedCSSRules(document.getElementById("test")).length is 1
Removing <style>...
-PASS rule.parentRule is not null
+PASS rule.parentRule is null
PASS getMatchedCSSRules(document.getElementById("test")) is null
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698