Bug 264537 - SVG SMIL Animation Lengths (to, from, by) should disallow invalid lengths (e.g., leading space)
Summary: SVG SMIL Animation Lengths (to, from, by) should disallow invalid lengths (e....
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar, WPTImpact
Depends on:
Blocks:
 
Reported: 2023-11-09 16:39 PST by Ahmad Saleem
Modified: 2023-11-16 16:40 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2023-11-09 16:39:13 PST
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!
Comment 2 Ahmad Saleem 2023-11-09 16:45:56 PST
> 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.
Comment 4 Radar WebKit Bug Importer 2023-11-16 16:40:20 PST
<rdar://problem/118537155>