[csswg-drafts] [css-display] Glossary *-level definitions

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

== [css-display] Glossary *-level definitions ==
CSS display defines [inline-level](https://drafts.csswg.org/css-display-3/#inline-level) as

> ***inline-level***: Content that participates in inline layout. Specifically, inline-level boxes and text.

First, the "specifically, inline-level boxes" part seems completely superfluous.

Moreover, if I understood properly, text is not inline-level. Instead, what happens is that text directly contained inside a block container is wrapped inside an anonymous inline element, and it's that element what is inline-level, not the text itself.

And then, I guess "participates in inline layout" means "participates in an inline formatting context". The former expression does not seem to be used anywhere else, while the latter is used everywhere. This is confusing.

And similarly for [block-level](https://drafts.csswg.org/css-display-3/#block-level):

> ***block-level***: Content that participates in block layout. Specifically, block-level boxes.

Same problem about "block layout", and "specifically, inline-level boxes" seems superfluous too.

Instead, I would just say:

> ***inline-level***: Content that participates in an [inline formatting context](https://drafts.csswg.org/css-display-3/#inline-formatting-context).
> ***block-level***: Content that participates in a [block formatting context](https://drafts.csswg.org/css-display-3/#block-formatting-context).

While we are at it, why not add

> ***flex-level***: Content that participates in a [flex formatting context](https://www.w3.org/TR/css-flexbox-1/#flex-formatting-context). [[CSS3-FLEXBOX]](https://drafts.csswg.org/css-display-3/#biblio-css3-flexbox)
> ***grid-level***: Content that participates in a [grid formatting context](https://www.w3.org/TR/css-grid-1/#grid-formatting-context). [[CSS3-GRID-LAYOUT]](https://drafts.csswg.org/css-display-3/#biblio-css3-grid-layout)

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

Received on Friday, 7 April 2017 23:30:39 UTC