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

[csswg-drafts] [css-display] Do 'contents' and 'none' have an outer display type?

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

== [css-display] Do 'contents' and 'none' have an outer display type? ==
CSS Display says in [Box Generation: the `none` and `contents` keywords](https://drafts.csswg.org/css-display/#box-generation):

> Elements with either of these values do not have inner or outer display types, because they don’t generate any boxes at all.

However, in [Automatic Box Type Transformations](https://drafts.csswg.org/css-display/#transformations),

> Some layout effects require blockification or inlinification of the box type, which sets the box’s outer display type, if it is not none or contents, to block or inline (respectively).

Which is it, do elements with `display: contents` or `display: none` have an outer display type with that value, or do they have no outer display types?

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

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