W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2017

[csswg-drafts] [css-display] Confusing list-item note

From: Loirooriol via GitHub <sysbot+gh@w3.org>
Date: Sun, 28 May 2017 20:37:09 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-231892775-1496003827-sysbot+gh@w3.org>
Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-display] Confusing list-item note ==
When I read a sentence like "X can only be an A, a B, a C or a D", I expect A, B, C and D to be pairwise disjoint. However, [CSS Display](https://drafts.csswg.org/css-display-3/#list-items) has this note:

> a list-item can only be a block box, a block formatting context root box, an inline box, or an inline-block box.

This is confusing because

 - Some BFC roots are block boxes, and viceversa.
 - All inline-block boxes are BFC roots.

I would simply say

> a list-item can only be a block container or an inline box.

Also note the grammar allows run-in list items. Maybe `run-in flow` and `run-in flow-root` are already covered by "inline box" and "inline-block" ("block container" in my proposal), respectively, but it's not much clear.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1470 using your GitHub account
Received on Sunday, 28 May 2017 20:37:16 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 10:12:54 UTC