[csswg-drafts] Pull Request: [css-flexbox-1] [css-grid-2] [css-ruby-1] Flag "New values" tables for display property as informative

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

== [css-flexbox-1] [css-grid-2] [css-ruby-1] Flag "New values" tables for display property as informative ==
Via https://github.com/mdn/yari/pull/4656#issuecomment-1113508815

The CSS Display spec defines [possible values for the `display` property](https://drafts.csswg.org/css-display/#propdef-display). This includes `flex`, `grid`, `ruby` and associated values, whose meanings are normatively defined in CSS Flexbox, CSS Grid and CSS Ruby.

On top of meanings, the CSS Flexbox, CSS Grid and CSS Ruby specs actually redefine the values themselves through a "New Values" table. This is fully clear for humans, but a naive attempt to extract formal value definitions from CSS specs ends up with the impression that `flex`, `grid` and `ruby` are actually normatively defined twice.

This update proposes to flag the "New values" tables in CSS Flexbox, CSS Grid and CSS Ruby as "informative" so that extraction tools can understand that the values themselves are actually defined in CSS Display. This does not introduce any visual change.

(Note the "informative" class cannot be added to the `<pre>` tag directly as Bikeshed does not preserve the class when it generates the spec)

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


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

Received on Monday, 2 May 2022 10:25:09 UTC