[csswg-drafts] [css-display] Becoming a formatting context without display types

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

== [css-display] Becoming a formatting context without display types ==
[Becoming a formatting context](https://drafts.csswg.org/css-display-3/#becoming-formatting-context) is defined as follows:

> If the element already establishes a formatting context of any kind, this condition is satisfied. Otherwise, it is made to establish a BFC by changing its inner display type to flow-root.

But what happens if an element that does not have inner nor outer display types (i.e. it has `display: none` or `display: contents`) becomes a formatting context? Such an element won't establish a formatting context, so its inner display type should be changed to `flow-root`, but it doesn't have an inner display type!

I think "this condition is satisfied" should also apply in that case.

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

Received on Sunday, 25 June 2017 20:12:35 UTC