17:00:17 RRSAgent has joined #css 17:00:17 logging to https://www.w3.org/2021/11/17-css-irc 17:00:19 RRSAgent, make logs Public 17:00:20 Meeting: Cascading Style Sheets (CSS) Working Group Teleconference 17:00:24 present+ 17:00:35 present+ 17:00:36 (I'll be silent for 10-15min; driving home from daycare drop-off) 17:01:21 smfr has joined #css 17:01:35 dino has joined #css 17:01:47 dlibby has joined #css 17:01:49 TYLin has joined #css 17:01:55 r12a has joined #css 17:02:11 present+ 17:02:13 present+ 17:02:23 tantek has joined #css 17:02:24 present+ 17:02:41 ScribeNick: fantasai 17:02:45 present+ 17:03:58 Topic: Meeting Scheduling 17:04:08 astearns: Cancelled meeting next week and last 2 weeks of December 17:04:10 present+ 17:04:12 astearns: due to holidays 17:04:15 present+ 17:04:19 astearns: but we have a lot of Agenda+ items 17:04:26 astearns: so maybe want to add extra meeting time 17:04:34 lea has joined #css 17:04:37 astearns: could add extra time in December, or in January 17:04:45 astearns: Please let me know if any preferences on this 17:04:46 jensimmons has joined #css 17:04:53 astearns: or if there's a set of topics for a breakout session 17:05:09 present+ 17:05:10 astearns: so far, topics seem mostly mixed, but open to suggestions 17:05:13 GameMaker has joined #css 17:05:13 present+ 17:05:17 present+ 17:05:53 fantasai: My suggestion would be to extend Dec 8th into a vF2F 17:06:06 fantasai: well after Thanksgiving and well before Christmas, and avoids topics dragging into January 17:06:25 Topic: Local Font Access Limitations 17:06:35 github: https://github.com/w3c/csswg-drafts/issues/4497 17:07:17 astearns: Topic is about local fonts needed for i18n particularly 17:07:24 [side discussion about positioning of Agenda Item 9] 17:07:41 smfr: Myles isn't here 17:07:58 s/here/here, probably should be here/ 17:08:17 astearns: Other browsers than Safari probably need to sign on for whatever local font access we decide on here 17:08:22 s/here/here also/ 17:08:30 chris: It would be good to get some movement on this. 17:08:39 chris: Felipe made a good suggestion, and thumbs up in thread 17:08:47 chris: Richard confirmed he liked the suggestion 17:09:00 chris: Maybe we can resolve to accept the suggestion, and then work out the details in the spec 17:09:04 chris: The general principle seems sound 17:09:23 Felipe's suggestion at https://github.com/w3c/csswg-drafts/issues/4497#issuecomment-763459971 17:09:53 astearns: Summary is having some sort of permission interface, where if a web page tries to use a local font and browser notices local font is in system, UI would come up 17:09:59 astearns: timed to make fingerprinting more difficult 17:10:04 q+ 17:10:08 astearns: allows user to enable font access 17:10:11 q+ 17:10:21 r12a: Then can have a checkbox for "don't ask me about this font again" 17:10:26 q+ 17:10:27 jfkthame: Interested in Gecko 17:10:31 ack jfkthame 17:10:38 jfkthame: Doing some foundational work towards potentially restricting font access 17:10:54 jfkthame: One aspect not directly talked about, seems there are several senses in which a website could want to use a locally-installed font 17:10:59 jfkthame: worth highlighting the distinction 17:11:05 jfkthame: might be font name is given in font-family property 17:11:28 jfkthame: so that specific font family is specifically requested, and page would like to use, and might or might not be allowed 17:11:39 jfkthame: But what about font fallback? Character that is not in other fonts 17:11:49 jfkthame: Would that trigger requests like this? 17:12:06 jfkthame: Should there be a user request for fallback, when the character is not available in other fonts? 17:12:09 qq+ to answer 17:12:13 jfkthame: I think the fingerprinting implications are different 17:12:27 jfkthame: I think for fallback, I think it's particularly concerning for minority languages 17:12:35 ack chris 17:12:35 chris, you wanted to react to jfkthame to answer 17:12:40 jfkthame: For such users, any font that supports the language would be helpful 17:12:55 chris: For fallback case, script can know that fallback was used, but doesn't know which one 17:13:09 chris: so imo shouldn't require a user permissions font 17:13:17 ack smfr 17:13:22 jfkthame: well, you are exposing the fact that the user has *a* font that supports these characters 17:13:32 smfr: In general, we don't believe permission prompts are useful solution to this kind of problem 17:13:43 smfr: one reason is user fatigue; users don't read the dialog, just want it out of the way 17:13:56 smfr: Then it's really impossible to explain to users what fingerprinting means and implications 17:13:57 q+ 17:14:03 smfr: .... 17:14:15 smfr: Then users don't understand whether web page or browseris showing the dialog 17:14:26 smfr: long-term approach should be that system fonts have support for these minority languages 17:14:34 smfr: so that we don't need to run into this problem in the first place 17:14:38 ack chris 17:14:41 +1 smfr, permission prompts are not a reasonable answer to this (users can't be expected to make informed consent) 17:15:03 dholbert_ has joined #css 17:15:04 chris: the page gets laid out without the font, the dialog box pops up asking permission to allow this, so that next time come to that site (per origin) not bothered by it 17:15:17 chris: so rapidly not going to run into this problem 17:15:47 ack chris 17:15:55 chris: a font on system that covers the charset vs specific font that gives the right design is different 17:15:58 chris: .... 17:16:14 r12a: There is somewhere a long post on one of these issues where I addressed the question of system fonts being able to display the text 17:16:32 r12a: there are certain scripts and orthographies where not only does it not look good, but it actually causes problems in representing semantics 17:16:50 r12a: Might end up with wrong kind of glyphs, doesn't look the way you expect as a user of tye script 17:16:55 r12a: Don't see any way to rely on system fonts here 17:16:59 suspect r12a is referring to this: https://github.com/w3c/csswg-drafts/issues/4497#issuecomment-594521142 17:17:08 r12a: Also people like font designers have a problem, they can't check their fonts if they can't see them 17:17:15 with Western Syriac example 17:17:16 r12a: Noto fonts are not a panacea 17:17:23 r12a: They are often in need of significant repair to do the job 17:17:30 r12a: Sometimes missing for certain minority scripts 17:17:38 r12a: Not coverage of characters, sometimes not the right glyph shapes 17:17:45 r12a: A dialog box in front of the user is not great 17:17:53 r12a: But it's better than not being able to get the font that you want 17:17:58 r12a: I couldn't think of any better solution to it 17:18:09 r12a: It will probably help if we have the ability to say "don't remind me, about this particular font" 17:18:13 r12a: I don't think there's a good solution here 17:18:24 r12a: If you're creating web pages, you are checking your page using localhost 17:18:31 r12a: and in that situation, there's not going to be any phishing 17:18:39 present+ 17:18:43 r12a: major pain in the butt if you can't spin up the page with the font you'd like to see 17:18:46 localhost is just one example of an origin 17:18:57 r12a: So I'd like to argue that if you're working on localhost, then that should not prevent you from seeing fonts 17:19:18 astearns: My current take is that we're not ready to resolve on anything 17:19:27 astearns: but encouraged by the fact that Gecko is interested in figuring out 17:19:36 astearns: Sounds to me that there are some valid concerns about permission interfaces 17:19:43 astearns: but also valid concerns about not doing anything and just relying on system fonts 17:19:56 astearns: so I hope that people engage on the issue, because this is something that we need to solive 17:20:32 astearns: Thanks, r12a, for joining us 17:20:55 Topic: [css-cascade] When an import rule fails to load or has an unsatisfied condition, does the layer still count? 17:21:00 github: https://github.com/w3c/csswg-drafts/issues/6776 17:21:18 miriam: A few questions in here 17:21:28 miriam: All related to establishing layers inside of an @import statement. 17:21:38 miriam: One question is what to do if the import fails 17:21:48 miriam: other question is what to do if the conditions of the import don't match 17:21:59 present+ 17:22:13 miriam: consensus in the thread was that we should conceptualize this to "layer is wrapped around contents of the import, even if empty due to failure, and condition is wrapped around the whole thing" 17:22:19 miriam: We added language to spec to express it that way 17:22:25 miriam: layer is still added to layer order if import fails 17:22:29 miriam: but not added if the conditions don't match 17:22:39 miriam: that matches the behavior of if you had import inside of layer inside of condition 17:22:44 miriam: wanted to check with WG if this is acceptable 17:22:58 jensimmons: Makes a lot of sense from authoring point of view 17:23:09 +1 from me 17:23:57 RESOLVED: Accept proposal 17:24:18 miriam: This allows us to republish 17:24:27 RESOLVED: Republish css-cascade-5 17:24:32 Topic: [css-values] define parse-time value aliasing 17:24:37 r12a has left #css 17:24:47 miriam: is the changes section up to date? 17:25:00 github: https://github.com/w3c/csswg-drafts/issues/6193 17:25:09 scribenick: emilio 17:26:30 fantasai: Added value aliasing section to cascade-4/5 17:26:35 emilio: Weird that it is scoped to keywords 17:26:53 fantasai: We didn't see any examples of not keywords, but could certainly reword to be more general 17:26:58 emilio `-webkit-image-set()`-> `image-set()` 17:27:06 chris_ has joined #css 17:27:09 Same with a bunch of gradient functions 17:27:14 rrsagent, here 17:27:14 See https://www.w3.org/2021/11/17-css-irc#T17-27-14 17:27:20 fantasai: So functions and keywords, anything else? 17:27:28 s/scribenick: emilio// 17:27:33 I don't _think_ so of the top of my head 17:27:48 astearns: So proposed to take edits, with additional change to add functions 17:27:54 fantasai: sgtm 17:27:59 emilio: sgtm 17:28:16 RESOLVED: Accept edits, expand to allow aliased functions 17:28:17 bradk has joined #css 17:28:35 Topic: [css-values-4] Clarify that function component values need to be followed by parentheses 17:28:40 github: https://github.com/w3c/csswg-drafts/issues/5728 17:29:19 present+ 17:29:25 oriol has joined #css 17:29:36 fantasai: So tab added bikeshed functionality in which he can link to a function definition using `` 17:29:55 fantasai: but this is not actually valid according to our value definition grammar 17:29:57 <'property-name'> 17:30:01 17:30:08 ... that has quoted property references and terminal kws (^) 17:30:22 ... so should we add this to the value-definition grammar and update all specs to use this convention? 17:30:39 ... a subtle thing is that only terminals that represent a function will use this 17:30:53 ... historically we haven't done this, e.g., `` 17:31:08 ... so the question is do we want to extend our syntax in this way 17:31:49 chris_: I would find this useful, have needed vs 17:32:37 astearns: So proposal is to add to our grammar 17:32:43 s/grammar/grammar for specs/ 17:33:07 astearns: Will that require going back and fixing everything? 17:33:16 fantasai: I think it would be useful to make things consistent 17:33:23 fantasai: but I wouldn't do it for 17:33:36 astearns: If not required, it's better; would prefer not to mess with old things 17:33:39 astearns: Any other opinions? 17:33:46 RESOLVED: Add this to the Value Definition Grammar 17:34:04 Topic: [css-position] Behaviour of semi-replaced elements. 17:34:12 github: css-position] Behaviour of semi-replaced elements. 17:34:18 github: https://github.com/w3c/csswg-drafts/issues/6789 17:34:32 iank_: After last week's meeting dholbert did an in-depth investigation, which was great to see 17:34:39 dbaron has joined #css 17:34:41 iank_: test page with a whole bunch of replaced elements, and looked at behavior 17:34:46 Present+ 17:34:55 iank_: we both agreed that it's probably reasonable to stretch in both directions for all semi-replaced elements 17:35:05 iank_: There's no browser which does something consistently, so every browser would need to change 17:35:11 iank_: but this is a straighforward path forward 17:35:27 dholbert_: Every form control is stretched in at least one browser 17:35:36 dholbert_: but not every form control is shrunk in at least browser 17:35:42 iank_: e.g. we stretch in block direction but not inline 17:35:53 iank_: webkit and FF together have complete coverage of stretching in inline direction 17:36:02 astearns: change is to stretch in both directions in all browsers eventually? 17:36:03 iank_: correct 17:36:07 astearns: any other opinions? 17:36:17 fantasai: Tab and I are in favor of this 17:36:46 RESOLVED: Semi-replaced elements stretch in both directions in abspos 17:36:59 iank_: We'll likely make this change in the next few months, and will report back if any web-compat concerns 17:37:30 astearns: Thanks, dholbert_, for your investigation 17:37:43 Topic: Transforms and backgrounds on root element 17:37:48 github: 17:37:48 6. 17:37:55 github: https://github.com/w3c/csswg-drafts/issues/6683 17:37:58 s/6.// 17:38:18 dbaron: obscure passage in the spec, wrote a test for it, and ended up wondering if we really want spec to say this in the first place 17:38:24 dbaron: [quote spec] 17:39:02 dbaron: basically, this is describing a special behavior for fixed backgrounds on root element, saying that transforms apply to that fixed background 17:39:13 dbaron: interesting because normal rules for background on root element say that backgrounds get propagated to canvas 17:39:26 dbaron: and backgrounds on canvas, nothing says anywhere that they are affected by transforms 17:39:39 dbaron: so if you read between lines in spec, I think what it says is that non-fixed background are not affected by transforms 17:39:47 dbaron: could probably make other arguments, though 17:39:58 dholbert has joined #css 17:40:06 dbaron: What I think the spec is saying is that fixed backgrounds are affected by transforms, and scrolled backgrounds are not affected by transforms 17:40:15 dbaron: what my tests found, is that in chromium do the exact opposite 17:40:23 dbaron: i.e. fixed background not affected, but scrolled backgrounds are 17:40:28 dbaron: in Gecko neither is affected by transform 17:40:36 dbaron: and in WebKit both kinds are affected by transform 17:40:41 dbaron: So 4 possible behaviors 17:40:49 dbaron: and every browser fits into a different possible behavior 17:40:52 as a see-also, we have https://bugzilla.mozilla.org/show_bug.cgi?id=1724471 filed on some WPT tests failing due to Gecko's behavior here 17:40:54 dbaron: It's not clear to me we want what the spec says 17:41:04 dbaron: I wanted to see if anyone has an opinion here 17:41:19 smfr: Don't have a clear memory about why spec is the way it is, might have been ease of implementation 17:41:25 smfr: we do special thinks for fixed backgrounds 17:41:44 smfr: but I would expect that it would have been easiest to *not* apply transforms for fiexd backgrounds 17:41:48 smfr: so I'm pretty confused 17:42:04 ack RRSAgent 17:42:13 ack r12a 17:42:25 dholbert: [...] 17:42:46 fantasai: So what do authors expect to happen here? 17:42:53 dbaron: part of what I was wondering 17:43:42 fantasai: so canvas is infinite... 17:43:53 smfr: Think about rotate(45deg); does the background rotate? 17:44:06 dbaron: Unsure anyone cares here, so maybe do the easy thing? 17:44:10 dbaron: so not apply transform 17:44:27 smfr: So if author wanted background to move around, they could put it on body and prevent propagation with different style on the root 17:44:31 smfr: and then transform the body 17:44:35 dbaron: might not cover the same area though 17:44:52 smfr: What happens to gaps revealed by e.g. rotating 45deg? 17:44:59 smfr: are they filled, or ...? 17:45:04 dbaron: WebKit has some bugs around that 17:45:26 astearns: Anyone looked to see if any bugs filed against engines on this? 17:45:30 smfr: don't recall any for WebKit 17:45:38 dbaron: I feel like this is a combination that nobody actually cares about 17:46:00 astearns: so suggestion of never honoring transform, is that ok smfr? 17:46:19 smfr: My concern there is, naively, if root gets transformed, whether background is transformed with it depends on details of impl 17:46:37 smfr: if we end up with behavior change, might force us to do additional work to handle 17:46:47 smfr: I'm OK resolving bg never gets transformed, and if hard, we can revisit 17:46:56 astearns: so chrome would need to change also 17:47:07 dbaron: haven't looked into what's needed for that, but I'm OK looking into it 17:47:30 astearns: proposed that we change spec to say that background on root element are not affected by transforms 17:47:39 dbaron: I think current spec is unclear about scrolled backgrounds 17:47:51 dbaron: you have to infer based on propagation rules 17:48:00 smfr: we've talked about effects of filters on root element in the past 17:48:13 smfr: Chris came up with a proposal for rendering model that allows filters to affect root background 17:48:20 smfr: so maybe review that and see if any of it applies to transforms 17:48:26 dbaron: ok, so let's come back to this later 17:48:41 astearns: so let's review filters and come back to this later 17:48:52 Topic: [css-fonts] @font-face src: url() format() keywords vs. strings ambiguous in spec 17:48:59 github: https://github.com/w3c/csswg-drafts/issues/6328 17:49:40 chris_: Grammar here is complicated due to allowing strings and keywords 17:49:45 chris_: but most compatible form is string 17:49:52 chris_: so we should support string and serialize as string 17:50:15 astearns: do we want to accept keywords as well? 17:50:58 fantasai: let's split into 2 questions, first is resolving on serializing as strings because they are the most backwards-compatible syntax 17:51:22 astearns: does drott have any concerns? 17:51:26 ... 17:51:33 astearns: most backwards-compat usually winning argument 17:51:55 RESOLVED: format() serializes with strings 17:52:20 jfkthame: What are we intending to do with font-technology(), will that take keywords or strings, and will that be confusing? 17:52:35 chris_: That will take keywords as currently specced. Though that can change. 17:52:57 chris_: There's no back-compat concern with technology() 17:53:18 astearns: Since we have back-compat issue with one, maybe all of them should serialize as strings 17:53:32 jfkthame: I'm not sure what I favor 17:53:38 jfkthame: I recognize the back-compat issue 17:53:44 astearns: let's take that as a separate issue 17:54:13 astearns: and resolve to use strings for format() and then find out whether drott agrees, or whether we can do something more complicated, and if string serialization format sticks can decide on consistency for rest 17:54:22 astearns: any other concerns about serializing format() with strings? 17:54:36 RESOLVED: format() serializes with strings 17:55:05 chris_: There weren't font MIME types at IANA, so we faked it by creating our own names 17:55:14 chris_: now there is a fonts/ registry for MIME types 17:55:22 chris_: fantasai suggested that we just use that registry 17:55:31 chris_: but the RFC says that it is informative, and css-fonts-3 is normative 17:55:48 chris_: I think we'd like to change that so that they are normative, and we are informative, and they can handle registration of new formats so we don't have to 17:55:57 astearns: So we would normatively refer to their spec? 17:56:07 chris_: And then errata the RFC so that it no longer says our spec is normative 17:57:06 astearns: ... 17:57:54 fantasai: Shouldn't have different keywords allowed between string or keyword in format() 17:58:23 RESOLVED: font/ MIME type registry manages valid values of format() 17:58:30 ??: What's involved in getting IETF updated? 17:58:40 chris_: I will contact the chair and ask if this is in scope of errata or not 17:58:47 chris_: Unsure if publish a new RFC or not 17:58:53 chris_: if errata, then errata submission form 17:58:54 s/??/PeterConstable/ 17:59:06 chris_: if not then will need to spin up a very small wg to make the change 17:59:09 chris_: but anyway I'll deal with it 17:59:25 astearns: Last thing is whether we accept unquoted keywords 17:59:43 chris_: Does any implementation currently accept keywords for format()? 17:59:49 jfkthame: IIRC webkit does, but haven't checked 18:00:13 chris_: And do we want to continue to allow that and allow other browsers to do so, or get them to fix that? 18:00:32 astearns: out of time, so let's leave issue open on this question and ask for feedback 18:00:38 Topic: End 18:01:03 astearns: Meet again in 2 weeks, please discuss whether to have a long meeting on Dec 8th to get through the agenda 18:03:17 bradk has joined #css 18:17:07 RRSAgent, prepare minutes 18:17:07 I'm logging. I don't understand 'prepare minutes', tantek. Try /msg RRSAgent help 18:17:52 RRSAgent, draft minutes 18:17:52 I have made the request to generate https://www.w3.org/2021/11/17-css-minutes.html tantek 18:18:17 RRSAgent, make minutes public 18:18:17 I'm logging. I don't understand 'make minutes public', tantek. Try /msg RRSAgent help 18:18:19 zakim, end meeting 18:18:19 As of this point the attendees have been chris, plinss, rachelandrew, dholbert, Morgan, argyle, jfkthame, dlibby, dandclark, smfr, tantek, TYLin, jensimmons, lea, GameMaker, 18:18:22 ... miriam, emilio, bradk, dbaron 18:18:22 RRSAgent, please draft minutes v2 18:18:22 I have made the request to generate https://www.w3.org/2021/11/17-css-minutes.html Zakim 18:18:24 I am happy to have been of service, astearns; please remember to excuse RRSAgent. Goodbye 18:18:28 Zakim has left #css 18:54:28 Seirdy has joined #css 19:22:04 jensimmons has joined #css 20:12:49 jensimmons has joined #css 20:54:10 dauwhe has joined #css 20:55:36 antonp has joined #css 20:59:29 jfkthame has joined #css 21:18:32 gtalbot has joined #css 22:15:34 jfkthame has joined #css