W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2021

Re: [csswg-drafts] [css-scoping][selectors] Should :where(:host) work? (#6420)

From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
Date: Sat, 03 Jul 2021 14:29:10 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-873415565-1625322549-sysbot+gh@w3.org>
I'm confused, how is this related to `:where()` at all? Any author selector will override UA styles, so this already doesn't work:

<!doctype html>
:where(.foo) {
  display: block;
<div class="foo" hidden>Can you see me?</div>

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 3 July 2021 14:29:12 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:38 UTC