Index: Source/platform/graphics/Color.h |
diff --git a/Source/platform/graphics/Color.h b/Source/platform/graphics/Color.h |
index 9664906a8f7840954ce28a951d56656c4d053db0..09e8c256ee8971b0d7b487dabfab817b0d20ce67 100644 |
--- a/Source/platform/graphics/Color.h |
+++ b/Source/platform/graphics/Color.h |
@@ -88,6 +88,10 @@ public: |
// - http://www.whatwg.org/specs/web-apps/current-work/#serialization-of-a-color |
String serialized() const; |
+ // Returns the color serialized according to CSSOM |
+ // - http://dev.w3.org/csswg/cssom/#serialize-a-css-component-value |
+ String serializedAsCSSComponentValue() const; |
+ |
// Returns the color serialized as either #RRGGBB or #RRGGBBAA |
// The latter format is not a valid CSS color, and should only be seen in DRT dumps. |
String nameForRenderTreeAsText() const; |