Re: [csswg-drafts] Review path-length syntax (#13901)

@viralipurbey can correct me if I'm wrong, but I think the reason `path-length` takes a `<number>` is that it's applied as a scaling factor. https://w3c.github.io/svgwg/svg2-draft/paths.html#PathLengthAttribute:
> The author's computation of the total length of the path, in user units. This value is used to calibrate the user agent's own [distance-along-a-path](https://w3c.github.io/svgwg/svg2-draft/paths.html#DistanceAlongAPath) calculations with that of the author. **The user agent will scale all distance-along-a-path computations by the ratio of ‘[pathLength](https://w3c.github.io/svgwg/svg2-draft/paths.html#PathLengthAttribute)’ to the user agent's own computed value for total path length.**

(emphasis mine)

-- 
GitHub Notification of comment by kbabbitt
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13901#issuecomment-4426076531 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 11 May 2026 23:47:36 UTC