- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 01 Jun 2022 16:11:06 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[selectors-4] Remove the :scope dependency from the relative selectors definition`, and agreed to the following: * `RESOLVED: Remove special handling of :scope in :has()` * `RESOLVED: Remove special handling of :scope in relative selectors generally` <details><summary>The full IRC log of that discussion</summary> <fantasai> Topic: [selectors-4] Remove the :scope dependency from the relative selectors definition<br> <fantasai> github: https://github.com/w3c/csswg-drafts/issues/6399<br> <fantasai> futhark: :scope was specced to have a special meaning inside :has, that it matches the selector matched by :has() itself<br> <fantasai> futhark: It would be much simpler it kept the same meaning as it has outside of :has()<br> <TabAtkins> q+<br> <bkardell_> hi<br> <astearns> ack TabAtkins<br> <fantasai> TabAtkins: Making :has() give a special meaning to :scope wasn't a definitive choice, it just fell out of the definitions we had<br> <fantasai> TabAtkins: I'm comfortable with removing this<br> <bkardell_> what is the meeting link<br> <fantasai> TabAtkins: Just need to do some edits to definitions<br> <fantasai> futhark: there are complexities when it complexities for allowing :scope inside :has()<br> <fantasai> futhark: it'll be easier to handle cases wrt shadow hosts if we make this change<br> <TabAtkins> Yeah, :scope was invented for querySelector anyway, I'm comfortable boxing it off for just that purpose.<br> <fantasai> fantasai: I think to the extent we might need such a functionality, we can choose a different syntax for it<br> <emilio> +1<br> <fantasai> RESOLVED: Remove special handling of :scope in :has()<br> <fantasai> TabAtkins: I would prefer to remove it for relative selectors in general, and redefine :scope to just be for .querySelector<br> <fantasai> TabAtkins: I think we'll run into these problems in the future otherwise<br> <fantasai> RESOLVED: Remove special handling of :scope in relative selectors generally<br> <fantasai> futhark: issue 7211 looks related<br> <fantasai> astearns: Let's skip, I'll add a comment pointing to this resolution<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6399#issuecomment-1143808203 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 1 June 2022 16:11:07 UTC