summaryrefslogtreecommitdiff
path: root/Source/WebCore/css/CSSValue.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/css/CSSValue.h')
-rw-r--r--Source/WebCore/css/CSSValue.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/WebCore/css/CSSValue.h b/Source/WebCore/css/CSSValue.h
index fe56428a1..b4e8a89e7 100644
--- a/Source/WebCore/css/CSSValue.h
+++ b/Source/WebCore/css/CSSValue.h
@@ -59,6 +59,9 @@ public:
String cssText() const;
void setCssText(const String&, ExceptionCode&) { } // FIXME: Not implemented.
+#if ENABLE(CSS_VARIABLES)
+ String serializeResolvingVariables(const HashMap<AtomicString, String>&) const;
+#endif
bool isPrimitiveValue() const { return m_classType == PrimitiveClass; }
bool isValueList() const { return m_classType >= ValueListClass; }
@@ -90,6 +93,9 @@ public:
bool isWebKitCSSShaderValue() const { return m_classType == WebKitCSSShaderClass; }
#endif
#endif // ENABLE(CSS_FILTERS)
+#if ENABLE(CSS_VARIABLES)
+ bool isVariableValue() const { return m_classType == VariableClass; }
+#endif
#if ENABLE(SVG)
bool isSVGColor() const { return m_classType == SVGColorClass || m_classType == SVGPaintClass; }
bool isSVGPaint() const { return m_classType == SVGPaintClass; }
@@ -149,6 +155,9 @@ protected:
#if ENABLE(CSS_FILTERS) && ENABLE(CSS_SHADERS)
WebKitCSSShaderClass,
#endif
+#if ENABLE(CSS_VARIABLES)
+ VariableClass,
+#endif
#if ENABLE(SVG)
SVGColorClass,
SVGPaintClass,