Re: [csswg-drafts] [selectors] What is the reasoning for ignoring defaullt namespaces only on the subject for :is() / :where() / :not()? (#5684)

I think it can be confusing that the meaning changes depending on the context. Wouldn't it have been better to just drop
> If a [default namespace](https://drafts.csswg.org/css-namespaces-3/#default-namespace) is declared, [compound selectors](https://drafts.csswg.org/selectors/#compound) without [type selectors](https://drafts.csswg.org/selectors/#type-selector) in them still only match elements in that default namespace.

Authors could use an explicit `*` to restrict to the default namespace if they wanted.

Possibly not web-compatible to change now, but I think default namespaces aren't actually used that much...

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


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

Received on Tuesday, 16 January 2024 23:49:06 UTC