- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Thu, 05 Sep 2024 15:54:46 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed ``[css-ui] Should `::picker(select)` match `:popover-open`?``, and agreed to the following: * `RESOLVED: don't create a special exception to not parse :popover-open on ::picker(select)` <details><summary>The full IRC log of that discussion</summary> <chrishtr> jarhar: this is a topic that was spun out of ::picker. There is disagreement about whether :popover-open should match. We already resolved that ::picker is a part-like pseudo element.<br> <jarhar> q?<br> <una> q+<br> <chrishtr> jarhar: there is the question of whether it should match :popover-element. I and some others think it should because that's the default for part-like pseudos. Others don't like it because it would reveal internal details<br> <masonf> q+ simon<br> <gregwhitworth> ack una<br> <chrishtr> una: clarifying question: would this match both open and popover-open, or just popover-open?<br> <chrishtr> jarhar: there is no contention about :open, discussion is just for :popover-open.<br> <chrishtr> una: so with your preferred resolution it'd match both?<br> <chrishtr> masonf: yes<br> <chrishtr> una: ok I agree with that, just checking<br> <chrishtr> dbaron: select matches open, and picker matches popover-open<br> <chrishtr> una: if you have appearance:base-select for both the in-page and picker, then select:open would be the same as picker:poover-open<br> <zcorpan> ack simon<br> <chrishtr> una: if you only have appearance: base on the select and not the picker, then you can only match select:open because the picker doesn't exist<br> <chrishtr> fantasai: seems like it has to exist<br> <chrishtr> annevk: exists but doesn't match because it isn't styleable<br> <chrishtr> annevk: isn't that the case for other pseudo-elements anyway?<br> <chrishtr> fantasai: exists but not styleable<br> <dbaron> (I'm not actually 100% sure that ::picker(select):popover-open doesn't work when ::picker(select) is appearance:auto... although I *think* that's the case<br> <chrishtr> fantasai: if we allow popover-open to apply to the picker then it won't apply if not in base mode?<br> <una> q+<br> <chrishtr> jarhar: the picker element exists but in auto mode it can't be opened as a popover because it never opens<br> <fantasai> ::picker(selecT) { appearance: base; } ::picker(select):popover-open { appearance: auto; }<br> <chrishtr> fantasai: what about applying appearance:auto if :popover-open, what will that do?<br> <chrishtr> annevk: would be a loop?<br> <chrishtr> masonf: which picker you open depends on timing. If it's already open then it wouldn't close?<br> <chrishtr> annevk: normally in CSS if the computed value changes then what you see changes<br> <chrishtr> masonf: if so then there would need to be some code to handle it<br> <gregwhitworth> ack una<br> <dbaron> (I think this is sort of exposing a problem with making `appearance` apply separately to `::picker(select)`... it probably normally would have been restricted.)<br> <chrishtr> una: maybe this is a difference between part-like and regular pseudo elements?<br> <chrishtr> fantasai: this was relaxed before for pseudos<br> <chrishtr> q+<br> <chrishtr> una: second question: just updated my demos when I updated them to the new syntax. e.g. focus-visible didn't apply any more. Wanted to see if this ok. Also is there an issue with specificity?<br> <zcorpan> Demo for ::before:hover (seems like this is not implemented) https://software.hixie.ch/utilities/js/live-dom-viewer/saved/13060<br> <gregwhitworth> ack chrishtr<br> <fantasai> select:open ::picker() vs select ::picker():popover-open - same specificity<br> <chrishtr> fantasai: specificity would be the same<br> <gregwhitworth> chrishtr: wanted to bring us back, popover: open question jarhar originally raised<br> <gregwhitworth> masonf: the issue being discussed is their unique capabilities for this scenario<br> <jarhar> proposed resolution: don't create a special exception to not parse :popover-open on ::picker(select)<br> <masonf> +1<br> <una> +1<br> <chrishtr> +1<br> <dbaron> +1<br> <zcorpan> +1<br> <emilio> +1<br> <sanketj_> +1<br> <gregwhitworth> RESOLVED: don't create a special exception to not parse :popover-open on ::picker(select)<br> <gregwhitworth> Zakim, end meeting<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10775#issuecomment-2332100031 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 5 September 2024 15:54:47 UTC