summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/properties/SVGPropertyTraits.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/properties/SVGPropertyTraits.h')
-rw-r--r--WebCore/svg/properties/SVGPropertyTraits.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/WebCore/svg/properties/SVGPropertyTraits.h b/WebCore/svg/properties/SVGPropertyTraits.h
index 85bca7e..5364853 100644
--- a/WebCore/svg/properties/SVGPropertyTraits.h
+++ b/WebCore/svg/properties/SVGPropertyTraits.h
@@ -30,6 +30,7 @@
#include "SVGPointList.h"
#include "SVGPreserveAspectRatio.h"
#include "SVGStringList.h"
+#include "SVGTransformList.h"
#include <wtf/text/StringBuilder.h>
namespace WebCore {
@@ -130,6 +131,13 @@ struct SVGPropertyTraits<SVGPointList> {
typedef FloatPoint ListItemType;
};
+template<>
+struct SVGPropertyTraits<SVGTransformList> {
+ static SVGTransformList initialValue() { return SVGTransformList(); }
+ static String toString(const SVGTransformList& type) { return type.valueAsString(); }
+ typedef SVGTransform ListItemType;
+};
+
}
#endif