16:09:03 RRSAgent has joined #css 16:09:07 logging to https://www.w3.org/2023/06/21-css-irc 16:09:09 present+ 16:09:22 miriam: given the new comments, left there in case we want to revisit 16:09:23 present+ 16:09:24 present+ 16:09:24 Zakim has joined #css 16:09:26 changseok has joined #css 16:09:27 present+ 16:09:29 present+ 16:09:31 Present+ 16:09:33 present+ 16:09:48 present+ 16:09:57 present+ 16:09:59 miriam has changed the topic to: https://lists.w3.org/Archives/Public/www-style/2023Jun/0004.html 16:10:03 present+ 16:10:32 zakim, start meeting 16:10:32 RRSAgent, make logs Public 16:10:34 Meeting: Cascading Style Sheets (CSS) Working Group Teleconference 16:10:38 Topic: [css-counter-styles-3] Should "Ready-made Counter Styles" be supported by UA? 16:10:49 github: https://github.com/w3c/csswg-drafts/issues/8636 16:11:03 duga has joined #css 16:11:04 present+ 16:11:05 present+ 16:11:07 present+ 16:11:09 present+ 16:11:12 present+ 16:11:14 present+ 16:11:37 TabAtkins: we agreed last week to change the ready-made counter-style doc into a registry 16:11:40 present+ 16:11:49 ... and require must level support 16:12:18 ... r12a commented and they want to make sure that people that want minor tweaks can copy and paste 16:12:57 ... counter-argument from myles and jensimmons is that most people can do that with the UA sheet and most people don't know that document or the spec exists 16:13:23 ... I agree with them, given how counter-styles work we don't restrict authors in any way 16:13:27 q+ 16:13:48 ack r12a 16:13:57 r12a: don't want to repeat the thread 16:14:14 ... if myles and jensimmons think we can keep up with all the changes and are prepared for the other stuff that would be necessary 16:14:26 ... getting stuff into the counter-styles spec or the registry is the easy part 16:14:53 ... we also have to have tests and check that the stuff is supported and which ones are supported by which browser and so on and change browsers to implement as needed 16:15:11 ... if they feel comfortable that it can be done then that's fine 16:15:37 ... the thing about this doc is that it was designed to be very flexible so that we could change it easily 16:15:46 ... it was never intended to be an exhaustive resource 16:15:48 q+ 16:16:00 ... having the registry makes it a lot more formal 16:16:09 ... I don't have experience maintaining/running one 16:16:34 q+ to make a brief point about registries 16:16:35 ... but if it makes it more formal we kinda have an additional problem which is what counter styles / languages do we want to support 16:16:42 ... there are 7k languages in the world 16:16:46 ... so those worry me a bit 16:17:05 ... if other people think there are no major issues and that can be handled then that's great 16:17:17 TabAtkins: that doc was extracted from the spec 16:17:20 q+ 16:17:29 ... the intent was to always making it required 16:17:45 ... it was removed because browsers didn't want at the time to carry a couple hundred of styles 16:18:16 ... as we need to adopt more we can continue to support new communities and languages 16:18:37 ... shouldn't make perfect the enemy of good and we can make good for a bunch of people 16:18:43 ack florian 16:18:43 florian, you wanted to make a brief point about registries 16:18:54 florian: I think the question is more about whether browsers should ship it, not about registry 16:19:02 ... registry we can worry about separately 16:19:18 ack jensimmons 16:19:28 jensimmons: I appreciate the perspective from r12a and your context. Maybe this doc has been pretty good but not perfect guidance 16:20:07 ... to go from that to putting it in browsers that might be a different story, maybe it's a bit more intimidating 16:20:23 ... I do feel like that phrase (don't let the perfect be the enemy of good) 16:20:23 q+ 16:20:34 ... I'd like browsers shipping more of these by default 16:20:41 i also suspect that testing all these is best done by auto generation - throw a parser at it, create a standard set of tests out of it. that way we can (a) actually test the ones that exist and (b) keep up with updates easily 16:20:52 ... I also think this could create a bit more attention about this 16:21:02 ... and I think we would be in a better place than now 16:21:10 +1 TabAtkins, was thinking the same 16:21:29 florian: I think it'd be good to ship more than what we're shipping now, but I wonder how many of these are known to be good enough? 16:21:42 ... if we're outfashioned by a decade that's not concerning, but maybe some are plain wrong 16:21:51 ... specially some of the rarer languages 16:22:04 q+ 16:22:09 ... on one hand it is great to get more languages 16:22:24 ack florian 16:22:42 ... do we have any way of knowing which counters are known good, which ones need tweaking, and which one are a first try but not known good? 16:23:01 TabAtkins: we'd still recommend people use these I'm not sure that'd be worse 16:23:16 florian: when we do that people do it deliberately 16:23:22 ... but that takes less review to give it a go 16:23:46 TabAtkins: and when we find errors, which we probably will more often if it's in browsers 16:23:54 ... updating is a copy/paste operation 16:23:55 ack r12a 16:23:56 ... so it's trivial 16:24:19 r12a: we tried to make them as accurate as we can but there've been changes to popular languages 16:24:27 ... like hebrew / greek 16:24:37 ... also name changes e.g. serbian recently 16:24:44 ... we've made a bunch of changes to separators 16:25:12 ... can't answer to how many are good or bad, we try that all of them are ok 16:25:17 plinss: also languages change 16:25:24 ... so we'd need to update in the future 16:26:25 r12a: most of the newer styles are defined by you, maybe with some tweaks from the document, but it wouldn't change underneath 16:26:49 ... if we decided that the best separator for ?? was this separator or other people's list would change 16:26:51 q? 16:27:01 q+ 16:27:02 ... currently you copy it and it stays the same until we decide 16:27:25 plinss: I don't see it as precluding that, you can always copy it if you care about it 16:27:46 ack fantasai 16:27:46 fantasai, you wanted to comment on back-compat 16:28:09 fantasai: from a compat perspective there are some changes, for separator changes it's aesthetic and it probably doesn't have much impact 16:28:21 ... number changes are harder 16:28:34 ... I think we're fine with these having minor changes 16:29:08 ... if we're not fine with those to exist in documents we should wait until the counter styles are more stable before baking them in 16:29:10 I take the point that if things change in a way that the author doesn't like then they can still change it for themselves using the @charset approach 16:29:14 q+ 16:29:15 ack jensimmons 16:29:34 jensimmons: I think there are some interesting points made here, might be helpful to go back to the issue 16:29:48 s/are harder/can be more problematic, especially if there are cross-references to it; but then, if there are manual cross-references, the author is more likely to notice if there's an actual error and switch the style/ 16:30:02 s/charset/counter-style/ 16:30:10 ack jfkthame 16:30:11 TabAtkins: yeah if there are no major objections to the resolution we should continue no change 16:30:35 jfkthame: this is a bit parallel to a recent change in CLDR which affected date formatting in some languages 16:30:39 q+ to talk about publicising the counter styles 16:30:44 ... it caused a fair amount of compat pain 16:30:54 ... I could see that happening around this 16:31:04 ... sites are sometimes fragile to this stuff 16:31:24 ack r12a 16:31:24 r12a, you wanted to talk about publicising the counter styles 16:31:47 r12a: if something changes about the UA the author can still reverse it manually 16:32:03 ... people brought up that not many people knew about it, but it'd be useful to point to it from mdn 16:32:47 miriam: let's take it back to the issue then 16:33:01 github-bot: take up https://github.com/w3c/csswg-drafts/issues/8870 16:33:01 Topic: [css-counter-styles-3] Korean counter styles fallback 16:33:01 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/8870. 16:33:42 TabAtkins: real quick rubber-stamp. Several years back we agreed that korean falls back to cjk decimal but I did it wrong 16:33:51 ... and accidentally default to decimal now 16:34:34 RESOLVED: Accept edits from the issue 16:34:58 github-bot, take up https://github.com/w3c/csswg-drafts/issues/8186 16:35:00 Topic: [css-counter-styles-3] Setting `CSSCounterStyleRule.name` should ignore symbolic counter styles 16:35:00 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/8186. 16:35:25 TabAtkins: again obvious bug-fix, I had two places which reference the special counter-styles 16:35:29 ... didn't keep them in sync 16:35:40 ... so cssom had a shorter version of the list 16:35:51 ... I've made the list a defined term and reference in both places 16:36:00 ... only needs sign-off 16:36:26 ... also impls do this correctly 16:36:41 RESOLVED: Accept edits 16:36:52 github-bot, take up https://github.com/w3c/csswg-drafts/issues/7959 16:36:52 Topic: [css-counter-styles-3] Support automatically localized counters 16:36:52 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/7959. 16:37:21 TabAtkins: r12a do you think that this is more of a topic to be discussed or something to be introduced? 16:37:39 r12a: we could discuss the concept, my take was similar to the ready-made counter-styles 16:37:54 ... I'd think it'd be something that authors would define rather than something built-in 16:37:59 ... would you like to introduce this? 16:38:21 https://github.com/w3c/csswg-drafts/issues/7959#issuecomment-1592610379 16:38:24 TabAtkins: somebody filed it requesting that for a few different categories we have an automatically-internationalized version 16:38:51 ... e.g., `digits` would be `decimal` for english, french, ... but map to something else for other languages 16:39:07 ... same for letters which could map to hiragana in japanese 16:39:48 ... before we accepted moving counter styles into the registry this was a lot harder to do 16:40:01 ... r12a proposed a new at-rule mapping lang to digits 16:40:13 q+ 16:40:25 ... does this sound worth pursuing 16:40:33 ack r12a 16:40:33 r12a, you wanted to react to r12a 16:40:44 r12a: the registry doesn't really need to enter into it in the registry 16:40:55 s/to it in the registry// 16:41:12 ... needs to work with author styles 16:41:15 ... just a clarification 16:41:19 jensimmons: I really like this idea 16:41:21 My thought was just that, since we'd be supporting a ton of these, we'd also have a UA stylesheet registry with a bunch assigned. Authors would still be able to extend/override it. 16:41:29 ... so many languages have translations 16:41:57 q+ 16:42:00 ... so even if they are not published in different languages 16:42:22 ... I'd love for it to be in some ua default 16:42:27 (i'm just gonna say that this was noted as actaully being helpful for Wikipedia; they currently manually set a bunch of counter styles for the different translations) 16:42:43 ... but if it can't be it'd probably end up in some kind of reset/framework sheet 16:43:06 https://github.com/w3c/csswg-drafts/issues/7959#issuecomment-1592298287 16:43:08 fantasai: there's some complications here 16:43:10 ack fantasai 16:43:12 ... see linked comment 16:43:33 ... (a) you don't always want to translate the counter style, e.g. western digits might be used in other languages 16:43:54 ... (b) some languages have multiple styles which might be designer-preference or so 16:44:00 ... so I'm skeptic of adding something built-in 16:44:14 ... it'd be relatively straight-forward to do this using `:lang()` 16:44:27 ... what we don't have is a way to set a default counter-style for the counters function 16:44:40 ... if we have that e.g. via a `counter-style` property then it'd be really easy to make this mapping 16:44:43 ack florian 16:44:59 "relatively straightforward" is still hundreds of selectors, fwiw 16:45:01 s/mapping/mapping in the stylesheet/ 16:45:16 florian: I'm nervous, I' really like the vision of the international way, but this makes me nervous because it heightens the worry of the previous issue 16:45:22 and there are two types at least - numeric and writing - so a default counter() style won't satisfy it 16:45:43 ... if you copy and paste it you check they're right, if you turn them on you likely at least checked 16:45:59 ... it increases the chances of a wrong counter style appearing in the page if you need to do neither 16:46:05 ... other concern is getting the mapping wrong 16:46:23 ... e.g., japanese might not want to automatically switch to hiragana, I don't think it should be default 16:46:24 q+ 16:46:47 ... if we were doing a couple or ten languages then we can probably figure it out 16:46:51 s/default/default, that would be jarring/ 16:47:01 ... but if we want hundreds, how often would we get it wrong in a way that's worse 16:47:03 ack TabAtkins 16:47:04 ? 16:47:17 TabAtkins: if this is just a matter of UA rule then it is fixable 16:47:23 q+ 16:47:44 ... as we discover that they're wrong we can just get them fixed 16:47:56 ... as the way it'd be designed you could override any of the mappings 16:48:13 ack r12a 16:48:23 r12a: what florian and fantasai were worried about is if this is baked into the browser 16:48:38 i'm happy to separate the "define the at-rule" part from the "and then put a default version of it into the UA stylesheet" 16:48:40 ... proposal so far is to make it an author controlled rule for now 16:48:49 ... I think that should be less problematic 16:48:59 ack florian 16:49:02 florian: what I'm about to say depends on whether this is auto-turned-on or not 16:49:10 ... do authors need to opt in? 16:49:32 TabAtkins: proposal is to define some new at-rule to define mapping from "generic family" to concrete style 16:49:44 ... then there's the question of "should we have a default in the UA sheet" 16:49:52 florian: the later makes me very nervous 16:50:31 +1 florian 16:50:35 ... e.g., english is a roman-alphabet language and someone could consider using roman numerals 16:50:36 s/later/latter/ 16:50:39 ... sure we could fix it 16:50:45 q? 16:50:56 ... and in english we'd notice fairly easily 16:51:12 ... but maybe not for smaller languages 16:51:26 TabAtkins: I don't think we'd auto-apply it to ol 16:51:31 s/and someone could consider using roman numerals/, so suppose someone thought that it would be appropriate to use roman numerals, and then shipped it out across the Web. That would be very disruptive/ 16:51:38 ... but if auto-applying the mapping is controversial let's discuss that separately 16:51:50 fantasai: I think we need a more specific proposal 16:52:06 TabAtkins: assuming there's no objections I think we should pursue this idea 16:52:41 [more discussion about auto-applying vs not] 16:52:50 s/sure we could fix it/sure, we could fix it--and for English it would happen quickly--but for a less common language, it could take a long time to bubble up/ 16:53:15 jensimmons: you wouldn't be declaring the whole counter styles, but you'd define the mapping to language and you'd have to use it in your list-style 16:53:39 florian: as long as we don't auto apply
    in numeric types 16:53:45 ... I'm fine 16:53:48 `@generic-counter-style digits { en-US: decimal; ...}`rather than `ol:lang(en-US) { list-style-type: decimal; } ...` 16:54:12 jensimmons: instead authors would need to opt-in into this generic-digits 16:54:18 ack fantasai 16:54:45 fantasai: two thoughts. How much of this could be done using our existing mechanism using lang selectors with a `counter-style` property 16:55:25 ... other question is, even with a new opt-in keyword for this and deployed that what I'd expect to see is that a lot of people that are authoring pages would use it and then get wrongly translated things in other languages 16:55:40 TabAtkins: let's push that topic out 16:55:53 ... not discussing applying anything automatically 16:56:06 fantasai: not talking about that, just about any thing in the UA sheet 16:56:23 ... if only for authors, do we need a new mechanism, or can we use :lang() 16:56:44 TabAtkins: let's stop discussing the second point. Can authors do this today? yes 16:56:51 ... see example above 16:56:59 ... this would be essentially just sugar over that 16:57:12 ... possibly a bit more efficient for browsers (less selectors?) 16:57:27 ... but yeah it'd essentially be just sugar over selectors 16:57:33 r12a: I don't think that's quite right 16:57:47 ... in the labeled-digits example you can just use in the stylesheet to use digits 16:57:52 ... so I think it's a little extra 16:58:04 TabAtkins: no you can always just apply the language selectors you want yourself 16:58:12 ... nothing fundamentally new or magical about it 16:58:26 generic-counter-style: "digits" { 16:58:26 'ar':'arabic-indic', 16:58:26 'bn':'bengali', 16:58:28 'my':'myanmar', 16:58:30 'az-arab':'arabic-indic', 16:58:32 'suz':'my-own-sunuwar-style', 16:58:34 .... } 16:58:45 miriam: seems like back to the issue for the full proposal 16:59:10 github-bot: take up https://github.com/w3c/csswg-drafts/issues/8596 16:59:10 Topic: [css-counter-styles-3] system for cjk-earthly-branch and cjk-heavenly-stem 16:59:10 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/8596. 16:59:29 vitorroriz: some years ago the spec changed alphabetic to fixed 16:59:36 duga has joined #css 16:59:37 ... so just wanted to make sure it's fixed indeed 16:59:43 TabAtkins: yeah tests were just wrong 16:59:55 vitorroriz: I fixed them 17:00:09 TabAtkins: great, nothing on the spec needs change 17:00:27 github-bot: take up https://github.com/w3c/csswg-drafts/issues/8975 17:00:27 Topic: [css-counter-styles-3] fallback for cjk-earthly-branch and cjk-heavenly-stem 17:00:27 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/8975. 17:00:40 seems reasonable to me too 17:00:40 fantasai: seems reasonable, we should make the change and republish 17:01:01 miriam: objections, anyone need more context? 17:01:48 emilio: would like someone familiar with cjk to look at it, but otherwise seems fine 17:02:02 +1 TabAtkins 17:02:17 TabAtkins: These fall back to cjk-decimal due to matching fullwidth 17:02:21 TabAtkins: all fall back to cjk-decimal because of full-width, same applies to these 17:02:24 RESOLVED: Change fallback for cjk-earthly-branch and cjk-heavenly-stem to cjk-decimal instead of decimal 17:02:29 RESOLVED: Republish CR 17:02:44 topic: end 17:02:47 duga has joined #css 17:03:12 Zakim, end meeting 17:03:12 As of this point the attendees have been florian, ydaniv, dbaron, vitorroriz, bramus, fantasai, dholbert, Rossen_, jfkthame, flackr, jensimmons, changseok, miriam 17:03:15 RRSAgent, please draft minutes v2 17:03:16 I have made the request to generate https://www.w3.org/2023/06/21-css-minutes.html Zakim 17:03:23 I am happy to have been of service, Rossen_; please remember to excuse RRSAgent. Goodbye 17:03:23 Zakim has left #css 17:58:42 duga has joined #css 18:32:41 duga has joined #css 19:04:50 duga has joined #css 19:06:42 duga has joined #css 19:55:23 liam_ has joined #css 20:34:20 duga has joined #css 21:05:19 duga has joined #css 21:22:13 duga has joined #css 23:46:15 duga has joined #css