Hi Team, While going through SVG Animations failure, I came across three failing tests around SVG Animations and Length: WPT Tests: svglength-animation-invalid-value-1.html , svglength-animation-invalid-value-2.html , svglength-animation-invalid-value-e.html WPT Tests Link: https://wpt.fyi/results/svg/animations?label=master&label=experimental&aligned=&q=svglength-animation-invalid-value- Web-Spec: https://www.w3.org/TR/2001/REC-smil-animation-20010904/#ToAttribute >> Leading and trailing white space, and white space before and after semicolon separators, will be ignored. >> If any values (i.e., the argument-values for from, to, by or values attributes) are not legal, the animation will have no effect (see also Handling Syntax Errors). Similarly, if none of the from, to, by or values attributes are specified, the animation will have no effect. Just wanted to raise so we can fix it and track it. Thanks!
Might be to do trim here?: https://searchfox.org/wubkat/source/Source/WebCore/svg/SVGAnimationElement.cpp#315 https://searchfox.org/wubkat/source/Source/WebCore/svg/SVGAnimationElement.cpp#320 https://searchfox.org/wubkat/source/Source/WebCore/svg/SVGAnimationElement.cpp#325
> No spaces between number and unit > No spaces before value. > No spaces after number and unit. ^ These are invalid ones, which we need to fix.
Or here: https://searchfox.org/wubkat/source/Source/WebCore/svg/SVGAnimationElement.cpp#558
<rdar://problem/118537155>