[csswg-drafts] [css-fill-and-stroke-3] stroke-width grammar appears inconsistent between CSS Fill and Stroke and SVG2 (#13900)

janvarga has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-fill-and-stroke-3]  stroke-width grammar appears inconsistent between CSS Fill and Stroke and SVG2 ==
The `stroke-width` property grammar appears to be inconsistent between the CSS Fill and Stroke specification and the SVG2 definition referenced by implementations.

CSS Fill and Stroke currently defines:

  `[ <length-percentage> | <line-width> ]#`

which allows comma-separated lists of values.

However:

* SVG2 defines `stroke-width` without `#`
* Chrome, Safari, and Firefox do not accept multiple values such as:  stroke-width: 10px, 20px;

This suggests the `#` may have been introduced accidentally during the `<line-width>` edits or that the specifications are currently out of sync.

Could the spec clarify whether `stroke-width` is actually intended to be list-valued?


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13900 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 10:03:01 UTC