No subject


Mon Jan 28 08:41:14 PST 2013


9058">r149058</a> by &lt;pdr at chromium.org&gt;:

Previously hasAttribute() to determine if a viewBox was set in the transf=
orm
code for non-scaling-strokes. hasAttribute() should not be used in this c=
ase,
as it will return false if the attribute is not set but the value is anim=
ating.

This patch switches to checking if the viewBox is empty instead of checki=
ng for
the presence of the attribute.

Test: svg/stroke/animated-non-scaling-stroke.html

* svg/SVGSVGElement.cpp:
(WebCore::SVGSVGElement::localCoordinateSpaceTransform):
* svg/SVGSVGElement.h:
(WebCore::SVGSVGElement::hasEmptyViewBox):

LayoutTests:



More information about the webkit-changes mailing list