Use bracket range notation in syntax grammar [css-values-3][css? (#3894)
* [css-values-3] Tidy bracket range definition
- Fix incorrect heading level & a typo from
8ea8d7d35f833d08d3cd7a4681618519960da821
- Add examples converting the notation to prose.
* [css-values-4] Copy over bracket range definition
These changes were added to Level 3 in
8ea8d7d35f833d08d3cd7a4681618519960da821
and
1265976bd6edbc8b8d5ca039ef19b472fcb890f3
(And fix a tabs-vs-spaces error that bikeshed was choking on.)
* [css-backgrounds-3][css-backgrounds-4] Use bracketed range notation
Added bracketed range notation for non-negative values ( [0,?] )
in these properties & productions:
- <bg-size>
- <line-width>
- border-radius and longhands
- border-image-slice
- border-image-width
- border-image-outset
- <shadow>
NOTE: required re-writing the syntax
(since ony one of the 4 possible lengths has a restriction)
- border-limit and border-clip in level 4
NOTE: these didn't have prose restrictions,
but they also didn't explain how negative values could work.
I added a changes note to level 3 (change since CR),
but not level 4 (not published yet).
* [css-values-3][css-values-4] Export dfn for bracketed range notation
* [css-multicol-1][css-multicol-2] Use bracketed range notation
Added bracketed range notation for non-negative values ( [0,?] )
or strictly positive integers ( [1,?] )
in these properties:
- column-width
- column-count
- column-gap
- column-span (level 2)
For column-rule-width, the syntax change was made
for the `<line-width>` production,
in 933d7dd5b913ad7f8090eb6f4eeba577911d3e64
* [css-flexbox-1] Use bracketed range notation
Added bracketed range notation for non-negative values ( [0,?] )
in these properties:
- flex-grow
- flex-shrink
Also use it in the prose descriptions for `flex`,
and to replace the made up `<postive-number>` variable
in the examples of common patterns.
Created a new "Changes since the 19 November 2018 CR" section
to include a mention of the update.
The syntax for `flex-basis` will be updated by reference
when `width` is updated.
* [css-counter-styles-3] Use bracketed range notation
Added bracketed range notation for non-negative values ( [0,?] )
in the following descriptors:
- pad
- additive-symbols
Note: I didn't add any restriction to the integer
in the `system: fixed <integer>` descriptor,
since there was no prose constraint.
But I'm not sure that negative values make sense here.
* Standardize prose for constrained values [css-backgrounds-3][css-counter-styles-3][css-flexbox-1][css-multicol-1][css-values-3][css-values-4]
For all the specs covered by PR #3894.
<<type [0,∞]>>
? ?Negative values are not allowed.?
<<integer [1, ∞]>>
? ?Values must be greater than 0.?
And remove some duplicate phrases.
Added these phrases & the other most commonly used one (?are invalid?)
to the note in CSS Values about prose restrictions.
* [css-values-3][css-values-4] Fix broken entity
Co-authored-by: Tab Atkins Jr <jackalmage@gmail.com>
[css-fonts][css-multicol][css-scroll-anchoring][css-scrollbars][css-shapes][css-size-adjust][css-transforms][css-ui] Update Computed Value and Animation lines to new format. (#3198)
Drop the "Media:" entry from propdef tables
Its meaning has never been defined properly, and it does not add useful
information.
This commit does not remove (correct) uses of Media:all, as these do
have a meaning, and will be clarified in a later commit.
Add w3cid metadata for all editors.
I got the uids from the "Edit status" links in
https://www.w3.org/2000/09/dbwg/details?group=32061
and made the actual changes with a python script.