-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
Description
display:contents
The element itself does not generate any boxes, but its children and pseudo-elements still generate boxes as normal. For the purposes of box generation and layout, the element must be treated as if it had been replaced with its children and pseudo-elements in the document tree.
https://drafts.csswg.org/css-display/#valdef-display-contents
"being rendered"
An element is being rendered if it has any associated CSS layout boxes, SVG layout boxes, or some equivalent in other styling languages.
So an element that is display:contents is not "being rendered". Check the uses of "being rendered" if that makes sense.
Related: w3c/csswg-drafts#540
ExE-Boss