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

[csswg-drafts] [css-display] list-item syntax does not allow <display-inside>

From: Loirooriol via GitHub <sysbot+gh@w3.org>
Date: Sun, 16 Apr 2017 04:05:34 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-221989091-1492315533-sysbot+gh@w3.org>
Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-display] list-item syntax does not allow <display-inside> ==
CSS Display says this in [Generating Marker Boxes: the `list-item` keyword](https://drafts.csswg.org/css-display/#list-items):

> If no `<display-inside>` value is specified, the principal box’s inner display type defaults to `flow`.

However, the syntax of `<display-listitem>` does not allow `<display-inside>`, only `flow` or `flow-root :

>     <display-listitem> = list-item && <display-outside>? && [ flow | flow-root ]?

Yes, `flow` and `flow-root` are `<display-inside>` values, but this seems a coincidence. The spec should say that, in a `<display-listitem>` value, the `flow` and `flow-root` keywords (if any) behave like they do in `<display-inside>`.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1226 using your GitHub account
Received on Sunday, 16 April 2017 04:05:41 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:11 UTC