[csswg-drafts] Pull Request: Use bracket range notation in syntax grammar [css-values-3][css-values-4][css-backgrounds-3][css-backgrounds-4][css-multicol-1][css-multicol-2][css-flexbox-1][css-counter-styles-3]

AmeliaBR has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== Use bracket range notation in syntax grammar [css-values-3][css-values-4][css-backgrounds-3][css-backgrounds-4][css-multicol-1][css-multicol-2][css-flexbox-1][css-counter-styles-3] ==
Partially addresses #355

Includes some minor fixes to the [definition of the notation](https://drafts.csswg.org/css-values-3/#numeric-ranges) @fantasai added to css-values-3.
The definition is then copied over to css-values-4 (which is what you get for just /css-values/ now).
The term "bracketed range notation" is exported for use in other specs, primarily to explain why I'm changing things.

This initial PR includes syntax edits to the specs listed as [Stable CR in the Current Work web page](https://www.w3.org/Style/CSS/current-work), and later levels of those same modules:

- CSS Backgrounds and Borders Level 3 & 4
- CSS Conditional Rules Level — no edits required
- CSS Multi-column Layout Level 1 & 2
- CSS Values and Units Level 3 & 4— edits described above
- CSS Flexible Box Layout Level 1
- CSS Cascading and Inheritance Level 3 — no edits required
- CSS Writing Modes Level 3 — no edits required, although see https://github.com/w3c/csswg-drafts/issues/2921#issuecomment-489494006
- CSS Counter Styles Level 3

See the individual commit messages for details of the changes. I've tried to match code style to each document.

Not that this currently creates some non-fatal bikeshed errors, see https://github.com/tabatkins/bikeshed/issues/1467
If that's going to take a while to get fixed, @tabatkins, it might be worth a separate PR just to merge the changes to CSS Values.

I'll be continuing to work through the remaining CR and WD specs, but that may be spread out over a few weeks, so no need to delay merging these edits waiting for an omnibus pull request. (That'll just increase the risk of merge conflicts!)




See https://github.com/w3c/csswg-drafts/pull/3894

Received on Monday, 6 May 2019 04:42:58 UTC