17:05:13 RRSAgent has joined #css 17:05:17 logging to https://www.w3.org/2025/11/05-css-irc 17:05:17 ... without reasons to have different syntax we should go for that 17:05:17 q+ 17:05:17 RRSAgent, make logs Public 17:05:19 Meeting: Cascading Style Sheets (CSS) Working Group Teleconference 17:05:19 Zakim, start meeting 17:05:19 RRSAgent, make logs Public 17:05:20 q+ TabAtkins 17:05:21 Meeting: Cascading Style Sheets (CSS) Working Group Teleconference 17:05:21 RRSAgent, make logs Public 17:05:22 Meeting: Cascading Style Sheets (CSS) Working Group Teleconference 17:05:22 q+ later 17:05:43 schenney has joined #css 17:06:06 emeyer has joined #css 17:06:06 ack emilio 17:06:07 TabAtkins: I agree with fantasai and dbaron's comment on the thread 17:06:14 scribe+ 17:06:15 present+ 17:06:17 ... don't want to resolve us into any particular syntax 17:06:26 ... but the right idea is to go ahead is to remove the syntax from the proposal 17:06:26 present+ 17:06:52 ... instead of having a specific /for/ we have a note that this is indeed how we're likely to do future combinators 17:07:07 emilio: I was going to say something similar 17:07:19 ack emilio 17:07:27 emilio: resolving on the specific syntax seems premature, but generally this seems fine 17:07:34 present+ 17:07:38 florian: I'm a bit confused, because tab seemed to agree and disagree with lea at the same time 17:08:01 TabAtkins: I was a bit distracted, might be agreeing with her if lea's position has changed 17:08:13 dbaron: some of the nuance is about some things in the draft 17:08:20 ... that probably shouldn't be in there in its current form 17:08:32 florian: but as a design principle it seems ok with everybody? 17:08:41 present+ 17:08:57 dbaron: what I was going to try and add is that we've talked about this idea enough that we should probably document it 17:09:02 q+ 17:09:08 ... specially since we are out of characters 17:09:20 ... with the exception of one that would be pretty bad 17:09:31 PaulG has joined #css 17:09:31 +1 to bramus! 17:09:32 I mean, we've got $, %, ^... 17:09:35 present+ 17:09:36 q? 17:09:36 castastrophe: do we have an adjacent document to document these kinds of things? 17:09:43 ack castastrophe 17:09:51 lea: we could do a lot better in that respect 17:09:57 ... we have some design principles in the wiki 17:10:03 *documentation adjacent to specifications 17:10:04 ... tag has a css design principles section 17:10:11 ... but no canonical source 17:10:16 ... which isn't great 17:10:36 dbaron: yeah on the wiki except nobody reads it... If we want to make a note of it I think it's fine to be a doc in the spec 17:10:47 lea: I think it's useful for anyone proposing future syntax 17:11:04 https://wiki.csswg.org/ideas 17:11:07 ... but tangentially we should have a canonical source for design principles 17:11:09 q+ 17:11:12 Rossen9: worthy effort 17:11:17 ... hopefully someone could pick it up 17:11:17 q+ 17:11:25 ack castastrophe 17:11:31 castastrophe: I was thinking generally +1 to adding some documentation to the spec 17:11:31 Kurt has joined #css 17:11:36 https://wiki.csswg.org/ideas/principles :) 17:11:46 ... would be useful to document the unused ascii chars that are still available for doc purposes? 17:11:49 lea: no objection to that 17:12:01 dbaron: it might be tricky to say what counts as available, but sounds fine 17:12:22 emilio: more to the point than the design principals thing... have we considered other syntaxes that aren't slashes? 17:12:31 emilio: to me, angle-brackets feel more combinator-y 17:12:40 bkardell has joined #css 17:12:42 ack emilio 17:12:45 emilio: like ; that would parse potentially differently 17:12:49 present+ 17:12:52 present+ 17:12:55 dbaron: given the existing child selector, that might not go over very well 17:13:01 emilio: seems parseable... but anyways 17:13:14 lea: there have been proposals for a < combinator that goes the other way, which would make this ambiguous 17:13:23 alisonmaher has joined #css 17:13:36 ack fantasai 17:13:37 ack fantasai 17:13:44 fantasai: I think we can resolve on removing the existing idref feature 17:13:55 ... and potentially to put a not along the lines that dbaron mentioned 17:14:04 ... for future named combinators 17:14:26 Rossen9: there's also castastrophe's proposal to document the available ones 17:14:50 fantasai: Isn't that just ascii punctuation minus the set of used chars? 17:15:03 castastrophe: might be overkill but maybe useful for others not so familiar with the spec? 17:15:07 Rossen9: might be useful 17:15:19 PROPOSED: Remove idref feature 17:15:31 RESOLVED: Remove idref feature from the spec 17:15:44 PROPOSED: Add a note about future named combinators 17:16:20 +1 17:16:21 "add a note that we expect to use /-delimited idents or functions for future syntax expansion" 17:16:28 https://github.com/w3c/csswg-drafts/issues/12451#issuecomment-3377805584 17:16:32 RESOLVED: add a note that we expect to use /-delimited idents or functions for future syntax expansion 17:16:57 PROPOSED: Add a note about unused ascii punctuation 17:17:31 RESOLVED: Add a note about unused ascii punctuation 17:17:40 github-bot: take up https://github.com/w3c/csswg-drafts/issues/7467 17:17:40 Topic: [selectors-4] additional resource state pseudo-classes for img / picture elements 17:17:40 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/7467. 17:18:27 https://github.com/w3c/csswg-drafts/issues/7467#issuecomment-1412653946 17:18:28 SebastianZ: there was a question about where to add additional resource state pseudo-classes, there was a proposal by crissof (?) 17:18:40 ... the proposal is to accept those pseudo-classes 17:18:48 q+ 17:18:53 q+ 17:18:53 ... I saw noamr had a few remarks 17:18:55 ... regarding those 17:19:16 ... which is when we introduce them for images in the future we might have issues if we want to extend those for other media types 17:19:17 q+ 17:19:47 ack TabAtkins 17:19:58 ... second thing is that non-ok status and broken are different in his opinion 17:19:59 q+ 17:20:05 ... and what about cross-origin and no-cors images 17:20:30 noamr: with cross-origin no-cors is that we can't expose whether the image is a 404 or anything else 17:20:37 ... we should start with something a bit more conservative 17:20:55 ... to just reflect that perfectly aligns with whether the image emitted a load or error event 17:21:11 ... so load event means it's complete, error is bad url or network error or ... 17:21:13 ack noamr 17:21:20 ... all kinds of things can cause an error event 17:21:29 ... something that reflects those two states would be a good start 17:21:36 agree with the more conservative approach first 17:21:37 ... and maybe not try to be more detailed than that 17:21:53 emilio: I was going to propose something very similar, start with broken... 17:22:02 emilio: more complicated than load event -- fire a load event, start an image load 17:22:14 emilio: you want to remove the broken state as soon as you fire image load [?] 17:22:19 q+ 17:22:28 emilio: gecko does have something like this; you need that concept to show alt feedback 17:22:34 ack emilio 17:22:40 emilio: I think we should match our alt-feedback behavior 17:22:55 emilio: if we would show alt-feedback, the image should match broken 17:22:56 smfr_ has joined #css 17:23:22 emilio: we can expand from that, but there's a lot that's proposed, and I don't think we need all of them. FWIW you mostly need 'broken' (trying to load an image, doesn't load, so you want to show a placeholder or something) 17:23:44 emilio: a lot of the different states you can't really expose. So: I'm ok starting with 'broken'; I don't care about the name 17:23:50 emilio: can improve if more use cases come up 17:23:57 ack weinig 17:23:57 weinig: has any thought been put into how this might be exposed for CSS images? 17:24:23 ... long-standing goal of representing as content: url or so 17:24:26 ... lots of issues here 17:24:38 ... but do we know which parallel states we'd need 17:24:49 noamr: css images don't show broken state 17:25:02 weinig: sure but still have similar loading states 17:25:06 noamr: there's a different issue 17:25:19 fantasai: not clear which pseudo-classes are being proposed concretely 17:25:29 q+ 17:25:33 ... agree with emilio and others that we don't want to implement all of them 17:25:49 ... whatever names we're going to pick for these is it going to apply to only img or do we need to be more specific? 17:25:54 ... or are they generic enough? 17:25:58 ack fantasai 17:25:58 fantasai, you wanted to ask which set of pseudos, specifically, we're proposing to add there are lots of lists in this issue 17:26:02 ack fantasai 17:26:02 ack SebastianZ 17:26:10 SebastianZ: iterating on which ones can we agree on 17:26:15 ... emilio said :broken 17:26:28 ... what about :loading and :complete? I think those are the most pressing ones 17:26:37 fantasai: I think :complete is too ambiguous 17:26:42 q+ 17:26:45 ... but :loading might make sense? 17:26:46 q+ 17:27:03 fantasai: complete in the context of selectors is very ambiguous 17:27:08 +1, :loading and :loaded is a nice pairing 17:27:19 :borken 17:27:25 noamr: I think if we had broken and either :loaded or :loading the rest can be derived 17:27:36 q+ 17:27:45 ack noamr 17:27:50 ... I think there's a strong use case for loading or loaded 17:28:09 ... animating when it's already loaded 17:28:11 +1 17:28:13 q+ 17:28:14 I like :loading, :loaded, :broken as a starting set 17:28:17 ... we could also bikeshed the names later 17:28:36 emilio: one of the issues with :loading and :loaded is... 17:28:49 emilio: when you already have an image, and you trigger a new load, the browser will keep displaying the previous image 17:28:57 emilio: so it's :loading and :loaded at the same time, in a way 17:29:03 emilio: I could see use-cases where you'd want one or the other 17:29:29 emilio: I'm not opposed... I like :broken because it's corresponds well to an existing state (alt feedback stuff) 17:29:35 q+ 17:29:51 ack emilio 17:29:58 emilio: we need to decide how to handle the subtlety around :loading/:loaded in this case though. Various outcomes be unexpected for authors 17:30:01 s/be/might be/ 17:30:09 emilio: that's why I like :broken as a start 17:30:20 Kurt: wanted to add that there's :-moz-{broken,loading} 17:30:27 ... maybe they could be investigated 17:30:29 ack Kurt 17:30:32 ... and standardize those 17:30:33 q+ 17:30:49 ... worth investigating current usage and so on 17:30:56 I don't see `moz-loading` in our source tree at all... https://searchfox.org/firefox-main/search?q=moz-broken&path=&case=false®exp=false 17:31:11 emilio: we (Gecko) remove those from content so authors cannot use them anymore 17:31:20 emilio: we still have support for -moz-broken, but I removed -moz-loading 17:31:33 emilio: mostly because we didn't have a use-case for the semantics of that pseudo-class 17:31:53 emilio: I guess we could add telemetry to see how often we find -moz-broken in the wild (but it's not-parsing) 17:32:13 emilio: I could tell you the use-cases from inside the Firefox codebase (where it's parsed) if that's useful 17:32:15 q? 17:32:20 q+ 17:32:24 ack SebastianZ 17:32:25 q- 17:32:38 SebastianZ: if we resolved on that would that also cover other media like