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

@Loirooriol is correct, a pseudo-element not having a `content` property is equivilent to `display: none`, the pseudo-element exists (and can be a target of `getComputedStyle()`) but does not generate a box. The two types of tests are there because many browsers use two different internal representations for elements with and without `::before` selectors. They expect the same behavior.

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

Received on Wednesday, 5 February 2020 19:36:34 UTC