- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 27 Nov 2024 17:39:20 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[cssom] getComputedStyle for ::before::marker or ::after::marker`, and agreed to the following: * `RESOLVED: The pseudoElement argument to getComputedStyle takes any pseudo-element selector, and selects the first matching pseudo-element like querySelector()` <details><summary>The full IRC log of that discussion</summary> <chrishtr> oriol: this is about nested markers. The spec already allows these syntaxes. If authors are able to style them then they should be able to query the style of them.<br> <chrishtr> oriol: I proposed generalizing the second argument to getComputedStyle to put multiple pseudo element selectors in this<br> <chrishtr> oriol: we already resolved this in animations for the ? function that we already resolved, in issue 7469<br> <chrishtr> oriol: there we resolved that multiple pseudo-elements could be provided. Propose to repeat that pattern here.<br> <emilio> +1<br> <kizu> +1<br> <schenney> +1<br> <chrishtr> emilio: have you thought through all the corner cases?<br> <schenney> Also relevant: https://github.com/w3c/csswg-drafts/issues/10297<br> <chrishtr> florian: this resolution doesn't add any new cases, it's just about querying existing cases<br> <chrishtr> oriol: for the other web animations issue, if you end up matching multiple things then you take the first one<br> <chrishtr> oriol: not sure if this was exactly what you were saying about view transitions<br> <florian> makes sense<br> <chrishtr> emilio: this is what my memory was, so sounds good<br> <dbaron> +1 (to the initial proposal here)<br> <chrishtr> PROPOSED: allow multiple pseudo-elements in the same way as in the web animations spec<br> <Rossen1> The pseudoElement argument to animate() takes any pseudo-element selector, and selects the first matching pseudo-element like querySelector()<br> <chrishtr> PROPOSED: The pseudoElement argument to getComputedStyle takes any pseudo-element selector, and selects the first matching pseudo-element like querySelector()<br> <chrishtr> RESOLVED: The pseudoElement argument to getComputedStyle takes any pseudo-element selector, and selects the first matching pseudo-element like querySelector()<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4456#issuecomment-2504443657 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 27 November 2024 17:39:21 UTC