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

All the SVG geometry attributes (which take unitless numbers in their value) which upgraded to presentation attributes express their *property* value with lengths (or length-percentage).  Just as the very first example of such a property I found in the index, the `cx` property (for the center of a `<circle>`) takes `<length-percentage>` (while the `cx=""` attribute takes a number).

`path-length` isn't special in any way here. It's defining a length, which other properties (`stroke-dash-array`, etc) refer to. Its grammar should be `<length>`. (I don't think there's anything that `<percentage>` could be relative to, so probably not useful here.)

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


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

Received on Friday, 8 May 2026 18:26:34 UTC