15:57:36 RRSAgent has joined #css 15:57:36 logging to https://www.w3.org/2021/06/16-css-irc 15:57:39 RRSAgent, make logs Public 15:57:40 Meeting: Cascading Style Sheets (CSS) Working Group Teleconference 15:58:20 jfkthame has joined #css 15:58:29 fremy has joined #css 15:59:53 present+ 16:00:10 present+ 16:00:25 alisonmaher has joined #css 16:00:35 present+ 16:00:36 present+ 16:00:37 present+ 16:00:44 present+ 16:00:55 oriol has joined #css 16:00:56 we will need a scribe today 16:01:11 present+ 16:01:20 any volunteers? 16:02:10 dlibby has joined #css 16:02:18 ScribeNick: fantasai 16:02:24 present+ 16:02:37 present+ 16:02:45 present+ 16:02:57 present+ 16:02:59 present+ 16:03:10 present+ 16:03:17 present+ 16:03:18 Topic: Color Adjust 16:03:26 github: https://github.com/w3c/csswg-drafts/issues/6310 16:04:05 https://github.com/w3c/csswg-drafts/issues/6310#issuecomment-858112357 16:04:19 Rossen_ has joined #Css 16:04:27 fantasai: the current proposal is not gonna get us in good shape in all cases 16:04:40 present+ 16:04:43 fantasai: currently our resolution would not work if the svg has set its color explicitly 16:04:50 present+ 16:05:07 sanketj has joined #css 16:05:18 fantasai: so my new proposal is that if the color is orginating from outside the svg then we recolor, but if not then we keep it 16:05:33 present+ 16:05:44 fantasai: proposal is to add a new keyword for that magic behavior which depends on the origin of the value of color 16:06:00 q+ 16:06:02 I'm getting very warbled audio - is this is the for others? 16:06:04 fantasai: (if you are not inheriting from outside, then we don't reset the color) 16:06:15 alisonmaher: I agree with the proposal 16:06:21 ack alisonmaher 16:06:27 alisonmaher: only problem I wanted to ask about was whether we can do at computed value time 16:06:47 alisonmaher: if we take the used value of the color, might expose the color where otherwise wouldn't 16:06:54 TabAtkins: :visited won't be exposed that way 16:06:54 smfr has joined #css 16:06:58 TabAtkins: that's done by selector-hacking 16:07:11 TabAtkins: and the rest of colors are already automatically exposed via getComputedStyle 16:07:18 TabAtkins: because gCS returns used value of color 16:07:19 present+ 16:07:20 q 16:07:24 TabAtkins: so not sure there's info leakage problem 16:07:54 Rossen_: While we're on the topic, wrt TAG review 16:08:02 Present+ 16:08:14 Rossen_: We convinced ourselves that having a grouping of color values that we essentially return just defaults for, and lie about the computed or used values 16:08:25 Rossen_: colors used for fingerprinting 16:08:30 Rossen_: could be a good path forward 16:08:42 Rossen_: These are magic values, you won't get the actual values though gCS 16:08:46 Rossen_: benefit of user for privacy 16:09:03 ack fantasai 16:09:15 fantasai: this is a different issue though 16:09:19 fantasai: That's a separate issue, here https://github.com/w3c/csswg-drafts/issues/5710 16:09:49 fantasai: in that issue there are further comments there that says why it's probably not possible 16:10:00 fantasai: but this is not linked to our current issue here 16:10:19 astearns: If we end up doing anything special for particular sources of colors 16:10:28 astearns: if we add this new mechanism, we'd have to do whatever magic here, too 16:10:44 fantasai: You'd also have to taint Canvas, and a lot of other things, yeah. 16:11:04 astearns: alisonmaher is it enough to note that, whatever protections would end up happening here also? 16:11:31 alisonmaher: We're storing [?] in chrome, so would be possible to do at used-value time 16:11:52 fantasai: the issue is that would have to track this down the tree 16:12:16 fantasai: and this type of tracking is usually done via inheritance 16:12:38 fantasai: I don't think implementations have a special inherit for colors 16:12:45 alisonmaher: We inherit that info separately in Chromium 16:13:02 astearns: So what do we resolve to deal with this 16:13:07 fantasai: we need to add a new value 16:13:12 fantasai: We need to a new value to forced-color-adjust 16:13:14 bradk has joined #css 16:13:18 fantasai: as described in https://github.com/w3c/csswg-drafts/issues/6310#issuecomment-858112357 16:13:51 fantasai: We can call it something else, but need something that behaves like that 16:14:05 astearns: New value, not something to add to default? 16:14:10 TabAtkins: Yes, absolutely 16:14:54 TabAtkins: and needs to be set in default UA stylesheet for SVG root element 16:14:59 astearns: exposed to author styles? 16:15:07 TabAtkins: yes; don't want it to be special unspecifiable magic 16:15:13 astearns: So proposed resolution is to add this keyword 16:15:26 bradk has joined #css 16:15:27 astearns: and to add that to the defautl UA stylesheet 16:15:45 present+ 16:15:49 RESOLVED: Add new keyword to forced-color-adjust as described above, apply it in UA default stylesheet for SVG root element 16:16:16 fantasai: other than this issue 16:16:18 https://github.com/w3c/csswg-drafts/labels/css-color-adjust-1 16:16:23 fantasai: we have no other remaining issue for the spec 16:16:32 fantasai: so our plan is to make the edit 16:16:38 fantasai: publish a new draft 16:16:51 fantasai: and ask for last comments before trying to propose to make a recommendation 16:16:54 fantasai: so, heads up 16:17:10 astearns: and get wide review? 16:17:23 fantasai: we already have sent an email (... missed) 16:17:26 https://github.com/w3c/csswg-drafts/issues/5768 16:17:28 in December 16:17:33 astearns: sounds like a good plan 16:17:48 Topic: Compressible Elements 16:18:00 github: https://github.com/w3c/csswg-drafts/issues/6341 16:18:21 iank_: Added table kinda late, can punt to next week if we want 16:18:23 github: none 16:18:26 Topic: Transforms 16:18:55 sub-topic: clamping of perspective() function to >= 1px should affect interpolation 16:18:59 github: https://github.com/w3c/csswg-drafts/issues/6320 16:19:19 astearns: is dbaron on the call? 16:19:44 fantasai: we can skip for a later time 16:19:58 github: none 16:20:06 topic: CSS Fonts 5: font-size-adjust 16:20:11 github: https://github.com/w3c/csswg-drafts/issues/6371 16:20:27 s/font-size-adjust/size-adjust/ 16:20:45 jfkthame: We've implemented size-adjust descriptor in Firefox Nightly, and want to know if stable enough if we can ship to release 16:20:54 jfkthame: My understanding is that Chrome is also wanting to ship soon 16:21:00 agree it's good to ship 16:21:02 a-ja has joined #css 16:21:09 ack fantasai 16:21:13 fantasai: I think the descriptor is pretty stable 16:21:26 fantasai: the way it is defined is standard and I don't anticipate issues 16:21:34 fantasai: so I think it's probably fine to ship 16:21:45 fantasai: but we need to publish a First Public working draft first 16:21:51 fantasai: this could happen very soon 16:22:21 astearns: Any other concerns? 16:22:30 smfr: let's ask Myles, he's not here today 16:22:39 astearns: Sounds good, also we still need an FPWD 16:22:58 https://www.w3.org/TR/css-fonts-5/ 16:23:01 404 ^ 16:23:20 astearns: It's most important to publish FPWD, but even for a regular WD would like to publish before group says "you can ship" :) 16:23:31 astearns: So let's get edits in and get Myles' comments 16:23:38 astearns: but generally seems like it'll be OK 16:24:14 jfkthame: Would help to know schedule 16:24:23 fantasai: we can get a draft within a month 16:24:33 Topic: Contain 16:24:39 github: https://github.com/w3c/csswg-drafts/issues/6287 16:24:57 TabAtkins: Some time ago we removed 'style' from set of containments applied by 'strict' 16:25:02 TabAtkins: since at-risk, unsure if FF would implement 16:25:05 TabAtkins: no longer at-risk 16:25:20 TabAtkins: Question is should we have a keyword that applies 'strict'? 16:25:27 TabAtkins: if so, should we add a new keyword or build it back into 'strict'? 16:25:45 TabAtkins: chrishtr commented that he thinks it'd be fine to add into existing 'strict', and willing to do experimentation in Chrome 16:25:50 fremy: I agree, makes sense to me 16:26:01 Sounds fine by me 16:26:12 oriol: Wouldn't just be strict, but also ... 16:26:24 oriol: content 16:26:32 TabAtkins: content used to be 'strict' without 'size', so add to that as well 16:26:36 fantasai: sgtm 16:26:55 astearns: so proposed resolution is to add back in style containment to 'strict' and 'content' values of 'contain' 16:26:58 astearns: Any objections? 16:27:06 I will get this change made in Chromium asap so we can get canary channel feedback. Will report back if there are any found. 16:27:08 RESOLVED: add style containment back to 'strict' and 'content' values of 'contain' 16:27:16 Topic: Filter Effects 16:27:52 github: none 16:28:01 [Florian is not here, so skipping until next week] 16:28:24 Topic: cssom-view 16:28:31 github: https://github.com/w3c/csswg-drafts/issues/6339 16:28:38 https://wicg.github.io/visual-viewport/index.html 16:28:48 TabAtkins: Visual Viewport spec that allows getting bounds of visual viewport in JS 16:28:55 TabAtkins: has been implemented cross-browser for awhile 16:28:59 TabAtkins: probably should be on standards-track 16:29:05 TabAtkins: suggestion is to put into cssom-view 16:29:07 LGTM 16:29:21 ack fantasai 16:29:24 fantasai: Who's the editor? 16:29:26 fantasai: who is gonna be editor? 16:29:47 TabAtkins: bokan is editor of visual viewport spec... and is a member of CSSWG 16:29:51 TabAtkins: could just add him 16:30:07 smfr: Emilio and I are editors of CSSOM-view, and would appreciate editorial help 16:30:30 fantasai: sounds like a good idea to have one more person on this 16:30:45 TabAtkins: chrishtr, can we volunteer bokand? 16:31:00 chrishtr: We can try, and if he's busy, we'll find somone else on our staff 16:31:18 astearns: so propose to incorporate visualViewport into cssom-view and add bokand as editor 16:31:31 RESOLVED: Incorporate visualViewport into cssom-view and add bokand as editor 16:31:34 welcome to the css family, new spec :) 16:31:44 fantasai: one more comment 16:31:46 Present+ 16:32:05 fantasai: it's a bit weird how things happened here 16:32:14 fantasai: we are not doing standardization, we are doing documentation 16:32:23 fantasai: I don't find this workflow appropriate 16:32:43 fantasai: so I agree to do it here, but it's worth nothing I think it is not a good workflow 16:32:47 fantasai: It's too late to make any changes now, so what's the point of putting in a "standardization" process 16:33:11 astearns: I agree 16:33:19 astearns: that said, it happens, and we can't change it 16:33:25 astearns: and documentation is still good 16:33:39 TabAtkins: also, it shipped in multiple browsers 16:33:46 TabAtkins: discussion happened, in another venue 16:33:58 Topic: Transforms 16:34:00 TabAtkins: but patent protection was not part of this, and this is not ideal 16:34:04 Like, look at the issues list, showing definite cross-browser discussion https://github.com/WICG/visual-viewport/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc 16:34:30 github: https://github.com/w3c/csswg-drafts/issues/6320 16:34:37 github: https://github.com/w3c/csswg-drafts/issues/6346 16:34:47 dbaron[m]: Discussing 6320 and 6346 together 16:34:57 dbaron[m]: Group resolved that values less than 1px should be clamped to minimum of 1px 16:35:03 dbaron[m]: At the time, discussed as a render-time clamp 16:35:12 dbaron[m]: I tried implementing this. Believe I was the first 16:35:26 dbaron[m]: in the process, became clear that the time at which it became clamped was the time you convert to a matrix 16:35:36 dbaron[m]: problem with zero is that it puts infinite components into the matrix 16:35:42 dbaron[m]: There are 3 different ways convert to a matrix 16:35:47 dbaron[m]: 1) need to render, to find used value 16:35:53 dbaron[m]: 2) find resolved value for gCS() 16:36:03 dbaron[m]: computed value of transform function is "as specified with lengths made absolute" 16:36:08 dbaron[m]: but resolved value is a matrix 16:36:18 dbaron[m]: The third one, which is maybe more interesting, is interpolation 16:36:28 dbaron[m]: Perspective function gets interpreted as matrices 16:36:41 dbaron[m]: if you were to not clamp, and then interpolate from 0 to 2px, 16:36:56 dbaron[m]: entire range of animation would be clamped to 1px during render time, because animating from infinity to 0.5 16:37:04 dbaron[m]: which crosses 1 basically right when it gets to 0.5 16:37:20 dbaron[m]: Conclusion was do the clamp anytime I convert to matrices 16:37:25 dbaron[m]: so for gCS and for interpolation also 16:37:44 dbaron[m]: I've already implemented this in Canary ... does anyone think we should do something different? 16:37:49 dbaron[m]: not clear to me what that could be 16:37:54 github: https://github.com/w3c/csswg-drafts/issues/6320 16:38:28 smfr: Seems fine. What happens when perspective property or transform with only perspective, not converting matrices, do we need to describe beahvior there? 16:38:41 dbaron[m]: for perspective property, group explicitly resolved in 3084 that the animation should be different 16:38:47 dbaron[m]: so perspective property should interpret as specified 16:39:01 dbaron[m]: 2nd point, spec says that even a perspective() on its own gets interpolated as matrix 16:39:12 dbaron[m]: it describes the rules for interpolating matrix and perspective as the same thing 16:39:21 dbaron[m]: so decompose and do the pieces 16:39:26 dbaron[m]: for perspective it's trivial 16:39:37 dbaron[m]: but still the decomposition that gets interpolated is the matrix component, so ?? reciprocal 16:39:44 smfr: so that part is affected by your proposal 16:39:51 dbaron[m]: yes 16:39:56 smfr: I think it's reasonable 16:40:12 smfr: As long as we agree on where conversions to matrices happen 16:40:34 dbaron[m]: issues I filed are in terms of this should happen for inteprolation and this shoul dhappen or gCS 16:40:43 dbaron[m]: but rational was "wherever convert to matrix" 16:40:45 smfr: sounds fine 16:40:59 astearns: So original resolution for 413, did that cover resolved value? 16:41:05 dbaron[m]: no, said "for purpose of rendering" 16:41:16 astearns: so have a resolution for rendering, and you're saying extend to interpolation and resolved value 16:41:23 astearns: any other opinions? 16:42:08 Rossen_ has left #css 16:42:35 astearns: ... implementation detail? 16:42:47 dbaron[m]: when editing spec, I'll see if it makes sense to fit that note in 16:43:04 [scribe missed, but guesses note was about the "convert to matrix" rationale] 16:43:29 RESOLVED: clamp to 1px for both getComputedStyle() and interpolation as well 16:43:39 dbaron[m]: possible not web-compatible, but can figure that out when we have data 16:43:54 Topic: font-size-adjust vs writing modes 16:44:01 github: https://github.com/w3c/csswg-drafts/issues/6288 16:44:33 jfkthame: Was working on implementing in Gecko, and it occurred to me that the behavior that falls out for the new ch and ic units probably isn't what we really want 16:44:57 jfkthame: if you set font-size-adjust: ch 0.4, for example, and then use vertical writing mode with upright typesetting 16:45:01 jfkthame: you'd get completely different scaling 16:45:09 jfkthame: Seems that would be unexpected and undesirable 16:45:28 jfkthame: Expectation would be that font + font-size-adjust should give consistent results 16:45:39 jfkthame: So my suggestion is that it applies in the horizontal axis 16:45:50 jfkthame: so not quite the same as the units 16:45:56 jfkthame: so maybe need to rename to make more explicit what they are 16:46:07 astearns: I think I'd like ch-width name 16:46:11 astearns: very explicit 16:46:33 jfkthame: We'd have the option of introducing a ch-height for vertical mode, but usage expected to be quite different 16:46:57 fantasai: that would be more difficult than helpful 16:47:13 fantasai: the vast majority of the authors wont need that second number 16:47:24 fantasai: I would be ok with it if it is optional 16:47:30 astearns: I think that was the proposal 16:47:36 fantasai: and sets to no effect 16:48:14 fantasai: currently if you wanted to have an effect in the vertical axis, we have a syntax for two values 16:48:38 fantasai: the disadvantage of that is that you might want different values for the different axes 16:49:01 fantasai: but given few people would want to use two values 16:49:13 fantasai: maybe we should just have one value and be clear about what it means 16:49:15 fantasai: and when would you know which one you want, if both are specified? 16:50:06 astearns: were we going to have ic-height and ic-width that can set at the same time? 16:50:10 jfkthame: no, just one at a time 16:50:36 astearns: So propoed resolution is to replace ic and ch with ic-width ic-height and ch-width 16:50:52 astearns: to lock things to the appropriate axis and make that explicit 16:52:05 fantasai: The one thing we might consider is adding 'ic' and having it compute to 'ic-width' or 'ic-height' as appropriate to the writing mode and then inherit as that computed value 16:52:22 fantasai: worth consideration, but I haven't thought about it much 16:52:55 astearns: but whatever value you add to that ic would be based on one or other metric, so unlikely to have single value that works for both 16:53:27 fantasai: unless you're using 1em, in which case no effect execpt for non-square fonts anyway... 16:53:33 jfkthame: [...] 16:53:41 jfkthame: Could look into it, but doesn't seem worth the complexity 16:54:02 RESOLVED: Switch ic and ch to ic-width/ic-height/ch-width 16:54:26 Topic: Flexbox 16:54:37 github: https://github.com/w3c/csswg-drafts/issues/5985 16:54:40 github: https://github.com/w3c/csswg-drafts/issues/5985 16:54:48 TabAtkins: just got approval from dholbert so probably easy 16:54:56 I need to follow up some more on issue 5896, let's cover it another time. 16:55:13 TabAtkins: dholbert noticed that collaped flex items aren't explicitly excluded from intrinsic size calculation 16:55:22 TabAtkins: so we updated to explicitly skip those items 16:55:31 commits are https://github.com/w3c/csswg-drafts/commit/60ffc4058780d832d880a076fe02788f0cc6e8a7 16:55:38 TabAtkins: We made the fix, just wanted WG confirmation it's OK 16:55:48 I haven't read the text but your description sounds good 16:56:03 astearns: proposal to accept? 16:56:08 RESOLVED: Accept edits 16:56:15 Topic: Scrollable overflow 16:56:20 github: https://github.com/w3c/csswg-drafts/issues/4791 16:56:56 fantasai: Seem to have weird but interoperable behavior here, question was should we spec it 16:57:07 iank_: not so weird, we compute the "inflow" bounds 16:57:15 iank_: ... 16:57:27 iank_: If you add a transform to the item and move it outside the scrollable area 16:57:49 iank_: all browsers transform out 16:58:11 iank_: if something is zero area, it doesn't itself contribute, but it might contribute to "infow bounds" 16:58:16 fantasai: ??? 16:58:29 iank_: If you have something like a grid area, that's where we determine where to put the "padding" to contribute to overflow 16:59:10 iank_: Here it's the body element contributing to the scrollable area 17:00:04 fantasai: OK, so need to set body to zero to test correctly and issue is invalid? 17:00:22 iank_: question of adding to overflow is just if it's empty 17:01:19 fantasai: Actually, there is an issue, but it's just that if the border area is empty, we need to exclude from the scrollable area 17:01:22 iank_: yea, but also this other thing 17:01:37 Topic: none 17:01:39 Meeting Closed. 17:19:02 zakim, end meeting 17:19:02 As of this point the attendees have been argyle, jfkthame, miriam, castastrophe, alisonmaher, Morgan, TYLin, dholbert, rachelandrew, fremy, dlibby, oriol, chrishtr, jensimmons, 17:19:05 ... TabAtkins, gregwhitworth, plinss, smfr, cbiesinger, bradk, dbaron[m] 17:19:05 RRSAgent, please draft minutes v2 17:19:05 I have made the request to generate https://www.w3.org/2021/06/16-css-minutes.html Zakim 17:19:07 I am happy to have been of service, astearns; please remember to excuse RRSAgent. Goodbye 17:19:11 Zakim has left #css 17:55:56 s/what's the point of putting in a/it's not exactly accurate to say you're shifting it to the CSSWG for the/ 18:57:03 jensimmons has joined #css 19:44:49 markiemark has joined #css 19:48:29 markiemark has left #css 20:14:43 jfkthame has joined #css 22:09:06 dauwhe has joined #css 22:26:46 dauwhe has joined #css 22:28:35 dauwhe has joined #css 22:34:41 dauwhe has joined #css 22:46:51 dauwhe has joined #css 23:19:37 dauwhe has joined #css 23:51:48 dauwhe has joined #css