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

@kbabbitt yes, that's correct. `pathLength` is the author's defined total path length, and the UA uses it to scale distance-along-a-path computations by the ratio of `pathLength` to its own computed value.

That said, I agree with Tab that it should use `<length>`. Even though it's used to derive a scaling ratio, the value itself is a length, and this follows the standard SVG attribute (`<number>`) → CSS property (`<length>`) pattern. The SVG WG was also aligned on making it `<length>` (minutes (https://www.w3.org/2026/03/26-svg-minutes.html)).

`<percentage>` doesn't make sense here though, no reference value to resolve against.

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


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

Received on Tuesday, 12 May 2026 20:33:51 UTC