Re: [csswg-drafts] [selectors] Child & descendant pseudo element combinators (#7346)

Typically, if a complex selector matches an element, you can take just the last compound selector and it will still match.

So if `div :> before` matches a pseudo-element and `:>` is a normal combinator, does it mean that a `before` alone will start matching pseudo-elements? Or are pseudo-elements featureless and can only be matched if there is a `::`, `:>`, `:>>`? Will `before :> marker` match a `::before::marker`?

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 21 June 2022 18:39:14 UTC