[csswg-drafts] [css-values] Add slash as multiplier (#9691)

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

== [css-values] Add slash as multiplier ==
There are a few places in the specs that define repetitions of values separated by slashes. The most prominent of them being the [placement shorthands in CSS Grid](https://drafts.csswg.org/css-grid-2/#placement-shorthands).

As such repetitions are becoming more common, it might make sense to add a multiplier for it. So syntax definitions become more concise and a little easier to read.

With that, `<grid-line> [ / <grid-line> ]{0,3}` could become `<grid-line>/{1,4}`.

If the multiplier character should actually be a slash as well or another character can be bikeshedded.

(I _think_ this was brought up earlier by someone else, maybe @fantasai, in a PR discussion but I can't remember.)

Sebastan

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


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

Received on Sunday, 10 December 2023 00:05:58 UTC