- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 20 Jan 2021 17:43:07 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-pseudo] Who is currently using CSSPseudoElement and what events can target them?`, and agreed to the following: * `RESOLVED: Add a warning to the section and close this issue but continue work` <details><summary>The full IRC log of that discussion</summary> <dael> Topic: [css-pseudo] Who is currently using CSSPseudoElement and what events can target them?<br> <dael> github: https://github.com/w3c/csswg-drafts/issues/4619<br> <dael> florian: This is more of a request for information. CSS Pseudol Element class exists and is an event target, but it's not clear what API uses and what events it recieves. When the issue was raised I think intent was figure out who should we talk to when we refine events on Pseudos<br> <emilio> q+<br> <dael> florian: This has been sitting in GH for a while without feedback. This is a louder call to figure out who is the crowd interested<br> <dael> emilio: I think main consumer is web animations. like css animations that target css pseudo elements. Not aware of other consumers.<br> <dael> florian: I'm a little fuzzy on this b/c decision to stop using pseudo elements as a class on animation, but pointed out there still is. But that would be the group<br> <dael> astearns: One of the reasons we pushed to have css pseduo element historically is we thought regions could be made out of pseudo elements but that's moot at this point<br> <dael> florian: I see reasons why it's useful, but before drafting new things it would be good to know what's done<br> <dael> gregwhitworth: Are yous aying you can't animation pseudo elements?<br> <dael> florian: No, but I believe API shape of animations has changed and it's no longer done through pseudol element class set up in pseudos 4. I could be wrong. A bit out of my area<br> <dael> astearns: Anyone else with a known dependency or use case for css pseudo element as an event target?<br> <dael> astearns: So it may be down to whatever use case web animations might have?<br> <dael> florian: Plus what sanketj and I want to add<br> <dael> sanketj: Does anyone use pseudo element not as an event target? Web animation sis only thing I could tell which has since been dropped. I didn't find any users of pseudo element at all<br> <dael> florian: I have use cases, but not existing usage<br> <dael> iank_: I think this has been one of the things that's an obvious gap on api side. Nice to get target if it's exposed but not high priority so hasn't been impl<br> <dael> sanketj: Should we try to remove css pseudo element and come at it again in a different way? Not sure the process<br> <dael> astearns: If there are no consumers and little impl interest it's plausable to remove it and retain intent of fixing the hole in the API. Need motivating use cases to spur impl interest<br> <dael> florian: I don't know. If we suspect API shape is wrong maybe remove. but I believe there are use cases that we're slowly getting ot. Having a place where we accumulate our way to useful thing it would be good. If we start by deleting it doesn't speed up getting there<br> <dael> astearns: Fair point<br> <dael> astearns: sanketj do you have an argument for deletion?<br> <dael> sanketj: Not specifically. originally looked around highlight api and there are not highlight events. pseudo element being an event target prompted us to look. I don't think I have a way to have it useful in highlight, but I don't have a strong reason to delete or keep<br> <dael> florian: I have other use cases to look into in the near future. I'd like to keep working. For now it's hear so no rush to delete<br> <dael> iank_: One thing to keep in mind is only before and after pseudo elements make sense with this API. Perhaps merging in that this might change is a path<br> <dael> sanketj: Yes, only tree abiding was designed originally I think. I don't believe it works for range based<br> <dael> iank_: Yeah, for example doesn't make sense for ::first-line<br> <dael> fantasai: Would work for any, but only defined for tree abiding. Every pseudo element has originating element. If you highlight it will cross multiple pseudo elements as you cross multiple elements<br> <dael> iank_: In related to geometry apis and event propegation the tree abiding ones are much siplier<br> <dael> florian: I'd suggest slap a warning across this area of the spec saying don't rush to impl but if you have use cases or problems bring forward<br> <iank_> sorry sanketj :)<br> <sanketj> thanks for covering it :)<br> <dael> astearns: As a way forward put a warning on this part of the spec that this is early and needs fleshing out. Do we close this issue with a reoslution to have a warning or do we need to dive into web animations usage more<br> <dael> florian: Since we're not resolving to delete it I don't think we need the explaination urgently<br> <dael> astearns: Prop: Add a warning to the section and close this issue<br> <dael> astearns: Objecitons?<br> <dael> RESOLVED: Add a warning to the section and close this issue but continue work<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4619#issuecomment-763818225 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 20 January 2021 17:43:10 UTC