Re: [csswg-drafts] [fill-stroke] stroke-width and stroke-dasharray accept numbers (#3057)

The resolution from 2018 is still not reflected in the draft spec at https://drafts.fxtf.org/fill-stroke-3/#propdef-stroke-dasharray.

Support for `<number>` in browser is also not fully interoperable. Firefox supports literal numbers at parse time, but does not support `<number>` produced by `calc()` as it uses parser quirks to support numbers while keeping the property syntax of the draft spec without that resolution: https://bugzilla.mozilla.org/show_bug.cgi?id=1679465

And because [the webref project maintains a custom patch](https://github.com/w3c/webref/issues/1533) to take that resolution into account, MDN shows the patched formal syntax instead of the syntax in the draft spec in https://developer.mozilla.org/en-US/docs/Web/CSS/stroke-dasharray#formal_syntax

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


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

Received on Tuesday, 29 April 2025 12:41:17 UTC