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

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

== [css-flexbox][css-grid] clarify whether generated content can be a flex/grid item ==
Chrome, Edge, Firefox and Safari all treat generated content of a flex container as a flex item.  The spec [says](https://drafts.csswg.org/css-flexbox/#flex-items) "Each in-flow child of a flex container becomes a flex item", but I'm not sure if generated content counts as an in-flow child.  It would be good if the spec clarified this, and perhaps had an example with a ::before or ::after being treated as a flex item.

(Similarly for grid.)

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

Received on Tuesday, 11 July 2017 02:27:49 UTC