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

Unified Diff: third_party/WebKit/Source/core/html/HTMLContentElement.cpp

Issue 2323953003: Clarify a role of Shadow DOM related functions (Closed)
Patch Set: rebased Created 4 years, 3 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 | « third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/HTMLContentElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLContentElement.cpp b/third_party/WebKit/Source/core/html/HTMLContentElement.cpp
index 8621d34349acf819dabbe5159f4a72ee10343304..a16138ae2418c25e48d83df2c0b24ee2ede3dca6 100644
--- a/third_party/WebKit/Source/core/html/HTMLContentElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLContentElement.cpp
@@ -76,7 +76,7 @@ void HTMLContentElement::parseAttribute(const QualifiedName& name, const AtomicS
{
if (name == selectAttr) {
if (ShadowRoot* root = containingShadowRoot()) {
- if (root->owner())
+ if (!root->isV1() && root->owner())
root->owner()->willAffectSelector();
}
m_shouldParseSelect = true;
« no previous file with comments | « third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698