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

Unified Diff: Source/core/dom/Element.cpp

Issue 325663003: Remove scoped styles (retry) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix layout test (and expectation) Created 6 years, 6 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 | « Source/core/dom/ContextFeatures.cpp ('k') | Source/core/dom/Node.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.cpp
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
index 6785eb9b84ecb55bf4b158dd829506a66d4a42c3..7b26abcf38c7522ab999991659926fa6c48d5afd 100644
--- a/Source/core/dom/Element.cpp
+++ b/Source/core/dom/Element.cpp
@@ -3299,8 +3299,6 @@ bool Element::supportsStyleSharing() const
return false;
if (!parentOrShadowHostElement()->childrenSupportStyleSharing())
return false;
- if (hasScopedHTMLStyleChild())
- return false;
if (this == document().cssTarget())
return false;
if (isHTMLElement() && toHTMLElement(this)->hasDirectionAuto())
« no previous file with comments | « Source/core/dom/ContextFeatures.cpp ('k') | Source/core/dom/Node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698