15:55:57 RRSAgent has joined #css 15:55:57 logging to https://www.w3.org/2021/08/11-css-irc 15:55:58 inviting RRSAgent 15:56:00 RRSAgent, make logs Public 15:56:00 Meeting: Cascading Style Sheets (CSS) Working Group Teleconference 16:00:11 present+ 16:00:37 present+ 16:00:56 present+ 16:00:57 sanketj has joined #css 16:01:00 GameMaker has joined #css 16:01:08 present+ 16:01:25 vmpstr has joined #css 16:01:42 dlibby has joined #css 16:02:20 present+ 16:02:27 present+ 16:02:30 present+ 16:02:50 jfkthame has joined #css 16:03:07 bradk has joined #css 16:03:08 dholbert has joined #css 16:03:10 smfr has joined #css 16:03:18 present+ 16:03:21 present+ 16:03:24 present+ 16:03:27 present+ 16:03:28 Scribenick: fantasai 16:03:30 present+ 16:03:51 Rossen_: Any other items? 16:03:55 plinss: wanted to talk about draft server 16:04:27 present+ 16:04:46 present+ 16:05:04 Topic: content:none 16:05:12 github: https://github.com/w3c/csswg-drafts/issues/6503 16:05:28 bradk has joined #css 16:05:33 emilio: We implemented it, broke tons of sites 16:05:46 emilio: We should at least fix the spec to say that content:none has no effect on non-pseudo elements 16:06:01 emilio: It's a bummer because 'content' does have effects on some elements 16:06:08 emilio: We could add another value to the content property to represent that behavior 16:06:27 Rossen_: how broken? 16:06:34 emilio: content:none suppresses boxes for children of element 16:06:47 emilio: sites were specifying it on a bunch of stuff using e.g. * { content:none; } 16:07:12 emilio: initial value is normal 16:07:26 futhark has joined #css 16:07:30 florian: I wouldn't have expected it to be Web-compatible, has been a no-op for a long time, so mistakenly applied in lots of places 16:07:42 emilio: any objection to change the spec to match reality? 16:07:49 emilio: other question is should we add a new value 16:07:56 q? 16:08:00 present+ 16:08:06 ack fantasai 16:08:12 fantasai: we should spec it 16:08:24 fantasai: if we need a new keyword, I'd suggest "empty" 16:08:46 fantasai: not too sure what the use cases are though 16:09:02 Rossen_: any other comments? 16:09:27 alisonmaher has joined #css 16:09:31 emilio: not sure we should even add the keyword, we implemented for completeness 16:09:34 it would be interesting to see if authors have use cases 16:09:48 ??: I think there could be some interesting cases for having the box but not its contents 16:09:59 That was me 16:10:00 emeyer has joined #css 16:10:01 s/??/bradk/ 16:10:01 we can just leave the discussion out of this issue for now, and open a fresh issue arguing for adding this new keyword 16:10:06 emilio: also interesting question about interaction with content-visibility:hidden 16:10:06 no reason to tie it to this discussion 16:10:16 +1 to new issue for use cases 16:10:32 bradk: maybe ask authors 16:10:48 +1 16:10:50 Rossen_: ok, let's deal with that in a separate issue 16:11:05 RESOLVED: spec content:none as having no effect on elements 16:11:35 Topic: identity transforms 16:11:41 github: https://github.com/w3c/csswg-drafts/issues/6488 16:12:04 emilio: I wasn't on last week's call 16:12:10 emilio: seems fine to add a new value to represent this 16:12:17 emilio: ... 16:12:24 q+ 16:12:35 ack smfr 16:12:40 smfr: I'm ok with something like perspective(infinity) 16:12:43 we ran out of time last week to get to a resolution 16:12:52 smfr: I do wonder about the lack of units, wonder if it adds complexity to animations and blending 16:13:04 TabAtkins: perspective is normalized to matrix, so shouldn't be a problem 16:13:38 TabAtkins: addition with infinity would swamp whatever value the other side was, so don't have to worry in that case either 16:13:47 Rossen_: sounds like we're going forward with infinity? 16:14:26 astearns: there was also the suggestion of perspective(none) 16:15:02 TabAtkins: smfr brought up that animation-iteration-count uses 'infinite' whereas calc() uses 'infinity', so 'none' would dodge the issue 16:15:06 +1 to perspective(none) 16:15:10 Rossen_: is everyone ok with none? 16:15:16 RESOLVED: Add perspective(none) 16:15:36 Topic: Compressible elements with aspect ratio 16:15:49 github: https://github.com/w3c/csswg-drafts/issues/6341 16:16:03 Rossen_: is this ready for discussion? 16:16:23 github: none 16:16:52 Topic: Draft Server 16:17:05 plinss: As many noticed, drafts server has been unreliable lately 16:17:13 plinss: fundamental issue is it puts a lot of load on database 16:17:20 plinss: when get hit by ton of crawlers 16:17:36 plinss: fix is to make code less reliant on database, serve static files 16:17:44 plinss: unfortunately it's 1-2 weeks of time for me 16:17:50 plinss: which I can't take off from work 16:18:04 plinss: if anyone wants to sponsor it, I can just do it 16:18:14 plinss: server also needs a bunch of other tuning, which is why estimating up to 2 weeks work 16:18:22 plinss: alternatively, look for a different solution 16:18:51 plinss: but that would not have the same features as the draft server, e.g. regenerating to ensure cross-links continue to work 16:18:54 tantek has joined #css 16:19:05 plinss: I would not be doing the alternative work. I would not recommend that. 16:19:10 plinss: my recommendation is to just fix the infrastructure 16:19:45 gsnedders: Alternative where any of us, not just plinss, can do maintenance might be better. 16:19:56 plinss: either way, someone else has to do the work 16:20:07 plinss: doesn't have to be done by me, I'm happy to give access to the current infrastructure 16:20:14 plinss: just I'm the most familiar with it, so can do it the fastest 16:20:51 present+ 16:20:58 yup, will look into this 16:21:07 plinss: so looking for anyone to sponsor the work, or to take on the work for setting up alternatives 16:21:18 bradk has joined #css 16:22:02 Topic: replaced elements percentage-sized within rows 16:22:07 s/rows/grid areas/ 16:22:15 github: https://github.com/w3c/csswg-drafts/issues/6278 16:22:32 github: https://github.com/w3c/csswg-drafts/issues/6278 16:23:19 iank_: There's concept of compressible elements, if you put a percentage width in one axis, it will compress to min-size 16:23:35 iank_: Chrome did a bunch of fixes in this area (replaced elements) recently 16:23:45 iank_: that brought our behavior more inline with the spec here 16:23:59 iank_: which applied an automatic minimum size in this case 16:24:11 iank_: web author found this really surprising behavior, filed issue 16:24:16 iank_: Question is do we want to ...? 16:24:22 q 16:24:34 iank_: Firefox behaves as expected, because there is some behavior around transferred sizes that they still don't do correctly. 16:25:02 s/.../follow the spec, and if not, how do we match the author's expectation/ 16:25:20 https://github.com/w3c/csswg-drafts/issues/6278#issuecomment-863439988 16:25:21 fantasai: tab and I looked over this 16:25:30 fantasai: our conclusion is summarized in the issue 16:25:44 fantasai: the author's expectation is reasonable in this case 16:26:05 fantasai: chrome and firefox used to match that, until chrome fixed to match the spec 16:26:44 fantasai: [explains example] 16:28:53 [ fantasai insert summary later] 16:28:59 1fr has an auto min implied and that's what's causing the breakage. 16:29:44 fantasai: the auto min size is supposed to be xtronger constraint of specified height... and that's what's happening because the % isn't taking affect 16:30:28 s/xtronger/weaker/ 16:30:31 fantasai: the sln we are interested in is to make % resolve against min definite height. resolving against 0 is to clamp the min size. do it for compatible elements and potentionally all els 16:31:15 fantasai: does that makes sense? 16:31:26 iank_: I did :) 16:31:34 Summary: During Grid layout, we first lay out to figure out row heights, then lay out given that height to figure out column widths (then maybe do both of those again). A 1fr item size has an automatic minimum; during the first layout both dimensions are unknown so the auto-min doesn't trigger, but in the second layout there is a height so it *does* trigger, and this ends up giving us the bad behavior where the height is frozen as "large" 16:31:44 s/does that makes sense/did everyone follow, or should I explain something again 16:31:53 iank_: I'd be concerned about doing this for all elements 16:32:00 iank_: if we do, should only do for compressible elements 16:32:02 But our intention was always that auto-min be a relatively weak constraint - it shouldn't be taken as gospel in the middle of this algo and have this effect. 16:32:26 Rossen_: what's downside to doing it for all elements? 16:32:35 iank_: Currently, if you've got a non-replaced element with width:100% 16:32:40 iank_: that would change behavior pretty drastically 16:32:59 fantasai: what if we only clamp the transferred size 16:33:21 (because of the ordering of row vs height resolution, this behavior doesn't have a bad effect when the space is tall; it only makes the element too-large when the space is wide, which is an annoying discontinuity) 16:33:29 iank_: so only things with aspect ratio ... 16:33:34 iank_: would need to think about that a bit more 16:33:42 Rossen_: can add aspect-ratio to anything, now, right? 16:34:46 fantasai: 2 inputs into auto min size: content size in that axis, and for items with aspect ratio (previously only replaced elements), size trasferred 16:35:05 fantasai: suggestion would be to make transferred size weaker than percentage size 16:35:44 iank_: there's a difference between spec and implementations atm with this stuff 16:35:57 iank_: spec says to resolve lengths against zero, whereas implementations will actually ignore that length 16:36:05 iank_: ignoring that difference, your suggestion and mine are effectively equivalent 16:36:23 fantasai: no, yours was to do it to it for compressible elements 16:36:31 fantasai: no, because you are saying to do it only for compressible elements and I'm suggesting to do it for all elements with a-r 16:37:01 iank_: if I change my suggestion then it agrees right? 16:38:05 fantasai: [missed]. It'd be more consitent if we only clamp the transferred size. If we do clamp AMS if you have an aspect-ratio then it changes behavior 16:38:13 futhark has joined #css 16:38:27 iank_: if a replaced element has an intrinsic size I don't think that we'll want to respect that in this case 16:38:34 ... if you have width 100% 16:38:46 ... that'd break the person's initial issue, the intrinsic size was actually quite large 16:39:14 fantasai: in that case I wonder if that should depend on whether they're compressible. Clamp transferred size always, clamp content-based size if it's compressible 16:39:20 iank_: why not do it for both then? 16:39:44 fantasai: mainly because it means that aspect-ratio affects sizing in an axis where it'd otherwise not have any effect 16:39:51 ... I don't have an objection but it's a bit weird 16:40:09 q? 16:40:18 ... if you apply an aspect-ratio to a div where we apply the content size, then it'd clamp to zero 16:40:32 s/clamp/suddenly clamp/ 16:40:40 Rossen_: can we go back to the previous proposal, to make it apply to all elements? 16:40:49 ... we can try to constrain later if we have strong reasons to 16:41:20 fantasai: I think we may have problems if we try to apply to all elements 16:41:40 Rossen_: this is something we should be able to figure out quite quickly 16:42:20 iank_: I think we can do the change for compressible and a-r elements quite easily. I need to think about non-replaced elements with a-r inside an auto-sized thing, dunno how to implement that yet 16:42:23 ian, let's do a video chat about this soon 16:42:50 Rossen_: so, let's start with compressible, would that work? 16:42:51 sure 16:43:39 fantasai: I think my preferred suggestion would be all elements, but if we can't we should do it for compressible elements, do it for transferred and content size, and for a-r elements just the transferred size 16:44:10 Rossen_: not opposed, but it's weird to make special elements more and more special, specially if the behavior is useful for all elements 16:44:18 ... so I'd prefer to pursue that if possible 16:44:25 +1 agreed with Rossen_ 16:44:32 and with that methodology in general 16:44:43 fantasai: I'm fine with all elements, but if not I prefer the suggestion above, I think it's the closest 16:45:16 Rossen_: can we resolve on all elements and if you come back with strong reasons why it doesn't work we can consider the other suggestion 16:45:33 iank_: when we say all elements we mean all elements with a-r? 16:45:47 fantasai: we meant all elements 16:45:56 s/fantasai/rossen/ 16:46:06 iank_: That's a very big change, I don't think that'd be ok 16:46:12 fantasai: I'm also skeptical about that 16:46:37 Rossen_: so should we resolve on compressible elements + a-r? 16:46:51 fantasai: [explains her suggestion again] 16:47:06 Rossen_: sounds reasonable, other comments / objections? 16:47:10 s/a-r/aspect-ratio/ 16:47:45 proposal: clamp automatic minimum size of compressible elements, and the transferred size suggestion of non-compressible aspect-ratio elements 16:48:14 sounds reasonable to limit to those elements 16:48:24 RESOLVED: clamp automatic minimum size of compressible elements, and the transferred size suggestion of non-compressible aspect-ratio elements 16:48:59 fantasai: Thanks everyone. That was a complicated issue, and I understood it better by talking it through with all of you. 16:49:51 Topic: percentage resolution of row tracks and gutters with indefinite height 16:49:55 github: https://github.com/w3c/csswg-drafts/issues/5566 16:50:04 [ discussion of whether we have time for this issue ] 16:50:13 Rossen_: [ reads mrego's comment ] 16:50:21 https://github.com/w3c/csswg-drafts/issues/5566#issuecomment-886483173 16:50:33 Rossen_: would be nice to close the issue and move on, if we all already agree 16:50:46 Rossen_: Anyone object to closing the issue with no change? 16:50:52 gtalbot has joined #css 16:51:04 RESOLVED: Close no change 16:51:25 Topic: visibility: visible and a11y 16:51:40 github: https://github.com/w3c/csswg-drafts/issues/6123 16:52:04 TabAtkins: some a11y folks brought up that the visibility property is tricky 16:52:22 TabAtkins: in particular, visibility:hidden on visibility:visible ancestor 16:52:42 TabAtkins: problem is invisible items gets stripped from a11y tree 16:52:52 TabAtkins: very similar to 'display:contents' a11y bug 16:53:09 TabAtkins: our proposal is to specify impact of 'visibility:hidden' as similar to 'display:contents' 16:53:13 TabAtkins: wrt a11y 16:53:24 TabAtkins: to do that, pull visibility property definition from CSS2 to css-display-3 16:53:50 TabAtkins: and add a warning to authors that in special cases (like tables) can cause problems to have invisible ancestor of visible child 16:54:01 TabAtkins: this proposal got a thumbs up from the original commenter 16:54:04 florian: ... 16:54:13 florian: unlike table cell example, what if these hidden boxes have text content? 16:54:19 florian: do we retain the box but not the text, or what 16:54:36 TabAtkins: text isn't an issue here, because invisible to everyone 16:54:47 TabAtkins: it's the implicit structural relationships that shouldn't get lost 16:54:54 florian: so text shouldn't be in box tree either, just the box structure 16:54:56 TabAtkins: yes 16:55:14 Rossen_: referring to text inside cell made visible? 16:55:18 TabAtkins: no, invisible text 16:55:22 s/in box tree either/in accessibility tree either/ 16:55:25 Rossen_: so text inside of other cells 16:55:38 florian: that, or if div with text in it that's hidden, and span that's visible 16:55:45 florian: do we hide all the text outside the span 16:56:17 Rossen_: yes, this is expected behavior and implemented 16:56:27 florian: is it implementable 16:56:54 fantasai: shouldn't be any problem, text has its own boxes in implementations 16:56:58 Rossen_: ... 16:57:12 Rossen_: text for role/description can be taken from hidden areas, but that's a known pattern that works 16:57:23 Rossen_: current implementations already support display of visible text inside of hidden elements 16:57:39 Rossen_: the issue is only when there's structure part of the invisible elements, then want to be able to recreate that 16:57:48 Rossen_: Tab, one question I have is 16:58:03 Rossen_: the use case here is very specific to when a table has visibility:hidden and cell is visibility:visible 16:58:17 Rossen_: is the same behavior here, are we trying to specify same for table which is inside of visibility:hidden? 16:58:23 TabAtkins: I don't believe the issue is specific to that 16:58:36 TabAtkins: applies the same if you visibility:hidden a link, and visibility:vissible some contents of the link 16:58:57 TabAtkins: We don't want that to strip the linkness of the text inside which is still visible 16:59:09 Rossen_: ok, didn't want to make it too specific 16:59:13 fantasai: no, going to make it quite general 16:59:25 proposal is https://github.com/w3c/csswg-drafts/issues/6123#issuecomment-893890561 16:59:58 Rossen_: so expected behavior is to provide the structural role of the invisible ancestors of visible elements in the a11y tree 17:00:09 TabAtkins: yes, same as display:contents 17:00:28 Rossen_: anything else? 17:00:41 fantasai: we're pulling visibility propdef from CSS2 to css-display-3 (not defined anywhere else than CSS2 atm) 17:00:47 Rossen_: hearing no objections here 17:00:56 RESOLVED: accept proposal 17:01:26 Meeting closed. 17:01:34 Zakim, end meeting 17:01:34 As of this point the attendees have been plinss, argyle, jensimmons, GameMaker, emilio, Rossen_, dlibby, smfr, TYLin, sanketj, jfkthame, bradk, dholbert, vmpstr, futhark, tantek 17:01:37 RRSAgent, please draft minutes v2 17:01:37 I have made the request to generate https://www.w3.org/2021/08/11-css-minutes.html Zakim 17:01:39 I am happy to have been of service, Rossen_; please remember to excuse RRSAgent. Goodbye 17:01:44 Zakim has left #css 17:02:33 TabAtkins: I can VC today - but out the next two days. 17:04:53 emeyer has left #css 17:04:57 gtalbot has left #css 18:36:32 futhark_ has joined #css 20:48:52 TabAtkins: Do we have data that we can look up for how much of the Web uses two values for scroll-snap-align? 20:49:03 i have no idea! 20:49:20 wasn't there some tool that aggregated css property value usage? 20:49:28 MSFT had one, but they seem to have shut it down 21:07:46 There’s https://chromestatus.com/metrics/css/popularity#scroll-snap-align that shows usage of the property, but not values