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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleResolverState.h

Issue 2089593002: Add expansion of shorthands with custom properties to longhands using a pending substition value. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix serialization and temporary property value caching. Add some additional tests. Created 4 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
Index: third_party/WebKit/Source/core/css/resolver/StyleResolverState.h
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h b/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h
index f81711704b1f1a135f13223399229f40246de861..fc0ce68faece76a838ed70e1e0f9463af79eb638 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h
@@ -160,6 +160,8 @@ public:
void setCustomPropertySetForApplyAtRule(const String&, StylePropertySet*);
StylePropertySet* customPropertySetForApplyAtRule(const String&);
+ HeapHashMap<CSSPropertyID, Member<const CSSValue>>& parsedPropertiesForPendingSubstitution(const CSSValue&);
+
private:
ElementResolveContext m_elementContext;
Member<Document> m_document;
@@ -186,6 +188,9 @@ private:
ElementStyleResources m_elementStyleResources;
HeapHashMap<String, Member<StylePropertySet>> m_customPropertySetsForApplyAtRule;
+
+ HeapHashMap<Member<const CSSValue>, Member<HeapHashMap<CSSPropertyID, Member<const CSSValue>>>> m_parsedPropertiesForPendingSubstitution;
Timothy Loh 2016/06/27 04:19:10 nicer to key on CSSPendingSubstitutionValue
Andy Mutton 2016/06/28 03:18:51 Yeah... I debated this a little, since really this
+
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698