Re: [csswg-drafts] [web-animations-1] Clarification about `target` and `pseudoElement` relationship (#4745)

Right, looking at the full definition of [`content: none`](https://drafts.csswg.org/css-content/#valdef-content-none) (emphasis mine):

> On elements, this inhibits the children of the element from being rendered as children of this element, as if the element was empty.
> On pseudo-elements it inhibits the creation of the pseudo-element as if it had display: none.
> 
> **In neither case does it prevent any pseudo-elements which have this element or pseudo-element as an originating element from being generated.**

That last bit seems to be what defines that pseudo-elements generation are not bound by `content` being set to something other than `none`.

-- 
GitHub Notification of comment by graouts
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4745#issuecomment-582606794 using your GitHub account

Received on Wednesday, 5 February 2020 20:52:59 UTC