[csswg-drafts] [css-values-4] fix definition of <length> (#9646)

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

== [css-values-4] fix definition of <length> ==
Fix definition of [“\<length\>”](https://drafts.csswg.org/css-values-4/#length-value) and add definitions of units
1. Add value definition for \<length\>
`<length> = <number><length-unit> | '0'`
2. Define \<length-unit\> value
`<length-unit> = <relative-length-units> | <absolute-length-units>`
3. Define \<relative-length-units\> and \<absolute-length-units\>:
`<relative-length-units> = <font-relative-length-units> | <viewport-percentage-length-units>`
`<font-relative-length-units>`
`<viewport-percentage-length-units>`
`<absolute-length-units>`
4. Refer unit values to the corresponding definitions
Fix dfn-for attribute from "\<length\>" to "\<font-relative-length-units\>" [here](https://github.com/w3c/csswg-drafts/blob/7b47e34149ad548e03b81fc2b86420d176e48789/css-values-4/Overview.bs#L1837)
Fix dfn-for attribute from "\<length\>" to "\<viewport-percentage-length-units\>" [here](https://github.com/w3c/csswg-drafts/blob/7b47e34149ad548e03b81fc2b86420d176e48789/css-values-4/Overview.bs#L2237C47-L2237C47)
 Add dfn-type and dfn-for attributes to [the absolute table values](https://github.com/w3c/csswg-drafts/blob/7b47e34149ad548e03b81fc2b86420d176e48789/css-values-4/Overview.bs#L2371C2-L2371C2)  
 
 If you'll find this idea worthy, I'll be happy to submit a pull request 

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


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

Received on Tuesday, 28 November 2023 10:05:59 UTC