Re: [csswg-drafts] [css-cascade-6] add a :stylesheet selector to match the current stylesheet (#7349)

> Is there a reason we would do this, rather than something like :stylesheet-parent or something similar that directly targets the parent?

Not really, to be honest. For the use-case I had in mind for this, `:stylesheet-parent` is fine. Only being able to select the parent would remove the ability to distinguish between two sibling stylesheets, and apply selectors to their siblings (for example) - but I don't have a use-case that would require that

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


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

Received on Wednesday, 7 September 2022 21:45:48 UTC