08:55:45 RRSAgent has joined #css 08:55:49 logging to https://www.w3.org/2026/10/29-css-irc 08:55:50 RRSAgent, make logs Public 08:55:51 Meeting: Cascading Style Sheets (CSS) Working Group Teleconference 08:57:11 present+ 08:57:35 present+ 08:58:13 astearns has changed the topic to: TPAC agenda project: https://github.com/orgs/w3c/projects/252/views/1 08:58:37 nigel has joined #css 08:58:37 kbabbitt has joined #css 08:58:48 present+ 08:59:32 present+ 09:00:24 present+ 09:01:22 estelle has joined #css 09:01:45 kyerebo has joined #css 09:01:55 present+ 09:02:47 davidjmarland has joined #css 09:03:01 present+ 09:03:48 emeyer has joined #css 09:03:59 bkardell has joined #css 09:05:19 romain has joined #css 09:05:43 r12a has joined #css 09:05:44 jcraig has joined #css 09:06:49 present+ 09:08:29 sgill has joined #css 09:08:48 oriol has joined #css 09:09:12 scribenick: kbabbitt 09:09:34 astearns: we have 4 items that are new-ish, will hold those to 20 minutes each 09:09:37 present+ 09:09:47 lwarlow has joined #css 09:09:49 ... at 11:00 there is a session with WHATWG on responsive images that some folks might want to duck out to 09:10:19 ... a few things that aren't slotted on the agenda yet because we may not have time for them 09:10:26 JaseW has joined #css 09:10:29 ... if we get through those we can pull in some regular agenda items 09:10:32 present+ 09:10:56 present+ 09:10:57 present+ 09:11:22 present+ 09:11:23 ydaniv has joined #css 09:11:27 present+ 09:11:54 fantasai: do we want to bring up spatial layout? 09:12:01 astearns: yes, could slot in as fifth new item 09:12:13 github-bot, take up https://github.com/w3c/csswg-drafts/issues/13728 09:12:13 Topic: Proposal: Declarative Web Haptics 09:12:13 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/13728 09:12:25 present+ 09:12:50 kyerebo: Hi, I'm Alex from Microsoft, been working on web haptics API for declarative and imperative haptics on the web 09:13:02 present+ 09:13:38 ... on the declarative side we've narrowed down to 2 potential models 09:13:42 smfr has joined #css 09:13:42 ... hoping to converge on one of them today 09:13:46 r12a has joined #css 09:13:47 present+ 09:13:48 ... first is nested @haptic rule 09:13:51 present+ 09:13:56 ... fires when containing seletor changes from not-matching to matching 09:14:00 estelle has joined #css 09:14:13 ... simple syntax, easy for author to parse, signals to dev pretty clearly that @haptic is not a regular CSS property 09:14:31 ... some of the main pushback we saw at Berlin F2F is that haptic isn't directly associated with event that caused it to start matching 09:14:37 s/seletor/selector/ 09:14:41 ... and that @haptic must wait for style recalc which can cause latency 09:14:51 ... which led us to other model we got 09:14:56 ... second model is event trigger model 09:15:00 ... similar to animation triggers 09:15:11 ... specifically event triggers for animations, plays a haptic when event actually happens 09:15:15 ... [shows code example from explainer] 09:15:28 .... assign haptic to specific event trigger 09:15:35 ... can also have anonymous syntax which simplifies trigger 09:15:43 .... advantage is that there's specific cause and effect and lower latency 09:15:54 ... because UA already knows relationship before event occurs 09:16:04 ... a little harder to understand than @haptic and has dependency on event trigger sources 09:16:14 ... [shows comparison table] 09:16:44 Penny has joined #css 09:16:47 https://github.com/WICG/web-haptics/tree/liminzhu-option-b-fragment#proposed-approach 09:17:19 kyerebo: authoring experience and causality make event trigger a little more attactive 09:17:29 q+ 09:17:30 ... would love to hear what you all think and hopefully we can resolve on one model or the other 09:17:41 q+ 09:17:50 ack emilio 09:17:56 q+ 09:17:59 emilio: in general the event trigger approach seems a bit nicer 09:18:04 ... allows you to have all the state beforehand 09:18:31 ... presumably some of this where interesting in compositor stuff (?) 09:18:42 ... triggering on pseudo starting or stopping matching is a bit of an antipattern 09:18:52 ... a bit confused about how option 1 would work 09:18:58 q+ 09:19:12 ... what happens if I don't put the @trigger in a pseudo class that would switch, would it trigger the haptic every time it happens? 09:19:26 ... that seems a lot more confusing of a model than event trigger approach 09:19:31 q+ 09:19:31 ack davidjmarland 09:19:54 davidjmarland: I think the nested one may be a new pattern, using @haptic - I don't think we have any existing @-whatever that only work if they're nested inside something else 09:19:56 iank_ has joined #css 09:20:07 ack ydaniv 09:20:07 ... they tend to be something that sit outside, not sure if this would be confusing to developers since it must be inside 09:20:20 ydaniv: like the option built on top of animation triggers, exactly what we were aiming for 09:20:25 ... everything is reusable and works together 09:20:35 ... if you think of haptics as an effect, it makes sense 09:20:48 q+ 09:21:01 ack astearns 09:21:08 astearns: like the event trigger thing in part because if we find that there are bits of event triggers that aren't adequate for haptics, perhaps we can fix them 09:21:14 +1 to astearns 09:21:18 ... and make triggers better not just for haptics but in general 09:21:20 ack astearns 09:21:25 ack sgill 09:21:39 sgill: might have missed this in the beginning, can you go over the difference between @haptic and other syntax again? 09:21:54 ... in the example here, you assign a haptic to button being active, wasn't obvious to me what was going on in the other case 09:22:08 kyerebo: referring to one-off in event trigger model? 09:22:08 sgill: yes 09:22:20 kyerebo: for event trigger we have to define event trigger as a variable within class itself 09:22:28 ... later created event trigger and assign a haptic to it 09:22:41 ... one-off is an anonymous version of that which does creation of haptic and assignment in one line 09:22:49 ... syntactically similar to other model 09:22:56 ... just not naming event trigger that's being created 09:23:00 ack fantasai 09:23:16 fantasai: selector model seems a bit more awkward for controlling lots of types of effects 09:23:21 Webniche has joined #css 09:23:31 ... can't do it as easily with scroll snap effects, not easy to distinguish between entering and exiting a hover effect 09:23:36 ... can't make that distinction very well 09:23:54 ... also hooking things up to selector matching is expensive, we try to avoid doing that 09:24:01 ... allows a lot of arbitrary things 09:24:11 q+ 09:24:13 ... do we want to allow triggering a haptic effect when adding/removing a class 09:24:26 ... do you want to trigger a haptic when something is no longer a first child 09:24:31 ... those are things you can do with selectors 09:24:44 ... event model has this concept of entry and exit into a state which selectors don't have, benefit there too 09:24:51 ... plus it extends a model we have already 09:24:57 ... can reuse a model and that's helpful 09:25:09 ack kbabbitt 09:25:39 kbabbitt: One thing about the event trigger model, it does mean if two rules try to set two different haptics on the same element, one will override the other in the cascade. I think this is something authors are used to dealing with though, it just gets added to the list of use cases for additive CSS if we ever take that up. Happy with either 09:25:39 model. 09:25:58 ack emilio 09:26:05 emilio: did ask about this on previous comment, related to what fantasai was saying 09:26:16 ... wasn't clear to me what option 1 really was 09:26:28 ... my mental model is different from fantasai's, you have well defined points where you read this property 09:26:33 ... independent of selector matching 09:26:47 ... seems fantasai's model is, if I do :root @haptic something, my page is vibrating all the time somehow 09:26:52 fantasai: no, it's when you start or stop matching 09:27:02 emilio: so you effectively have all these defined points in time 09:27:11 ... your stylesheet loads and now your page vibrates because it loaded async 09:27:23 ... specifics don't matter if we're leaning towards other model 09:27:37 kyerebo: rule fires when selector transitions from not-matching to matching, not on load 09:27:43 ... but sounds like we're leaning towards event triggers 09:27:47 fantasai: could happen when creating element 09:27:52 emilio: or when MQ changes 09:27:58 ... I think that would be a fairly confusing model 09:28:29 kyerebo: CSS version of this API is just an explainer 09:28:40 astearns: could we create an ED with animation triggers model? 09:28:54 PROPOSED: Create an ED using the animation trigger model 09:28:55 +1 09:29:00 +1 09:29:03 PROPOSED: Create an ED using the animation trigger model and start having more focused issues based on that draft 09:29:04 +1 09:29:11 RESOLVED: Create an ED using the animation trigger model and start having more focused issues based on that draft 09:29:11 +1 09:29:17 +1 09:29:39 astearns: I appoint kyerebo as editor, we'll see how that draft goes and start discussing in more detail in future meetings 09:29:54 github-bot, take up https://github.com/w3c/csswg-drafts/issues/14493 09:29:54 Topic: Web Preferences API: implementation interest and next steps 09:29:54 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/14493 09:31:48 davidjmarland: David Marland, Bloomberg 09:31:55 ... along with Jason we've been discussing Web Preferences API 09:32:07 ... CSS can use MQs to target various user preferences, generally set in OS or browser 09:32:12 ... website can respect these settings 09:32:18 ... e.g. color-scheme, contrast, etc. 09:32:28 ... common for websites to want to change these settings e.g. dark mode / light mode switch 09:32:36 ... achieved by setting class on root element and flipping color scheme on the page 09:32:45 ... most common case people do but other settings as well 09:32:59 ... comes with problems. Website has to figure out how to store this value and block rendering while retrieving value from storage 09:33:12 ... sub-applications on same domain must all reimplement same logic and might not share storage 09:33:25 ... we encounter this at Bloomberg, teams build their own dark mode switches 09:33:31 ... not respected by MQs 09:33:45 q+ 09:33:45 ... other uses continue to use OS or browser preference and mismatch CSS when you've done the flip in own code 09:33:50 ... this is where user preferences API comes in 09:33:58 ... allows sites to override prefs at origin level 09:34:05 ... MQs pick this up as if it were the normal value 09:34:12 ... gets stored by the browser by origin 09:34:20 ... so it doesn't require website to store on their own storage 09:34:26 .... was resolved to be added July 2024, is part of MQ 5 spec 09:34:44 ... implemented in Chrome Canary but progress in other browsers seems to have stalled 09:34:58 ... have to keep implementing old way and new way until we have it across browsers 09:35:08 ... have been ongoing discussions about this 09:35:13 ... raised some concerns/questions 09:35:23 ... if a website is able to alter user prefs without concent 09:35:31 ... but could already do that by ignoring preferences 09:35:40 ... maybe it can only be changed with a trigger e.g. permission dialog 09:35:48 ... also need browser UI to let user clear preferences 09:35:58 ... since most common use case is color scheme, is using the meta tag enough? 09:36:09 lwarlow has joined #css 09:36:13 q 09:36:17 ... was resolved that meta tag will affect MQs 09:36:22 ... but requires page to implement that and check own storage 09:36:26 q+ 09:36:34 ... won't cover high contrast, reduced transparency, bold text which we're talking about 09:36:38 ... may not cover enough of problem space 09:36:53 ... few other questions to resolve, what happens in iframes, whether you need to know original value 09:37:11 ... next steps. can we resolve questions? does this api have traction? 09:37:21 q+ 09:37:22 ... can we get intent to ship or is this not viable? 09:37:28 ack emilio 09:37:28 emilio: seems like a lot of API surface 09:37:37 ... at least color scheme part seems solvable with existing mechanisms 09:37:40 ... propagates through iframes 09:37:54 ... page would be responsible for managing storage 09:38:03 ... is implementable, feels like overly generic 09:38:07 ... when 99% use case is color-scheme 09:38:19 ... color-scheme toggle seems solvable with existing things we've resolved on 09:38:31 ... I recently implemented MQ being affected by meta tag in Firefox, was a 5-line change 09:38:39 ... seems easy to get into browsers in general 09:38:45 ... then MQs can hook into it and so on 09:38:54 ... with 10 lines of JS to manage local storage 09:39:05 ... then you bypass all these questions about what UI should be, what restrictions should be 09:39:14 ... both Blink and Gecko have some sort of emulation for media features 09:39:22 ... but it's not generic, you emulate what makes sense to emulate 09:39:39 ... print media which doesn't matter, emulate color-scheme and prefers-reduced motion 09:39:52 ... could have per-application setting for prefers-reduced-motion but seems less common than prefers-color-scheme 09:40:13 ... API surface and complexity vs benefit of this API makes me lean towards providing right tools for color scheme and let websites handle storage 09:40:21 ... cannot customize color scheme of page if you embed it 09:40:31 ... only can work right now on top-level page because meta tag was not implemented 09:40:37 ack fantasai 09:41:02 fantasai: if we want to add prefs for things other than color-scheme, we need to invent meta tags for them 09:41:09 ... having this be a consistent API for all prefs is probably a good thing 09:41:14 ... storage seems fine 09:41:32 ... need to make it clear that we want to restrict to set of prefers MQs where we expect authors to respond to it, not going to change UA behavior to flip preference 09:41:49 ... while in principle we don't have problems with it, may want to simplify 09:41:49 q+ 09:41:56 ack lwarlow 09:42:16 lwarlow: while color-scheme is most widely used case, lots of sites offer settings for reduced motion, contrast 09:42:25 ... github for example, can choose color scheme and reduced motion 09:42:36 ... unfortunate if we don't have the other preference MQs covered 09:42:39 q+ 09:42:40 ... which is what this API is trying to do 09:42:52 ... if the alternative is we define a contrast meta tag where you define supported contrast 09:42:58 ... and that reflects MQ, maybe that works 09:43:14 ... would be unusual because reason for meta tag for color-scheme was because color-scheme property just has MQ 09:43:32 ... in terms of simplifying API shape, not wedded to this API shape in particular, came up with it 3 years ago 09:43:33 q+ 09:43:42 ... if we can simplify I'm all ears but think there's still value 09:43:53 ... if there's a subset or simplification we can agree on, I'm open to that 09:44:12 ... if this is just MQ preferences, I'm open to that, just want a solution to this 09:44:24 ack TabAtkins 09:44:24 estelle has joined #css 09:44:30 TabAtkins: still strongly in favor of this 09:44:36 ... if we want to simplify API that's fine 09:44:46 ... no connection to any particular complexity level as long as base functionality exists 09:45:08 ... re: emilio - yes, could do this by setting something in local storage and setting meta tag 09:45:26 ... but the fact you have to do that with inline script high up on every page on your domain is kind of ridiculous for what should be an easy feature 09:45:40 ... easy to do but a lot of silly busywork for something that if they mess it up is just bad for the user 09:45:47 +1 to TabAtkins 09:45:47 ... we can easily make this work consistently across an entire origin 09:45:52 +1 TabAtkins, was on the queue to say basically that except less thoroughly :p 09:45:55 ... if the API is too complex, let's simplify 09:46:05 ... if they don't want to do rest of prefs, unfortunate but that would be okay 09:46:09 RRSAgent, draft minutes 09:46:10 I have made the request to generate https://www.w3.org/2026/10/29-css-minutes.html Penny 09:46:13 +1 that blocking script is a strange requirement for authors to get this right 09:46:15 ... would like to try for at least prefers-* for now 09:46:23 q? 09:46:25 astearns: slight skepticism that this is going to be useful across all prefs 09:46:30 ack astearns 09:46:32 +1 TabAtkins 09:46:36 ... as someone who uses prefers-reduced-motion, I never want to allow whole site to start moving 09:46:44 ... not sure how this API is going to help for that particular preference 09:46:49 ack emilio 09:46:51 q+ 09:46:59 emilio: similar thing, feels like as soon as website would want to get off this common path 09:47:11 ... maybe they don't care about prefers-contrast but do care about themes, now they have to reimplement 09:47:24 ... color-scheme seems like obvious one, 3 choices, we built into platform 09:47:29 ... common thing a lot of websites do 09:47:43 zakim, close queue 09:47:43 ok, astearns, the speaker queue is closed 09:47:49 ... over-generalizing it to contrast, motion, ... feels like over-generalizing for something that may not warrant it 09:47:53 q+ 09:48:02 ... as soon as your settings become more complicated and you reimplement them yourself, seems not great 09:48:19 ... 2 extremes: website has color picker, and github has lots of themes and contrast levels 09:48:32 ... in between you want a color picker and that's the preference browser exposes, less common 09:48:44 ack smfr 09:48:54 smfr: lea's blog post says best dark mode toggle is probably nobe 09:48:58 s/nobe/none/ 09:49:06 ... probably want to discourage toggls 09:49:11 ack kizu 09:49:22 kizu: like all these preferences, often adjust settings by site using an extension 09:49:35 ... sometimes get too light a display 09:49:43 ... same with reduced motion, some sites I want to reduce 09:49:50 smfr is referencing https://lea.verou.me/blog/2026/dark-mode-toggles-2/ 09:50:03 ... one thing about contrast, there are use cases where you want it to be similar to light-dark 09:50:12 ... property sets its own subtree and then you can override same as with color-scheme 09:50:17 I'm not in the meeting so I lack context, but note that there's more nuance to it than the title 09:50:43 ... all cases where you want to have this adjusted, maybe not everyone's thing but for some users they want this 09:51:03 lwarlow: saying we don't want sites to implement color-scheme toggles, we can say that but sites are building them 09:51:17 ... if we ignore reality maybe that's what we want to do but they're building them and often quite bad 09:51:23 ... because they aren't following system preferences 09:51:36 ... toggle makes it so you can use MQs 09:51:48 ... following system preference is great when system offers preference in the way it can be found 09:52:05 ... browsers often fail in their job as UAs with overrides or ability to set these outside system 09:52:18 ... on Windows you can't set a contrast preference without going into full forced colors mode which is heavy handed 09:52:28 "The best dark mode toggle is none" is a misreading of Lea's blog post; she just used a fun title. When she actually gets down to that point, it's "most websites don't need a toggle *on every page*, they can just put it in a settings page" 09:52:34 ... there are use cases that aren't covered by just following system settings 09:52:49 astearns: perhaps we could remove current version in spec without prejudice but I'm hearing more interest in having this 09:52:54 ... perhaps we just need to iterate with what's in spec 09:53:06 Yes. A separate settings panel is fine. Go beyond the title people! 😅 09:53:09 ... saying to implementers don't worry about this yet, we're still working on this, but it may not be necessary 09:53:34 JaseW: hearing no rejection of base functionality of this 09:53:37 ... currently in the spec 09:53:43 lea, what happened to "if the user is confused, it's the designer's fault"? :P 09:53:45 ... do sympathize with emilio's points, maybe we can rework the API 09:53:49 ... can keep working on that 09:54:14 github-bot, take up https://github.com/w3c/csswg-drafts/issues/14477 09:54:15 Topic: [css-fonts][mediaqueries-5] Add prefers-bold-text user preference media feature 09:54:15 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/14477 09:54:48 dgrogan: we have a proposal for sites to be able to respect the OS level prefers-bold-text preference 09:54:55 ... we talked about this with this group a few months ago 09:54:59 ... a few things came out of that 09:55:01 lwarlow has joined #css 09:55:02 ... do we need an opt out? 09:55:11 ... can we get away with an opt-out or do we need an opt-in? 09:55:28 ... what exact API shape do we need? different opt-in for power user sites vs long-tail sites that don't need as fine control 09:55:34 ... in response to setting 09:55:52 ... did a bunch more investigation after that, specifically around can we do this automatically to sites with opt-out or does it need to be opt-in? 09:56:03 ... ran a custom build of Chrome that opted in, browsed around, found some breakage 09:56:09 ... but not definitive either way 09:56:21 ... then we looked at bug reports that Android got when it started bolding in apps 09:56:24 ... that was astronomical 09:56:30 ... that convinced us we need to not do this by default 09:56:44 ... on sites when user has asked for it in OS level preferences, which is sad 09:56:50 ... if we started web over that's what we'd do 09:57:03 iank_: with the bug reports on Android, only affects a relatively small portion of Android apps 09:57:07 ... many apps using webview or react 09:57:14 ... just a subset of apps that were affective 09:57:20 s/affective/affected/ 09:57:25 q+ 09:57:26 ... and that was still egregiously bad 09:57:38 zakim, open queue 09:57:38 ok, astearns, the speaker queue is open 09:57:41 q+ 09:57:43 dgrogan: our research combined with our experience last year of doing something similar with OS level font-size setting 09:57:50 ... makes us want to follow that same formula 09:57:55 ... we want to have 2 ways a page can opt in 09:57:59 ... one would be a media query 09:58:06 ... explainer has exact proposal 09:58:26 ... this would let power sites that want to control rendering change how much to bold, weight vs grade, taht kind of thing 09:58:36 ... then follow up with a way to let sites turn most of this over to browser 09:58:43 ... could be a meta tag like with text scale or a new CSS property 09:58:49 ... proposal in the explainer 09:58:55 ... possibly font-bold-adjust 09:59:19 ... one thing we learned with meta text-scale is, we can learn from sites that use initial fine control way to find out what we should do when they turn details over to the browser 09:59:32 ... in this case we'd see how much they change their weight, are they just saying bold, are they also changing grade 09:59:39 ... we're not sure exactly what authors will precisely want 09:59:53 ... instead of author research that might turn out to be true or false, want to see what they do and pick that cowpath 10:00:06 ... talk last time of, what should we do if a page has both MQ and also opts entire page in 10:00:09 ... have a lot of options there 10:00:21 ... we don't think that needs to block shipping MQ on its own 10:00:31 ... we have customers who want MQ right now and specify exactly how their site response 10:00:39 iank_: can go into how various things break 10:00:45 ... not as simple as text being cut off 10:01:03 ... cases where designers are using bold to indicate selected or unread state, subtle UI brokenness, a lot worse than we expected 10:01:13 ack emilio 10:01:39 emilio: given all the breakage on Android ... is the thought behind it that user benefit outweighs potentially broken layout? 10:02:04 dgrogan: they turned this on way earlier in Android ecosystem existence, didn't have same back compat problem we do and still got hammered 10:02:08 ... not sure why they kept it on 10:02:34 emilio: if reason why OS auto-bolds even with breakage, then either auto-bolding is worth it even if layouts break, or ... 10:02:43 ... same thing with font size, breaks layouts but we still allow user to set it 10:02:57 ... because they need to be able to read the website. layout break is not as bad as not able to read 10:03:15 iank_: because it only affects a relatively limited subset of apps ... doesn't affect rendering for games or webviews 10:03:20 ... which is a high proportion of apps 10:03:28 ... they may have turned it off if there were more apps 10:03:49 emilio: my main concern with just exposing the pref is that doing it right is not as simple as setting font-weight: bold 10:04:02 ... want more subtle things, maybe increase stroke width without increasing spacing 10:04:09 ... getting that right seems hard for authors 10:04:21 ... easy to say prefers-bold-text, set font-weight bold 10:04:33 iank_: [missed] 10:04:40 emilio: things where site can't rely on specific font metrics 10:04:48 ... bunch of fonts which are not defined to particular face 10:04:55 s/[missed]/UA can't do it automatically, sites break/ 10:04:55 dgrogan: omitted an important detail on that point 10:04:59 flackr has joined #css 10:05:09 ... when we modified local chrome build, we did it just for local fonts, still saw breakage 10:05:10 present+ 10:05:16 emilio: means websites are broken in other configs as well 10:05:21 ... android ships with other fonts 10:05:43 dgrogan: one thing we hypothesized is, educated guess, we've talked to large sites who really do test on a huge matrix of popular devices for default fonts 10:05:50 ... this would be a new one, would face a lot of breakage 10:05:59 ... you're right, these sites are broken in some devices 10:06:22 ... re minimum font size, percent of users who have enabled prefers-bold-font is many orders of magnitude higher than browser level min font size 10:06:34 ... some sites are broken for users who set min font size but breakage would be way more for auto bolding 10:06:43 q? 10:07:00 astearns: sounds like you're still interested in finding a solution, just that this initial attempt has problems and you want to find some other way? 10:07:06 iank_: we don't think it's possible to auto bold fonts 10:07:09 astearns: meta tag? 10:07:13 iank_: yes we want this to be opt in 10:07:20 astearns: emilio are you arguing for an opt out? 10:07:32 emilio: seems like user benefit is a lot less if you don't blindly expose preference 10:07:47 force bold mode? 10:07:50 ... either this is important for users and trying to respect pref is more important than text overflowing or it's not 10:08:04 iank_: it's a tradeoff, some things more accessible, some less, we're not going to ship it 10:08:18 dgrogan: where we go, proposed resolution to add MQ to the spec 10:08:19 q? 10:08:25 iank_: and the meta tag? 10:08:40 dgrogan: whether a meta tag or a new property, that can be bikeshedded 10:08:52 q+ 10:08:53 ... but we want to learn from advanced sites, see what they do in response to MQ, get that in first 10:08:59 astearns: is the auto mechanism in the spec now? 10:09:05 dgrogan: just in explainer 10:09:17 emilio: won't object to that but ... curious if apple folks have opinion? 10:09:32 romain: do think difference between MQ and meta is important, not bikesheddy 10:09:34 q+ 10:09:39 .... meta tag [missed] 10:09:45 ack romain 10:09:45 ... MQ has to go through design review and we will never ship that 10:09:59 dgrogan: definitely want MQ first, bikeshedding is second step, do we want meta tag or new CSS property? 10:10:07 ... where author can say bold everything 10:10:14 romain: so shape of opt-in, got it 10:10:15 ack sgill 10:10:20 sgill: question about the fingerprinting aspecet 10:10:32 ... if you just have a scenario where you do the meta tag that opts in and has UA automatically bold internally 10:10:37 ... is there a way to detect that still? 10:10:41 dgrogan: yes, unfortunately 10:10:56 astearns: in the interest of time, since this is all noodling in an explainer, perhaps take this as a progress report 10:11:07 ... people currently working on explainer are against meta tag, looking into opt-in solutions 10:11:21 dgrogan: want to propose a resolution to go forward with first step which is MQ 10:11:35 astearns: can we resolve on that? would privacy considerations keep us from resolving? 10:11:51 emilio: if you want to say ... don't think it would harm anyone to add this to spec, if you don't want to expose this bit, can never match MQ 10:11:59 iank_: no getting around if you want to expose 10:12:21 astearns: in the interest of time, would prefer having a specific issue on MQ that we can discuss in github comments for a bit before coming to a resolution 10:12:39 ... just noodling on explainer for now, can come back to resolution soon for MQ 10:12:51 iank_: MQ part is pretty solved, only open questions for opt-in, can we try resolving on MQ? 10:12:58 ... don't think I heard any pushback on MQ 10:13:01 q+ 10:13:07 astearns: I'm hearing a bit but we can try 10:13:14 PROPOSED: Add media query for prefers-bold-text 10:13:31 lwarlow: on web preferences point, do youthink this should be overridable by sites? 10:13:34 +1 10:13:37 fantasai: if we do this, it goes into that 10:13:45 ... on our side we have concerns about fingerprinting but not objecting at this point 10:14:01 RESOLVED: Add media query for prefers-bold-text 10:14:10 s/if we do this,/this is an MQ where the site has to respond it it, so/ 10:14:12 astearns: we'll add MQ and continue discussing in issues 10:14:24 s/into that/into the overrideable preferences API set/ 10:14:25 github-bot, take up https://github.com/w3c/csswg-drafts/issues/14615 10:14:25 Topic: [css-images-5] Define object-view-box for inline svg elements (viewBox-only svgs, user units) 10:14:25 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/14615 10:15:17 TabAtkins: we already have properties object-fit and object-position 10:15:31 ... useful on img element, canvas, video, position them once you've made them different size 10:15:49 ... regardless of size of image, if you set width height on img, these properties let you respect actual aspect ratio and position 10:16:05 ... these 2 properties are a direct map to SVG preserveAspectRatio on root 10:16:13 ... other bit of how SVG is controlled is viewBox attribute 10:16:19 ... sarah did some impl work in chrome to play with this 10:16:24 ... think it's useful to bring over to img 10:16:39 ... wrote a spec for this 5 years ago and forgot about it, don't look at that, we're going to talk about feature in general 10:16:45 ... viewBox defines coordinate space image draws into 10:16:55 ... for SVG can set up scalable image to draw into 100x100 square 10:17:03 ... doesn't matter how big it actually is, scales to that size 10:17:11 ... same thing here, object-view-box would take a rect 10:17:13 q+ 10:17:18 ack lw 10:17:19 ... and that's the coordinate space the image draws into 10:17:31 ... raster images draw pixels into that 10:17:44 ... if you want to pan or zoom image around you can use object-view-box to do that 10:17:47 ... same use case as for SVG 10:17:56 ... question about how this and related object properties should work 10:18:07 ... as I defined it previously, changed natural width and height of image 10:18:22 florian: from point of view of document that embeds it? 10:18:24 TabAtkins: yes 10:18:34 q+ 10:18:38 ... does anyone have a great reason to make that happen, if not would like to make it like viewbox in SVG 10:18:41 Yes, that was a mistake 10:18:48 ... only thing it does is provide aspect ratio if one is not specified or implied 10:18:53 +1 10:18:56 +1 10:19:02 ... because it matches SVG 10:19:12 q+ 10:19:15 ... makes it more natural to use this for panning and zooming use cases 10:19:25 ... because it doesn't change size of element if you provide width and height 10:19:41 ack iank_ 10:19:43 sdrasner has joined #css 10:19:48 q+ 10:19:49 q+ 10:19:53 emma0 has joined #css 10:19:55 iank_: if we respect viewbox on image, does this put images in same place as SVG where you can have aspect ratio only images? 10:20:01 q+ 10:20:04 TabAtkins: wouldn't remove natrual dimentions from anything 10:20:16 ... if you start from raster image it maintains natural width and height 10:20:20 iank_: but image with no raster 10:20:25 TabAtkins: svg with no dimensions? 10:20:30 iank_: raw img tag 10:20:39 ... img will fall back to 300x150 10:20:48 ... raw svg with viewbox has no natural dimensions, only aspect ratio 10:20:55 ... would img have same effect? 10:21:03 TabAtkins: no opinion, img with no image is an error case 10:21:08 iank_: don't know what right solution is there 10:21:17 ... but there are a lot of quirks with SVGs and how they behave in that mode 10:21:21 ... might be good to limit that 10:21:30 ... can get stretchy behavior and weird intrinsic sizing 10:21:54 TabAtkins: will go through these, not intending to get them all resolved right now, can discuss offline 10:22:11 astearns: maybe some of these details are future discussions and we can resolve to start work? 10:22:18 TabAtkins: want to introduce issues for folks to think about\ 10:22:34 TabAtkins: 2, right now, object-position and -fit are defined to apply to replaced elements 10:22:40 RRSAgent, draft minutes 10:22:41 I have made the request to generate https://www.w3.org/2026/10/29-css-minutes.html karlcow 10:22:46 ... however inline SVG is replaced and does not honor them in browsers I tested 10:22:48 ... should it? 10:23:01 ... should be consistent in that regard, do we want img element pointing to SVG and inline SVG to act the same 10:23:07 ... would prefer it to be so but opinions on that later 10:23:20 ... sub aspect, SVG pAR is strict subset of what object-position and -fit can do 10:23:31 ... should these become presentation attributes on SVG? weakly lean toward yes 10:23:39 estelle has joined #css 10:24:11 ... talking about replaced elements in normal CSS formatted documents. should these props similarly work on external SVG or other elements that use these, nested SVG, marker, svg image etc. all of these take viewbox 10:24:18 ... probably relies on answering presentation attribute question 10:24:33 ack emilio 10:24:41 emilio: was going to mention some of these things, do we want viewbox attribute to map to this propertu 10:24:49 ... main issue with inline SVG is that it would change positioning 10:24:57 ... would get annoying but not unworkable 10:25:04 ... would be nice to be consistent 10:25:04 ack ChrisL 10:25:23 ChrisL: do think they should become presentation attributes, when they were invented there was nothing for them to map to, but now it makes sense 10:25:29 +1 to ChrisL 10:25:32 ack sdrasner 10:25:33 ... want to encourage people to write SVG with viewBox and not explicit width and height 10:25:42 +1 to ChrisL 10:25:46 sdrasner: want to put together specification proposal 10:25:54 ... good point that fragment part is underspecified 10:26:06 ... if you specify fragment different from aspect ratio, want to pan and zoom to different AR at different times 10:26:28 ... panning to a different area, even in those cases it shoudl respect aspect ratio fragment, otherwise could get crops 10:26:37 TabAtkins: want to spend some time thinking about it, arguments on both sides 10:26:45 how do percentages resolve for determining the aspect-ratio? 10:26:57 ack vmpstr 10:26:57 sdrasner: nervous about cases where people try to hack around, specify on both 10:27:06 vmpstr: clarify, confused at opening 10:27:16 ... I think we shipped object-view-box 4 years ago in blink 10:27:34 ... don't thinkwe do anything with SVG mapping so that's open but proposal to change behavior on images is subject to compat 10:27:43 TabAtkins: curious about what subset of text we implemented 10:27:50 ack ydaniv 10:27:54 ydaniv: +1 to presentation attributes 10:28:20 JoshT has joined #css 10:28:28 ... nested SVG and other elements, only concern is probably accept because of box model and different model in SVG, accept more values in SVG than this property 10:28:29 Hoping we can at least fix "Percentages: N/A" as Obvious Bugfix 10:28:34 ... needs some checking whether we need separate property 10:28:50 ... would be great because you can consolidate SVG and CSS rendering and accept everything 10:28:59 TabAtkins: other things we have are things we can't do with pAR 10:29:05 ack fantasai 10:29:11 fantasai: wanted to raise same point as vmpstr, shipping already 10:29:21 ... impact on intrinsic sizing could cause pages to break, have to be careful about that 10:29:33 ... +1 to mapping to SVG attributes and doing it for both 10:29:36 dshin-moz has joined #css 10:29:41 ... have to think through a bit more about intrinsic sizing stuff 10:29:53 present+ 10:29:57 ... if it's an in page SVG and you restrict view box, get a square view box but your CSS box is rectangular 10:30:04 ... and you set object-fit to contain 10:30:11 ... do you draw rest of image outside viewbox rectangle? 10:30:22 ... astearns we could probably resolve to do the mapping 10:30:28 TabAtkins: do we need to talk to SVGWG for that? 10:30:32 astearns: could resolve and then ping them 10:31:31 fantasai: proposed that viewBox and preserveAspectRatio become presentation attributes and map to object-position and object-fit properties 10:31:42 TabAtkins: and object-view-box 10:32:15 PROPOSED: viewBox and preserveAspectRatio become presentation attributes and map to object-position, object-fit, and object-view-box properties 10:32:15 PROPOSED: SVG viewBox and preserveAspectRatio become presentation attributes that map to CSS object-view-box, object-position, and object-fit, subject to approval by the SVGWG 10:32:16 q+ 10:32:48 ydaniv: pAR has totally different values and works completely different 10:32:54 TabAtkins: they're spelled differently but map perfectly 10:33:10 RESOLVED: SVG viewBox and preserveAspectRatio become presentation attributes that map to CSS object-view-box, object-position, and object-fit, subject to approval by the SVGWG 10:33:15 ack ydaniv 10:33:19 RRSAgent, draft minutes 10:33:20 I have made the request to generate https://www.w3.org/2026/10/29-css-minutes.html karlcow 10:34:10 topic: break 10:36:04 cabanier has joined #css 10:37:21 nigel has joined #css 10:40:51 emeyer has joined #css 10:45:47 Opened https://github.com/w3c/svgwg/issues/1232 10:56:48 nigel has joined #css 11:01:35 emeyer has joined #css 11:01:56 ydaniv has joined #css 11:02:05 scribe+ 11:02:39 github-bot, take up https://github.com/orgs/w3c/projects/252/views/1# 11:02:39 ydaniv, I can't comment on that because it doesn't look like a github issue to me. 11:02:57 Topic: Spatial Layout 11:02:57 romain has joined #css 11:02:57 github-bot, take up https://github.com/w3c/csswg-drafts/issues/6900 11:02:58 Topic: Republishing Tasks Permathread 11:02:58 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/6900 11:02:59 github: https://github.com/w3c/csswg-drafts/issues/6900 11:03:01 present+ 11:03:18 s/Topic: Republishing Tasks Permathread// 11:03:35 estelle has joined #css 11:03:48 https://github.com/WebKit/explainers/blob/main/css-spatial/explainer.md 11:03:48 fantasai: we had a talk in the CG to adopt a draft in CSSWG 11:03:59 https://webkit.github.io/explainers/css-spatial/Overview.html 11:04:10 +1 11:04:14 ... that's the explainer ^ 11:04:38 astearns: are there any changes to what is in these docs/discussed in that session? 11:04:43 q+ 11:04:45 fantasai: some minor clarifications 11:05:06 TabAtkins: no big changes, some details, as result some small questions 11:05:14 ack vmpstr 11:05:21 vmpstr: just to confirm it's ED? 11:05:21 fantasai: yes 11:05:38 astearns: so at some point we'll discuss when it's ready for FPWD? 11:05:53 fantasai: yes, we'll prepare it 11:06:08 fantasai: not done yet, but working on it 11:06:32 astearns: slight concern about engine priorities. I know some are interested, can we get update from the rest? 11:06:55 fantasai: it's a long project, have some prototyping, in WebKit for instance. 11:07:17 ... It's a big change from impl. POV, it'll take a while to get someting shipable 11:07:17 q+ 11:07:33 astearns: has some concerns from Meta... 11:07:44 cabanier: 11:08:36 cabanier: had some reservations, will raise in the issue, not urgent 11:08:48 astearns: other comments? 11:08:56 ack florian 11:09:14 florian: if there's no case of anyone saying "this is crazy", then let's get the draft 11:09:36 PROPOSED: start a draft with css-spatial 11:09:37 kyerebo has joined #css 11:09:42 astearns: obejctions? 11:09:44 "CSS Spatial Layout Module Level 1" 11:09:54 RESOLVED: start a draft with css-spatial-1 11:10:12 github-bot, take up https://github.com/w3c/csswg-drafts/issues/14275 11:10:13 Topic: [css-link-params] `param()` should use a colon, not a comma 11:10:13 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/14275 11:10:53 TabAtkins: was raised by lea, currently when you usel link params, iit takes the name : and params 11:11:22 present+ 11:11:35 q+ 11:11:40 ... currently the value is a fallback, lea suggested using the : to separate the value which is more like defining a custom prop 11:11:45 ... looks more natural 11:11:52 ... I'd like to not do this 11:12:07 ... it's a special case, 11:12:29 ... we should continue to use the normal chars as much as possible, so comma is the way to go 11:12:42 ... feels more similar to functions in this space, would like to reject 11:12:54 ack lea 11:13:01 lea: I agree the motivation is reduced now that it's shipped to look like a fallback 11:13:13 ... what you describe it's like a shortback, but it's acutally a fallback 11:13:29 ... it's easier to copy from elsewhere and put in there 11:13:42 ... it makes it more consistent with rest of CSS 11:13:46 q+ 11:13:50 ... with commas it's harder 11:14:12 space separated? 11:14:14 ... I think more like an assignment than a fallback and would make more sense with a : 11:14:18 ack kizu 11:14:36 kizu: mostly ambivalent, remmber we had a talk about named params for custom functions 11:14:39 qq+ 11:14:53 ... I think having regular functions with same syntax would be consistent with this 11:14:59 ... it's simpler 11:15:00 ack lea 11:15:00 lea, you wanted to react to kizu 11:15:17 lea: that's a great point, makes it more consistent 11:15:40 TabAtkins: the syntax I would like to use for function params is comma 11:15:50 s/comma/colon/ 11:15:57 ack fantasai 11:16:27 fantasai: I strongly agree with lea it should be a colon 11:16:46 ... you could say I want that value and that should be a colon 11:16:53 ... it's much clearer it's not a fallback 11:17:20 TabAtkins: ok if we want to resolve on colon 11:17:21 q? 11:17:38 We could conceivably introduce comma syntax in the future *as a fallback* 11:17:44 PROPOSED: Use a colon to separate name and value in `param()` 11:18:18 astearns: objections? 11:18:32 RESOLVED: Use a colon to separate name and value in `param()` 11:18:43 github-bot, take up https://github.com/w3c/csswg-drafts/issues/14447 11:18:43 Topic: [css-link-params] Passing `currentColor` (and other state) without requiring the receiving SVG to have a param 11:18:43 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/14447 11:19:13 karlcow has joined #css 11:19:26 lea: now every popular icon lib utilizes currentColor as default color 11:19:44 ... I would like for things possible today to be possible today without changing code 11:20:14 ... so it won't slow adoption of link params, and would libs to stop using hacks 11:20:23 q+ 11:20:33 ... so that we have an easy way to pass currentColor without handshake on icon's side 11:20:45 https://github.com/w3c/csswg-drafts/issues/14447#issuecomment-5798564345 11:20:51 ack TabAtkins 11:21:09 hyojin has joined #css 11:21:18 TabAtkins: one of qs that was raised, for monocolor icon sets, do they set the fill or use currentColor? 11:21:38 ... in font-awesome the rely on current color, others as well 11:21:42 q+ 11:21:52 scribe+ 11:21:56 ack ydaniv 11:22:00 +1, our source icons in our design-system are stored also currentColor-styleable, although we’re putting them into JSX, but with this we won’t have to adjust the icons themselves 11:22:01 ydaniv: From what I know, everyone relies on currentColor 11:22:10 ... and uses translucent shading to create a secondary color 11:22:15 ... so +1 to what's suggested 11:22:21 estelle has joined #css 11:22:23 q+ 11:22:30 ack lea 11:22:40 q+ 11:22:55 lea: also, one thing in the issue is that authors don't write the SVG themselves, they just use it via components 11:23:23 ... out of all packages the website imports, it has to be the icon lib that does it 11:23:42 kbabbitt: we're talking about the author would still need to pass the currentColor explicitly? 11:23:44 TabAtkins: yes 11:23:45 Btw FYI the masking workaround authors use today: https://github.com/GoogleChrome/modern-web-guidance-src/blob/main/guides/ui-atoms/icons/guide.md 11:23:47 +1 11:23:54 kbabbitt: yea worried about we compat 11:23:56 ack fantasai 11:24:03 ack kbabbitt 11:24:10 fantasai: we need to discuss the mechanism for that, TabAtkins suggested to change the initial value 11:24:27 ... I think behavior we want is that the value we passing is the value it inherits 11:24:48 ... so the root either gets it as their value, or that the root inherits that value 11:25:01 TabAtkins: don't have a strong opinion, but happy to go with either 11:25:02 s/yea worried about we compat/okay with this as long as it's explicit opt-in, otherwise would have been worried about web compat/ 11:25:21 fantasai: also that we'll be able to pass font info 11:25:21 q+ 11:25:34 q- 11:25:50 astearns: let's limit discussion current color for now, and then move the rest to other issues 11:26:00 fantasai: so how do we pass it? 11:26:11 param(color) 11:26:23 TabAtkins: so proposed syntax is that you ass param: color 11:26:44 s/param: color/param(color), matchig the property name/ 11:28:16 emilio: why not just say the the UA stylesheet has [missed] 11:28:40 ... if there will be an env() then do a magic thing? 11:28:40 +1 11:28:42 `:root { color: env(color); } 11:28:43 TabAtkins: ok 11:28:48 fantasai: yeah not a problem 11:29:08 emilio: so we can have env(color) with canvas fallback 11:29:11 TabAtkins: yep 11:29:19 CanvasText but yeah 11:29:22 `:root { color: env(color, CanvasText) }` 11:29:32 astearns: sounds like agreement 11:29:48 astearns: questions about this? 11:29:57 PROPOSAL: param(color) allows passing color to embedded content, and is implemented on the recieving side via :root { color: env(color, CanvasText) } 11:30:03 astearns: obejctions? 11:30:13 PROPOSAL: param(color) allows passing color to embedded content, and is implemented on the recieving side via :root { color: env(color, CanvasText) } in the UA stylesheet 11:30:32 RESOLVED: param(color) allows passing color to embedded content, and is implemented on the recieving side via :root { color: env(color, CanvasText) } in the UA stylesheet 11:30:53 github-bot, take up https://github.com/w3c/csswg-drafts/issues/14495 11:30:54 Topic: [css-link-params-1] What do you mean by "used value"? 11:30:54 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/14495 11:31:25 fantasai: the draft says that when we pass a property it's the used value 11:31:50 ... I think we probably mean to be more specific, for colors it's obviouls the used and not computed 11:32:30 ... for accent-color the property should be the used value, but I think in general the computed value would work better 11:33:01 q+ 11:33:21 ... suggestion that we pass standard value we pass computed value, with exception on color to be used 11:33:31 ack TabAtkins 11:33:36 TabAtkins: for accent-color, agree that's fine 11:34:25 ... for the wider issue, I think we want value to be what it would be on the referencing element, since it's resolved on the element 11:34:40 ack fantasai 11:34:45 ... so if the resolving could be more absolute and not require the context 11:35:32 q+ 11:35:38 q+ 11:36:26 andreubotella has joined #css 11:36:27 fantasai: The second reason I think we need to use computed value in general, rather than used value, is that the used value is *not well-defined* in general! 11:36:44 ... Computed value is, we rely on it for gCS() and transitions and animations. 11:36:57 ... We have to start with the computed value, and modify it in the cases we need in a well-specified way 11:36:59 TabAtkins: Computed value is not fit for purpose; we need it as absolutized as possible. I'm okay with "computed value, with this specific fully-absolutized Algo", tho. 11:37:04 fantasai: Like absolutizing colors 11:37:19 ... we can't say "absolutize things to used values", that's not sufficiently well-specified 11:37:43 TabAtkins: we need computed value + absolute utilization list 11:37:50 ack romain 11:37:56 Tab gave example of needing to absolutize the URL. 11:38:10 romain: not sure but can SVG have the color-scheme meta tag? So that it can only support dark mode? 11:38:14 q+ 11:38:40 TabAtkins: SVG is embeded, it has color-scheme, but the SVG can not self define it's preferences 11:38:45 ack SimonSapin 11:39:14 SimonSapin: used value is not always in momory in all impls 11:39:50 TabAtkins: note it doesn't pass arbitrary values, we have 2 or 3 props with simple types, but while most properties don't define used values it's fine 11:39:56 ack oriol 11:40:11 oriol: other than colors, would like to ask about where legnth-percentage get resovled? 11:40:34 fantasai: for properties that inherit that you want to pass you want them to resolve contextually 11:40:47 ... you want percentage to be passed and resolved inside 11:41:13 TabAtkins: if you have a layout percentage it would not get resolved 11:41:22 Examples: letter-spacing, text-underline-offset 11:41:36 These need to be inherited and resolved on the element they apply to 11:41:39 astearns: we have a proposal from fantasai, with an exception for color 11:41:55 ... we have another suggestion from TabAtkins 11:42:07 TabAtkins: computed value is unusable in some cases 11:42:09 q+ 11:42:18 PROPOSED: Properties passed via param() pass the computed value, with specific defined modifications (e.g. absolutizing and ) 11:42:26 astearns: are those cases slowing down, and we can not have an exception list? 11:42:46 s/slowing down/ 11:42:59 TabAtkins: if we call this an expcetion list or absolute utilization I don't care 11:43:07 q+ 11:43:12 ack emilio 11:43:27 emilio: wanted to ask for concrete case of computed value that is not color 11:43:41 TabAtkins: URLs for instance 11:43:59 kiet has joined #css 11:44:10 fantasai: I think we can start with color on the list 11:44:21 q+ 11:45:07 emilio: with the color special case, current-color will be the absolute value, will work just fine, even if you pass relative color? 11:45:31 fantasai: so question is does author wants to pass it as absolute or as relative to what's inside the image? 11:45:45 TabAtkins: so depends whether you pass it as types or untyped 11:45:53 fantasai: or even typed as a color 11:46:14 background-image: linear-gradient(transparent, currentcolor); is already a computed 11:46:31 TabAtkins: my intention is that if it's typed on the element it will work 11:46:45 can parameters have parameters 11:46:47 Should that resolve to `linear-gradient(transparent, blue)` or remain as `linear-gradient(trasnparent, currentColor)` and resolve on the element it's used 11:47:33 Penny has joined #css 11:47:36 emilio: I think we need to special case the resolved value, as long as we propagate color as absolute thing, I rather not have that special case 11:47:50 TabAtkins: so means what you pass is dependant on how that SVG is authored 11:48:10 ... and you don't want a value to change based on the contents and how it's used inside 11:48:40 emilio: this is not specific to SVG in any way. If you have a custom element you hit the same issue 11:49:00 TabAtkins: those 2 feels like different cases 11:49:04 fantasai: agree with emilio 11:49:13 ack lea 11:49:54 lea: wanted to say there are more places in CSS where we used computed values, been thinking on fantasai's question, don't know didn't encounter these cases 11:50:20 ... so can't answer it, it might be a footgun if you forget to pass color, but today these are less relevant 11:50:54 ... another question was, there's wierdness with private color, don't know if what we deciided here complicates it? 11:51:03 ack kizu 11:51:39 kizu: wanted to add if things shift and become not interop, like you get bad calculations that don't resolve properly 11:51:48 ... would be useful to check edge cases 11:51:56 ack fantasai 11:52:18 fantasai: taking this into consideration, I think color the property is the exception 11:52:32 ... we might want to add letter-spacing to the exception 11:52:49 ... it's would of properties you need in addition to font 11:53:20 ... I think also considering background-image, I think we need all absolutised, just color 11:53:26 @dbaron: 12:30-13:45 11:53:39 PROPOSED: Properties passed via param() pass the computed value, with specific defined modifications (e.g. absolutizing 'color' property) 11:54:01 TabAtkins: if current-color works in certain way when passed into the param funciton it should work the same always 11:54:03 q+ 11:54:19 ... if you pas it properly it just becomes black 11:54:25 q+ 11:54:43 ... it could be come confusing, like if you psas other things and don't know how that SVG was authored 11:54:57 ... if you don't pass the value it will resolve as is 11:55:10 ack kizu 11:55:28 kizu: what if we had a funciton for resolving these unknown values? like current color? 11:55:42 ... it will allow you not to resolve at used value time 11:56:01 ... and then when pass values through that it just works? 11:56:17 astearns: so that's a value state behind the funciton 11:56:20 ack emilio 11:56:36 s/that's a value/that's a new value/ 11:56:39 emilio: if you wanna pass current color from the embedder to SVG? 11:56:57 ... should we just to param color by default? 11:57:15 TabAtkins: that's imcompat with current usage 11:57:44 emilio: still feel that special casing in the resolution is unfortunate, rather not 11:58:03 ... if you override stuff you can if you want to, but it's literatlly how custom properties work 11:58:14 ... rather not resort to magic 11:58:38 ... feels kind of annoying to implement 11:58:53 ... agree that the use case for color inside the SVG is rather niche 11:59:20 ... it's going to be incosistent either way, so rather do a simple thing 11:59:28 ack fantasai 11:59:28 fantasai, you wanted to say that if we do that, we should do it in general 11:59:54 Yes, I meant it as a general one 11:59:56 fantasai: back to kizu's comment, I think we should allow something that should be generally available in CSS, so authors can choose when to absolutize something 12:00:07 does that apply gamut mapping? because we want that part anyway :) 12:00:17 ... to get the value either where it's used 12:00:30 ... regardless, the color needs to have some exception 12:00:45 ... if we pass computed value and absolutize color typed 12:01:24 ... given emilio's comments, I lean to towards second, which is absolutize just the color property but not the type 12:01:40 TabAtkins: it means that all value that absolutize at used time work normally 12:01:56 ... but if you inherit color it works as expected 12:02:25 fantasai: what we try to do is you get computed value, the color gets passed through as absolutized 12:03:18 ... if we model color to set to black unless you pass the param and set to something else then [miseed] 12:03:23 TabAtkins: then it's a special case 12:03:49 emilio: to me still feels consistent, if you want the absolute version from the parent you pass it in 12:04:14 ... we do need an opt-in in some way, or potentially if you specify link params at all ... 12:04:28 emilio: then we don't need the link params at all 12:05:23 fantasai: here's the model we can compare, if you say param: --foo it will pass the things in it too 12:05:39 ... that gives us a consistent model 12:05:52 astearns: would like to either resolve on something or push to side conversations 12:06:03 TabAtkins: agree to resolve 12:06:28 TabAtkins: Agree to defer, I still feel pretty strongly and won't agree to the proposed resolutions right now 12:06:30 Model is basically subtree-root { all: initial; } is set by default on embedded document instead of inheriting through 12:06:35 and param() overrides e.g. 12:06:49 param(color) creates { all: initial; color: color-value; } 12:07:00 ScribeNick: TabAtkins 12:07:04 This creates a consistent model with how inheritance works everywhere else 12:07:14 github-bot: topic https://github.com/w3c/csswg-drafts/issues/218 12:07:14 Topic: [css-content] Clarify how 'content' alt should work if images fail to load or are disabled 12:07:14 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/218 12:07:53 fantasai: for broken images, we don't have interop on what the content alt does 12:07:56 fantasai: three options 12:08:08 fantasai: one, render as an image with no natural dimensions, transparent black 12:08:12 fantasai: two, broken image icon 12:08:17 fantasai: three, render as the alt text 12:08:23 fantasai: I don't know whats' the right answer 12:08:37 astearns: Christoph says we resolved on the broken image? 12:08:52 fantasai: that was about a broken **, this is about 'content' and it would be circular 12:09:05 astearns: I think rendering the alt text would be problematic if the thing the alt text would refer to isn't there 12:09:27 alt txt is not a description, it's a replacement 12:09:28 fantasai: alt text is *for* when the thing isn't there 12:09:33 +q 12:09:44 q+ 12:10:04 ack estelle 12:10:07 TabAtkins: Not one, that's disruptive from layout 12:10:27 ack JohnJansen 12:10:27 estelle: if the image doesn't load we shoudln't render the alt, we shoudlnt' pass content to the page that's not translateable 12:10:37 We do weird things for a broken image (its not a replaced element, but an random inline thing). 12:10:42 JohnJansen: I'm in favor of broken image icon, seems clear what's happening. Rendering just alt text, you don't know there's a broken image. 12:10:44 q+ 12:10:53 ack emeyer 12:10:59 You could do broken image + alt text? 12:11:05 emeyer: I like broken image icon. i'm old and remember when they were everywhere 12:11:18 emeyer: i'm curious about estelle's point about translation. is that true it can't be translated? 12:11:32 fantasai: we're already providing the alt text to the a11y tree, this is just a q of what we display to the page 12:11:41 emeyer: my initial thought was, a broken image icon + the alt text 12:11:54 emeyer: but if there's an a11y problem... i'm trying to determine if there is such a barrier 12:11:56 sbender has joined #css 12:12:10 What's the current behavior? 12:12:14 astearns: if we are rendering from the content, we're also providing alt text from the property 12:12:21 astearns: if there'sa translatability issue we already have it there, too 12:13:07 TabAtkins: if you're using a translate tool, it onlys ees the DOM text. this is a general issue with all gencon text and translate tools, tho 12:13:16 astearns: hearing some consensus to render the broken image icon? 12:13:35 fantasai: i agree with tab that there's a general problem with translation here 12:13:45 fantasai: but I think eric's suggestion makes sense to me 12:13:47 +1 to rendering both 12:13:52 astearns: broken image + alt text 12:14:01 fantasai: yeah, you have some representation of what's missing 12:15:00 TabAtkins: If you've translated the rest of the page to e.g. Japanese, have a problem with generated content regardless whether the iage is broken 12:15:05 s/iage/image/ 12:15:40 +q 12:15:43 TabAtkins: To the extent that someone doesn't understand the 'alt' text because not translated, if we don't display the alt text then they still don't understand what the alt text is (cuz not displayed) so that's not exactly better 12:16:05 estelle: my concern is you might have a little icon, the alt text can be explanatory 12:16:10 q+ 12:16:20 estelle: so if there's a way to limit the characters or something... we don't know how big the image was originally 12:16:32 estelle: so you can mess up the entire layout by adding a good bit of text 12:16:50 fantasai: note that this isn't general images, just generated content, which is usually decorative and generally be short. 12:17:04 estelle: if it's decorative should be the empty string 12:17:21 ack estelle 12:17:24 ack miriam 12:17:30 miriam: same, it's almost always in use as an empty string 12:18:21 kiet: I like rendering both image and text. I checked browsers, Safari has only broken image, Chrome has both, Firefox has only alt text. I like the "both" best. 12:18:47 astearns: so two viable proposals. one, render just the broken image. second, render broken image + alt text. 12:18:59 fantasai: clarification, kiet was testing , not ::before{content} 12:19:05 astearns: ah, so might not have multiple impls 12:19:16 fantasai: Yeah, I forget details, but I know impls aren't consistent. 12:19:27 astearns: can we resolve on doing the broken image icon and punt on rendering the text? 12:19:29 +1 12:19:34 +1 12:19:49 seems least intrusive 12:19:51 PROPOSED: Render broken image and maybe render alt text 12:20:02 RESOLVED: Render broken image and maybe render alt text 12:20:31 github-bot, topic https://github.com/w3c/csswg-drafts/issues/5478 12:20:32 Topic: [css-content] Quote character choice must depend on surrounding language, not language of the quotation 12:20:32 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/5478 12:21:06 fantasai: We resolved on some behavior for how we do the lang of the quotation mark, but didn't name the ekeyword 12:21:15 fantasai: we edited in it, but need the keyword name. we propose match-parent 12:22:18 q+ 12:22:20 q+ 12:22:26 TabAtkins: [summarized previous discussion] 12:22:28 ack JohnJansen 12:22:33 JohnJansen: do we have impls of the old 'match-parent' keyword? 12:22:44 q+ 12:22:50 fantasai: it was added recently, in response to this issue, before we decided we wanted a different behavior. not too concerned. 12:22:50 ACK florian 12:23:18 florian: This makes sense to me. From the POV of this has effect in the pseudo, this is actually the grandparent, but it is indeed the parent of the quote element. 12:23:23 florian: so okay with me 12:23:44 astearns: from my memory, the i18n WG is good with this behavior, and they didn't care what we called it 12:23:59 astearns: so proposed resolution is: name this new behavior "match-parent" 12:24:08 RESOLVED: name this new behavior "match-parent" 12:24:09 q+ 12:24:17 ack astearns 12:24:17 ack astearns 12:24:26 ack romain 12:24:38 romain: related - if you name something "bikeshed-this" in the spec, it'll get picked up by tools 12:25:12 q+ 12:25:12 TabAtkins: Can we get a special case so we can still have something as a placeholder? 12:25:15 romain: if it's fixed, sure 12:25:25 TabAtkins: Yeah, anything matching /\bbikeshed\b/ should work 12:25:33 fantasai: Definitely useful to have a placeholder 12:26:01 florian: slightly broader, the style of theq uote isn't the only thing we want to inherit from the parent 12:26:35 florian: in general, from an i18n POV, the fact that the quote mark is a descendant of the quote element is annoying, you really want to treat it like part of the surrounding text for styling. so there's a broader issue. 12:26:39 github-bot, end topic 12:26:44 fantasai: q about f2f planning 12:27:18 fantasai: tab can probably host in Toronto or MTV, we can host in cupertino, maybe Paris, maybe south korea 12:27:38 fantasai: so q about how people are willing to travel, since we're starting in Redmond in Feb, and ending in panama 12:27:52 andreubotella: there's a tc39 scheduled for sk next year 12:28:13 Shane: I think it's in the fall, dates aren't decided yet 12:28:19 Shane: maybe december 12:28:44 the issue I mentioned earlier about quotes styling needing to depend on the parent element is https://github.com/w3c/csswg-drafts/issues/10468 12:29:16 TabAtkins: we probably want to get a Europe meeting in just for travel purposes, otherwise we'll have *no* Europe for the Europeans the whole year 12:29:25 TabAtkins: also we might be able to do London, we have a chrome team there now 12:34:02 nigel has joined #css 12:34:20 Penny has joined #css 12:36:57 nigel_ has joined #css 12:40:27 seokho has joined #css 12:41:03 sbender has joined #css 12:41:30 sbender_ has joined #css 12:52:58 Penny has joined #css 12:53:22 nigel has joined #css 13:02:43 seokho has joined #css 13:04:24 sorvell has joined #css 13:11:41 nigel has joined #css 13:15:16 seokho has joined #css 13:21:54 seokho has joined #css 13:27:08 nigel has joined #css 13:39:38 nigel has joined #css 13:41:33 nigel has joined #css 13:44:11 seokho has joined #css 13:45:08 emeyer has joined #css 13:47:05 andreubotella has joined #css 13:47:55 romain has joined #css 13:48:09 +present 13:48:12 kbabbitt has joined #css 13:48:13 present+ 13:48:14 present+ 13:48:27 github-bot: take up https://github.com/w3c/csswg-drafts/issues/14601 13:48:27 Topic: [css-overscroll-2] :overscroll-open/closed look cyclic to me. 13:48:27 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/14601 13:48:54 flackr: Emilio raised the issue. if you have a pseudoclass that can select based on the state, and a property that can disable overscrollareas, you can create a cycle 13:48:54 karlcow has joined #css 13:49:16 flackr: in the breakout, he suggested the state could persist even if you set overscroll-container-type:none 13:49:27 flackr: so we could have that state persist so it's not cyclic. that seems like a fine resolution. 13:49:38 flackr: the way we avoided it in chromium is we prevented its use in :has() 13:49:44 flackr: but that doesn't have precedent yet, happy to avoid it 13:49:55 q? 13:50:11 ack florian 13:50:36 TabAtkins: I think there was a similar state-persistence issue for dialogs, right? they remain open even when display:none 13:50:57 ydaniv has joined #css 13:51:07 dholbert has joined #css 13:51:11 Proposed resolution: the overscroll state still applies even when overscroll-container-type: none to avoid cycles 13:51:22 +1 13:51:43 RESOLVED: the overscroll state still applies even when overscroll-container-type: none to avoid cycles 13:51:49 dholbert has joined #css 13:51:56 present+ 13:52:16 davidjmarland has joined #css 13:52:54 github-bot: take up https://github.com/w3c/csswg-drafts/issues/14614 13:52:54 Topic: [css-overscroll-2] Should OverscrollEvent be more specific to avoid conflicting with WICG proposal 13:52:54 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/14614 13:53:26 flackr: there was a wicg proposal a long time ago to define "overscroll events" 13:53:41 flackr: this similarly refers to scroll range, but very different bheavior 13:53:54 flackr: some of the same use-cases, but a number of things that aren't enabled by this 13:54:01 flackr: I don't know if it's worth avoiding overlap 13:54:06 q+ 13:54:11 flackr: think it's probably not super important? but it was raised on the related repo 13:54:36 vmpstr: I agree, I think the wicg repo hasn't had activity in several years, don't think there are any impls happening or planned 13:54:40 flackr: I think none, yes 13:54:55 flackr: but would we pick up the feature again? and if we did, are we sad we can't use those names? 13:55:17 vmpstr: I don't really think so. unless there's a simple alternative to the names... I don't want to complicate our naming more just to avoid a hypothetical conflict 13:55:20 ack vmpstr 13:55:23 ack fantasai 13:55:35 fantasai: what's the event names again, how are they different? 13:55:41 vmpstr: overscrollstart and overscrollend 13:55:56 vmpstr: in our spec they mean you begin (or finish) bringing the overscroll area into view 13:56:04 vmpstr: in the other spec you begin an overscroll (rubber banding) 13:56:25 flackr: the conflict is actually only with the type of the event. the name in the other spec is "overscroll" 13:56:49 TabAtkins: just the name of the event class? I really dont' care about that, then. 13:57:02 sueneu has joined #css 13:57:07 q+ 13:57:22 dbaron: for a mouse over event, the event is MouseEvent 13:57:27 dbaron: similar, then 13:57:52 present+ 13:58:19 TabAtkins: the other spec's events might want to expose different information than our spec, so we might want a different event class. 13:58:21 ack kbattitt 13:58:28 ack kbabbitt 13:58:30 TabAtkins: but the even tnames aren't in conflict. they can just use a different class name 13:58:48 kbabbitt: so just making sure I understand... the same term "overscroll" is used for both these areas and the rubber banding? 13:58:54 estelle has joined #css 13:58:57 flackr: hypothetically - the rubber banding one is a wicg proposal 13:59:08 kbabbitt: ah, I guess hypothetical is fine 13:59:29 proposed: no change, dibs aren't real 13:59:36 RESOLVED: no change 13:59:37 while we're here, should overscrollchanging be overscrollchange? 14:00:18 github-bot, take up https://github.com/w3c/csswg-drafts/issues/14602 14:00:18 Topic: [css-overscroll-2] What does the overscroll-area-parent-box inherit from? 14:00:18 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/14602 14:00:46 emilio: the spec mentions that there's some special inheritance happening between these boxes 14:00:57 emilio: it seems that the idea was to propagate some properties from the container to these areas? 14:01:05 emilio: but we also have the opposite thing happening sometimes... 14:01:16 emilio: these elements wrap the targets. unclear if they should inherit from the target or the container 14:01:20 emilio: I think it got clarified? 14:01:24 flackr: they inherit from the target, the area 14:01:44 flackr: they don't inherit anything from the container, just their behavior (whether they push or overlay) is determined by the container 14:01:55 emilio: ok, it just needed to be a little explicit 14:02:14 emilio: it feels a little ehacky to use it to inherit overscroll-behavior, but I guess it makes sense 14:02:30 PROPOSED: clarify that the area's containing block inherits from the area 14:02:35 RESOLVED: clarify that the area's containing block inherits from the area 14:02:49 github-bot, take up https://github.com/w3c/csswg-drafts/issues/14603 14:02:50 Topic: [css-overscroll-2] Overscroll area style adjustments 14:02:50 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/14603 14:03:19 the overscrollarea positioning section specifies that it overrides position to either abspos or fixpos, and has special for display:contents 14:03:43 emilio: at first I thought the display:contents -> block was weird, but maybe we have precedent for it. Maybe Fullscreen? 14:03:53 emilio: we have precedent for treating contents as none... 14:04:04 flackr: you mentioned that abspos or fixpos causes blockification 14:04:16 emilio: right, so it's a bit redundant, abspos/fixpos already implies blockification 14:04:32 q+ 14:04:39 emilio: the display adjustment isn't implied, and at first I assumed we'd turn contents into none. maybe a bit silly to turn it into block 14:04:43 andreubotella has joined #css 14:04:54 vmpstr: I think it's ::backdrop that is the precedent 14:04:56 ack flackr 14:04:59 https://fullscreen.spec.whatwg.org/#new-stacking-layer 14:05:17 flackr: the concern we had was that the dev could specify a position to a value that didn't force blockification 14:05:21 flackr: maybe that's the thing to fix 14:05:27 emilio: I think enforcing abspos/fixpos is fine 14:05:37 emilio: the other part is just redundant, can move to a note 14:06:06 flackr: so the proposal is, in Overscroll 2, we force abspos or fixpos, and remove mention of blockification 14:06:07 https://drafts.csswg.org/css-position-4/#top-styling 14:06:18 flackr: and I think there's a second resolution we can do after 14:06:45 RESOLVED: force abspos or fixpos, and remove mention of blockification 14:06:52 emilio: and then what to do about display:contents? I don't feel super strongly 14:06:59 emilio: the precedent we have is top layer styling 14:07:09 emilio: and also SVG, which computes to none 14:07:19 emilio: I guess this is more similar to top layer, so okay to match that and turn it to block 14:07:38 emilio: I guess it's fine either way. maybe drop a reference to top layer so we know why we did this 14:08:06 JohnJansen: so proposal is to leave the spec as-is, but add a note explaining why contents becomes block (matching top layer elements) 14:08:23 RESOLVED: leave the spec as-is, but add a note explaining why contents becomes block (matching top layer elements) 14:08:34 github-bot: take up https://github.com/w3c/csswg-drafts/issues/14604 14:08:36 Topic: [css-overscroll-2] Do we need ::overscroll-backdrop? 14:08:36 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/14604 14:08:44 emilio: this was touched on yesterday 14:09:04 emilio: it seems like the spec introduces a new ::overscroll-backdrop name, but we already use ::backdrop for several different things 14:09:26 emilio: as long as you can distinguish with pseudo-classes, should be fine to just reuse ::backdrop, so we don't have different names for the same thing 14:09:37 q? 14:09:39 flackr: in our impl I don't think there was any reasons we couldn't use ::backdrop 14:10:00 flackr: and a dialog having an overscroll area seems a little odd anyway. I'm not opposed to using ::backdrop 14:10:03 q+ 14:10:23 emilio: yeah, the mix already happens, you have a model dialog that's also Fullscreen, you only get one backdrop with a mixture of rules 14:10:23 ack vmpstr 14:10:52 q+ 14:10:55 vmpstr: in principle i'm okay with this. worry there's not a dialog::backdrop UA stylesheet that should apply to dialog backdrops in the top layer, but shouldn't if dialog is an overscrollarea 14:11:09 vmpstr: inherently a little ambiguous, just have to be a little careful to do it correctly everywhere 14:11:35 emilio: looking at our code, we do enforce backdrop to be in top layer right now, but I think that's just Because, we only generate it in the top layer in fact 14:11:53 emilio: in fact it might not even do anything... 14:12:02 q+ 14:12:11 ack flackr 14:12:41 flackr: a possible reason to prefer ::backdrop is the fallback that Vlad mentioned yesterday is devs using a popover for these areas. using ::backdrop means they'll get the correct styles either way 14:12:46 ack vmpstr 14:13:13 vmpstr: for impl experience, we started with ::backdrop and then went to ::overscroll-backdrop just because there's a lot of places where you have to be careful about what kind of backdrop you're doing 14:13:28 vmpstr: so we'd have to review things in the code 14:13:40 flackr: I think some technical complexity is okay, should do what's best with authors 14:13:42 +1 flackr 14:13:50 emilio: curious about those, I think in gecko we don't special-case it much 14:13:53 Though I'm not 100% sure here which one that is :) 14:14:07 emilio: I don't think we have alyout special cases 14:14:27 JohnJansen: so proposal is to just use ::backdrop? 14:14:37 s/alyout/layout/ 14:14:42 q+ 14:15:02 emilio: it seems there needs to be something about it being contained ? 14:15:12 flackr: it's generated by the area, contained by the container for the area 14:15:13 ack davidjmarland 14:15:25 davidjmarland: the backdrop terminology implies it's behind the area 14:15:39 davidjmarland: it's over the inert stuff, right? 14:15:40 flackr: yes 14:15:49 davidjmarland: okay so it is correct to call it a backdrop, then 14:15:58 emilio: so it seems like people are okay with doing ::backdrop 14:16:12 emilio: just need some extra text to make sure it's parented to the container in the layout tree, rather than the area 14:16:21 vmpstr: I believe there's text in the spec to that effect. 14:16:33 vmpstr: the box is parented to the container. i'll verify that's the case in the spec 14:16:33 +1 for ::backdrop 14:16:40 +1 14:16:41 PROPOSED: use ::backdrop 14:16:52 s/to the container/to the scroller that contains the area/ 14:16:56 emilio: the current wording might be fine, given how overscrollarea parents are styled 14:17:23 RESOLVED: use ::backdrop 14:18:13 github-bot: take up https://github.com/w3c/csswg-drafts/issues/6900 14:18:13 Topic: Republishing Tasks Permathread 14:18:13 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/6900 14:18:21 flackr: suggestion to pub as fpwd 14:18:33 ChrisL: how much of this discussion will be in the spec before we publish? 14:18:48 flackr: i'm happy to make the edits first and then publish 14:19:05 RESOLVED: Publish FPWD of Overscroll 2 after edits 14:19:25 github-bot, take up https://github.com/w3c/csswg-drafts/issues/13784 14:19:26 Topic: [css-image-animation] Conveying role, states, properties to platform AAPIs 14:19:26 OK, I'll post this discussion to https://github.com/w3c/csswg-drafts/issues/13784 14:19:40 florian: we've been discussing a property to turn on/off animation of gifs 14:19:50 florian: before this property existed, animated images existed 14:20:07 florian: the discussion of image animation ahs raised to the surface the idea that the statefulness isn't in the a11y tree 14:20:18 florian: a