Title: [87127] trunk/Source/WebCore
Revision
87127
Author
[email protected]
Date
2011-05-23 22:28:00 -0700 (Mon, 23 May 2011)

Log Message

2011-05-23  Dirk Schulze  <[email protected]>

        Reviewed by Darin Adler.

        SVGTextPositioning attributes are marked as NumberList instead of LengthList
        https://bugs.webkit.org/show_bug.cgi?id=61301

        SVGTextPositioningElement attributes x, y, dx and dy were marked as AnimatedNumberList
        instead of AnimatedLengthList.
        See specification http://www.w3.org/TR/SVG/text.html#InterfaceSVGTextPositioningElement

        This does not affect the behavior, since we do not respect SVG units in SMIL animation yet.
        No new tests added.

        * svg/SVGTextPositioningElement.cpp:
        (WebCore::SVGTextPositioningElement::fillPassedAttributeToPropertyTypeMap):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (87126 => 87127)


--- trunk/Source/WebCore/ChangeLog	2011-05-24 04:53:11 UTC (rev 87126)
+++ trunk/Source/WebCore/ChangeLog	2011-05-24 05:28:00 UTC (rev 87127)
@@ -1,3 +1,20 @@
+2011-05-23  Dirk Schulze  <[email protected]>
+
+        Reviewed by Darin Adler.
+
+        SVGTextPositioning attributes are marked as NumberList instead of LengthList
+        https://bugs.webkit.org/show_bug.cgi?id=61301
+
+        SVGTextPositioningElement attributes x, y, dx and dy were marked as AnimatedNumberList
+        instead of AnimatedLengthList.
+        See specification http://www.w3.org/TR/SVG/text.html#InterfaceSVGTextPositioningElement
+
+        This does not affect the behavior, since we do not respect SVG units in SMIL animation yet.
+        No new tests added.
+
+        * svg/SVGTextPositioningElement.cpp:
+        (WebCore::SVGTextPositioningElement::fillPassedAttributeToPropertyTypeMap):
+
 2011-05-19  MORITA Hajime  <[email protected]>
 
         Reviewed by Dimitri Glazkov.

Modified: trunk/Source/WebCore/svg/SVGTextPositioningElement.cpp (87126 => 87127)


--- trunk/Source/WebCore/svg/SVGTextPositioningElement.cpp	2011-05-24 04:53:11 UTC (rev 87126)
+++ trunk/Source/WebCore/svg/SVGTextPositioningElement.cpp	2011-05-24 05:28:00 UTC (rev 87127)
@@ -222,10 +222,10 @@
 {
     SVGTextContentElement::fillPassedAttributeToPropertyTypeMap(attributeToPropertyTypeMap);
 
-    attributeToPropertyTypeMap.set(SVGNames::xAttr, AnimatedNumberList);
-    attributeToPropertyTypeMap.set(SVGNames::yAttr, AnimatedNumberList);
-    attributeToPropertyTypeMap.set(SVGNames::dxAttr, AnimatedNumberList);
-    attributeToPropertyTypeMap.set(SVGNames::dyAttr, AnimatedNumberList);
+    attributeToPropertyTypeMap.set(SVGNames::xAttr, AnimatedLengthList);
+    attributeToPropertyTypeMap.set(SVGNames::yAttr, AnimatedLengthList);
+    attributeToPropertyTypeMap.set(SVGNames::dxAttr, AnimatedLengthList);
+    attributeToPropertyTypeMap.set(SVGNames::dyAttr, AnimatedLengthList);
     attributeToPropertyTypeMap.set(SVGNames::rotateAttr, AnimatedNumberList);
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to