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

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