[csswg-drafts] [css-backgrounds] `border-image` grammar includes `border-image-width` twice (#12328)

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

== [css-backgrounds] `border-image` grammar includes `border-image-width` twice ==
The grammar for the [`border-image`](<https://drafts.csswg.org/css-backgrounds/#propdef-border-image>)  shorthand says two `border-image-width` values should be parsed. It seems like only one `border-image-width` value should be needed here.

The current grammar is: `<'border-image-source'> || <'border-image-slice'> [ / <'border-image-width'> | / <'border-image-width'>? / <'border-image-outset'> ]? || <'border-image-repeat'>`

It seems like what's needed is: `<'border-image-source'> || <'border-image-slice'> [ / <'border-image-width'>? / <'border-image-outset'> ]? || <'border-image-repeat'>`.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12328 using your GitHub account


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

Received on Thursday, 12 June 2025 05:37:35 UTC