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

Unified Diff: LayoutTests/fast/css/style-scoped/style-scoped-nested.html

Issue 201683003: Remove resetStyleInheritance. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Resolve conflicts Created 6 years, 9 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/css/style-scoped/style-scoped-nested-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/style-scoped/style-scoped-nested.html
diff --git a/LayoutTests/fast/css/style-scoped/style-scoped-nested.html b/LayoutTests/fast/css/style-scoped/style-scoped-nested.html
index 0eb8b596062fa0d7237582a67deec422b6fad15a..2be3d14a70df514890863b36175dcda6a2dff496 100644
--- a/LayoutTests/fast/css/style-scoped/style-scoped-nested.html
+++ b/LayoutTests/fast/css/style-scoped/style-scoped-nested.html
@@ -46,11 +46,6 @@ var shadowRoot = target.createShadowRoot();
shadowRoot.innerHTML = '<span id="targetInShadow" class="target"></span>';
var targetInShadow = shadowRoot.getElementById("targetInShadow");
shadowRoot.applyAuthorStyles = true;
-// Disable style-inheritance from its shadow host to check whether rules match
-// the span in the shadow tree or not.
-shadowRoot.resetStyleInheritance = true;
-debug("Test a span in some shadow dom tree. Since the span's host node is the above target, we have to see all inserted scoped styles and an author style to find whether the styles have any matched rules or not.");
-shouldBe("window.getComputedStyle(targetInShadow).color", '"rgb(0, 0, 255)"');
var styleInShadow = document.createElement("style");
styleInShadow.innerHTML = "span { color: lime; }";
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/css/style-scoped/style-scoped-nested-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698