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

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

Issue 310443002: Remove scoped styles. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove HasScopedHTMLStyleChildFlag from Node. Created 6 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: Source/core/dom/Element.cpp
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
index 5b02e15c5dc2ec0559843c6db213323a679f4f81..ef55ae5f78f367aeac36a06732e9f610a18ecbb0 100644
--- a/Source/core/dom/Element.cpp
+++ b/Source/core/dom/Element.cpp
@@ -3286,8 +3286,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())

Powered by Google App Engine
This is Rietveld 408576698