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

Unified Diff: Source/core/dom/shadow/InsertionPoint.cpp

Issue 317953002: :host-context selectors may affect insertion point descendants. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | « LayoutTests/fast/dom/shadow/host-context-class-change-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/shadow/InsertionPoint.cpp
diff --git a/Source/core/dom/shadow/InsertionPoint.cpp b/Source/core/dom/shadow/InsertionPoint.cpp
index 56694939171db39bc24aa7badc04cf76b30bfdc2..5bf093fefe9978e333695652ca7a64c04a9b13f7 100644
--- a/Source/core/dom/shadow/InsertionPoint.cpp
+++ b/Source/core/dom/shadow/InsertionPoint.cpp
@@ -122,7 +122,7 @@ void InsertionPoint::willRecalcStyle(StyleRecalcChange change)
if (change < Inherit)
return;
for (size_t i = 0; i < m_distribution.size(); ++i)
- m_distribution.at(i)->setNeedsStyleRecalc(LocalStyleChange);
+ m_distribution.at(i)->setNeedsStyleRecalc(SubtreeStyleChange);
}
bool InsertionPoint::shouldUseFallbackElements() const
« no previous file with comments | « LayoutTests/fast/dom/shadow/host-context-class-change-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698