Re: [csswg-drafts] [css-flexbox][css-grid] clarify whether generated content can be a flex/grid item

CSS Pseudo-Elements Module Level 4 [says]( that `::before` and `::after` pseudo-elements

> generate boxes _as if they were immediate children_ of their originating element, and can be styled _exactly like any normal document-sourced element in the document tree._

The term "in-flow"[ is defined]( in the CSS Display Module Level 3 as a box that is neither floated nor absolutely-positioned.

Doesn't it clearly imply that the `::before` and `::after` pseudo-element that is neither floated nor absolutely-positioned should be treated exactly the same as a normal in-flow element in the same position in the tree, i.e. an in-flow child of the container?

GitHub Notification of comment by SelenIT
Please view or discuss this issue at using your GitHub account

Received on Tuesday, 11 July 2017 06:49:11 UTC