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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/distribution-update-recalcs-style.html

Issue 2266353004: Make Document::styleForElementIgnoringPendingStyleSheets() be aware of a flat tree structure (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update the test Created 4 years, 4 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/shadow/distribution-update-recalcs-style.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/distribution-update-recalcs-style.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/distribution-update-recalcs-style.html
index 98283417d778e0ffa4bccb41b3e0e054dd3aa60c..cbb0eabd85d18510874650dd5e11f83455e156f8 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/distribution-update-recalcs-style.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/distribution-update-recalcs-style.html
@@ -28,10 +28,10 @@ var sr = document.getElementById("host").createShadowRoot();
sr.innerHTML = '<style>div { color: blue }</style><div><content id="contentId" select="#div-child"></content></div>';
shouldBe('getColorProperty("div-child")', '"rgb(0, 0, 255)"');
-shouldBe('getColorProperty("span-child")', '"rgb(255, 0, 0)"');
+shouldBe('getColorProperty("span-child")', '"rgb(0, 0, 0)"');
sr.getElementById("contentId").select = "#span-child";
-shouldBe('getColorProperty("div-child")', '"rgb(255, 0, 0)"');
+shouldBe('getColorProperty("div-child")', '"rgb(0, 0, 0)"');
shouldBe('getColorProperty("span-child")', '"rgb(0, 0, 255)"');
if (window.testRunner)

Powered by Google App Engine
This is Rietveld 408576698