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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp

Issue 2317903003: Add CSS property priority for CSS animation affecting properties (Closed)
Patch Set: Rebased Created 4 years, 2 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: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
index f35858d6ead29ed461d58077a34a720153973057..29bd3e75b9ab720f243a4439281f37f7763b2c1e 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
@@ -1753,6 +1753,10 @@ void StyleResolver::applyMatchedProperties(StyleResolverState& state,
}
}
+ // Apply animation properties.
+ applyMatchedProperties<AnimationPropertyPriority>(
+ state, matchResult.allRules(), false, applyInheritedOnly);
Timothy Loh 2016/10/21 05:42:55 Don't we need to call this twice, once for not imp
alancutter (OOO until 2018) 2016/10/24 04:08:27 Oops, yes.
+
// Now we have all of the matched rules in the appropriate order. Walk the
// rules and apply high-priority properties first, i.e., those properties that
// other properties depend on. The order is (1) high-priority not important,

Powered by Google App Engine
This is Rietveld 408576698