- From: Oriol via GitHub <sysbot+gh@w3.org>
- Date: Fri, 21 Jul 2017 23:01:18 +0000
- To: public-css-archive@w3.org
Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-display] Do replaced elements have an inner display type? == [CSS Display](https://drafts.csswg.org/css-display-3/#inner-display-type) says > The inner display of a replaced element is outside the scope of CSS. I'm not sure if this means that: 1. Replaced elements have an inner display type set to some value which is not defined by CSS Display because it's outside the scope of CSS. 2. Replaced elements don't have an inner display type because how the contents of a replaced element are laid out is outside the scope of CSS. 3. Whether replaced elements have an inner display type or not is outside the scope of CSS. The difference matters because in [the glossary](https://drafts.csswg.org/css-display-3/#atomic-inline) there is this sentence: > Any inline-level box whose inner display type is not flow establishes a new formatting context of the specified inner display type. With (1) it seems clear that the condition holds, so an inline-level replaced element would establish a new formatting context. But I think this should not be imposed because it's outside the scope of CSS. With (2) or (3) it's not much clear whether the condition holds or not. Anyways, I don't understand what that sentence is doing in the "atomic inline" entry, I would remove it. Does not seem much related other than atomic inlines being inline-level. And is kinda pointless, given that all the non-replaced non-layout-internal inner display types other than `flow` seem to generate some box which establishes a new FC, independently on the outer display type. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1642 using your GitHub account
Received on Friday, 21 July 2017 23:01:19 UTC