| Index: Source/core/css/resolver/CSSPropertyPriority.h
|
| diff --git a/Source/core/css/resolver/CSSPropertyPriority.h b/Source/core/css/resolver/CSSPropertyPriority.h
|
| index 3edca213d50cd3e52a5cf24fa10f37dfbe22fccb..88041910cf36e7cd0b3a7c2dd163e9906116b3e2 100644
|
| --- a/Source/core/css/resolver/CSSPropertyPriority.h
|
| +++ b/Source/core/css/resolver/CSSPropertyPriority.h
|
| @@ -14,6 +14,7 @@ namespace blink {
|
| // decides the pixel value of low priority properties with 'em' units.
|
|
|
| enum CSSPropertyPriority {
|
| + ResolveVariables,
|
| HighPropertyPriority,
|
| LowPropertyPriority
|
| };
|
| @@ -30,6 +31,18 @@ public:
|
| };
|
|
|
| template<>
|
| +inline CSSPropertyID CSSPropertyPriorityData<ResolveVariables>::first()
|
| +{
|
| + return CSSPropertyVariable;
|
| +}
|
| +
|
| +template<>
|
| +inline CSSPropertyID CSSPropertyPriorityData<ResolveVariables>::last()
|
| +{
|
| + return CSSPropertyVariable;
|
| +}
|
| +
|
| +template<>
|
| inline CSSPropertyID CSSPropertyPriorityData<HighPropertyPriority>::first()
|
| {
|
| static_assert(CSSPropertyColor == firstCSSProperty, "CSSPropertyColor should be the first high priority property");
|
|
|