- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 29 Jan 2025 22:27:32 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[selectors-4][css-pseudo-4] meaning of ::search-text:current(…), :past, :future`, and agreed to the following: * `RESOLVED: Make :past and :future invalid for now, to reserve them for future use` * `RESOLVED: Make the functional form of :current also invalid for highlight pseudos` <details><summary>The full IRC log of that discussion</summary> <TabAtkins> ...i feel like I might have missed the May 1 2024 meeting where we decided to reuse the timed text pseudos<br> <kbabbitt> schenney: in a previous resolution we decided to use current as the thing to mean prioritized search text element<br> <kbabbitt> ... don't want to revisit that naming<br> <kbabbitt> ... also a function name also notion of past and future<br> <TabAtkins> q+<br> <kbabbitt> ... should we just say everything other than function al form of current and past and future are all invalid<br> <florian> q+<br> <kbabbitt> ... should have been not allowed, should it be invalid selector or selector that doesn't match<br> <astearns> ack TabAtkins<br> <kbabbitt> TabAtkins: would need to check but given I didn't comment in previous minutes...<br> <kbabbitt> ...do want to revisit naming actually<br> <kbabbitt> .. weird to reuse webvtt pseudoes<br> <kbabbitt> ... given that they don't match in the same way<br> <kbabbitt> ... appears to have purely been we want a pseudo that represents current thing, current exits, let's use that<br> <kbabbitt> ...without consideration that it doesn't follow previous concepts<br> <kbabbitt> ... think we should revisit, or rename the time pseudo classes<br> <kbabbitt> ... since this has come up before<br> <kbabbitt> ... we tried to do it for current scroll marker as well<br> <kbabbitt> schenney: what did we choose?<br> <kbabbitt> TabAtkins: target-current I believe<br> <kbabbitt> fantasai: webvtt pseudo classes are heavily used<br> <astearns> ack fantasai<br> <kbabbitt> ... don't think we can change<br> <kbabbitt> ... in lots of content from what I understand\<br> <kbabbitt> ... re: not having concept of past and ufutre, that's not ture<br> <kbabbitt> ... there's an ordering in search results, you have next and previous and taht corresponds to past and future<br> <kbabbitt> ... we could define past and future to be applicable ot search text<br> <kbabbitt> ... past is result looked at already backward in chain<br> <kbabbitt> ... future is going forward<br> <kbabbitt> ... whether we want to impl that is separate question<br> <kbabbitt> TabAtkins: there's still thet ancestor mismatch<br> <kbabbitt> ... current past and future apply to element and ancestors<br> <kbabbitt> fantasai: but we're in a pseudo tree so that's okay<br> <astearns> ack florian<br> <kbabbitt> florian: assuming we don't rename to something else<br> <kbabbitt> ... and because it seems like we could define them to mean something<br> <kbabbitt> ... I think we should fail at parse time so you can @supports detect<br> <kbabbitt> ... if it doesn't do anything you can detecty<br> <kbabbitt> ...then one day when we want to make them do something they start existing<br> <kbabbitt> TabAtkins: that would be better, yes<br> <TabAtkins> agree if we don't rename, it shoudl fail to parse<br> <florian> s/define them/define past and future<br> <kbabbitt> fantasai: not 100% convinced we should use a pseudo class here<br> <kbabbitt> ... but if we are, past and future are perfectly sensible in this context<br> <fantasai> s/,/ current,/<br> <kbabbitt> astearns: for this issue, resolution would be to make past and future invalid for now?<br> <kbabbitt> RESOLVED: Make :past and :future invalid for now, to reserve them for future use<br> <kbabbitt> schenney: is the functional form of current also invalid? I propose that it is<br> <kbabbitt> TabAtkins: other than we should rename it instead, yes<br> <kbabbitt> Proposed: Make the functional form of :current also invalid for highlight pseudos<br> <kbabbitt> RESOLVED: Make the functional form of :current also invalid for highlight pseudos<br> <kbabbitt> schenney: the current language is like is but it isn't like is<br> <kbabbitt> TabAtkins: fixup to match intention in spec<br> <kbabbitt> ... I'll do it<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10298#issuecomment-2623018530 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 29 January 2025 22:27:33 UTC