17:14:47 RRSAgent has joined #css
17:14:47 logging to https://www.w3.org/2017/11/06-css-irc
17:14:49 ericwilligers_ has joined #css
17:14:49 RRSAgent, make logs public
17:14:52 Meeting: Cascading Style Sheets (CSS) Working Group Teleconference
17:14:52 Date: 06 November 2017
17:15:03 dtapuska has joined #css
17:15:17 Rossen: Welcome everyone, let's start with intros
17:15:58 Hexcles_ has joined #css
17:16:04 Naomi has joined #css
17:16:04 +1 we need dbaron for multicol
17:16:09 present+
17:16:10 szager has joined #css
17:16:18 Rossen Atanassov, Microsoft
17:16:18 alan stearns, adobe
17:16:26 Peter Linss, Invited Expert
17:16:30 Florian Rivoal, Vivliostyle
17:16:32 lajava has joined #css
17:16:32 L. David Baron, Mozilla
17:16:47 Xidorn Quan, Mozilla
17:16:49 François REMY, Microsoft
17:16:52 chrishtr has joined #css
17:16:56 Melanie Richards, Microsoft
17:16:56 Ian Kilpatrick, Google
17:16:57 Eric Willigers, Google
17:16:57 Surma, Google
17:17:02 Greg Whitworth, Microsoft
17:17:03 Rob Flack, Google
17:17:05 Brian Kardell, JS Foundation
17:17:06 present+
17:17:08 present+ Naina Raisinghani, Google
17:17:11 Jihye Hong, LGE
17:17:14 Rachel Andrew, Invited Expert
17:17:15 present+
17:17:22 Christian Biesinger, Google
17:17:22 present+
17:17:26 Tomoya, VOYAGER Japan
17:17:32 dtapuska, Google
17:17:35 Jet Villegas, Mozilla
17:17:45 fantasai, Invited Expert
17:17:55 present+
17:18:02 Chris Harrelson, Google
17:18:04 Brad Kemper, Invited Expert
17:18:36 LD has joined #css
17:18:43 present+ Javier Fernandez, Igalia
17:18:47 hyojin has joined #css
17:19:02 present+
17:20:12 Daniel Holbert, Mozilla
17:20:41 Topic: Selectors
17:21:22 tmichel has joined #css
17:21:30 TabAtkins: We don't need to discuss this
17:21:31 Younji_Jang has joined #CSS
17:21:42 trchen has joined #css
17:21:43 wilhelm has joined #css
17:21:53 ericwilligers_: I'll add a test
17:21:57 aboxhall has joined #css
17:21:59 Proposed Resolution: no change
17:22:03 github issue https://github.com/w3c/csswg-drafts/issues/1933
17:22:25 Rossen: let's move on then
17:23:03 Rossen: leaverou added this to the F2F
17:23:09 Rossen: who wants to summarize this
17:23:25 Rossen: let's swap and wait for leaverou
17:23:29 Rossen: last issue on the list
17:23:33 smfr has joined #css
17:23:34 Rossen: target-within
17:24:18 plh has joined #css
17:24:47 *projector being setup*
17:24:50 Chris has joined #css
17:25:13 tpac_room has joined #css
17:26:14 Rossen: CSS Backgrounds
17:26:27 dbaron: was there someone not wanting to miss sizing?
17:26:50 *discusses timing for agenda*
17:27:04 topic: Sizing
17:27:34 github: https://github.com/w3c/csswg-drafts/issues/1722
17:27:39 Rossen: max-content size of replaced elements
17:28:10 fantasai: we discussed what to do with replaced elements that is percentage sized that has an intrinsic aspect ratio
17:28:14 tantek has joined #css
17:28:19 fantasai: *gives an example*
17:28:37 fantasai: if there is a specified min-width or min-height use that rather than the intrinsic aspect ratio in that dimension
17:29:08 dbaron: the effect that that would have is that if your min-width or min-height is smaller than the intrinsic size in that direction then you use that
17:29:20 dholbert: if it's not min-width/height of auto?
17:29:22 fantasai: yes
17:29:39 dbaron: what your saying is if min-width/height are non-auto you'd use them in the aspect ratio?
17:29:42 fantasai: yes
17:29:49 dbaron: there are some weird interactions around this
17:29:53 dbaron: it seems worth trying
17:30:05 present+
17:30:08 dbaron: I think someone should try it before committing
17:30:14 dbaron: I'm worried about web compat
17:30:22 fantasai: this scenario is not a very common case
17:30:23 cyril has joined #css
17:30:32 fantasai: I don't know why you're doing this
17:30:38 dbaron: the main case I can think of is SVG
17:31:02 Rossen: currently that will work
17:31:08 dholbert: in FF that doesn't work
17:31:14 fantasai: so it isn't interoperable right now
17:31:16 fantasai: so...
17:31:30 fantasai: let's give it a try
17:31:46 dbaron: put it into the spec with the note to provide feedback
17:32:04 tantek: we're changing a resolution right?
17:32:10 fantasai: right, from a few months ago
17:32:16 tantek: I'm worried about back compat
17:32:26 tantek: they may have implemented
17:32:35 fantasai: they haven't, that's the point
17:32:46 There are some examples in this pen, if you want to look at current behavior: https://codepen.io/AmeliaBR/pen/brdBvQ
17:32:52 tantek: when we had auto sizing for SVG things we had all kinds of interop issues
17:33:07 s/auto sizing/box sizing/
17:33:11 Rossen: who's going to write the test cases
17:33:13 thank you AmeliaBR !
17:33:34 Rossen: I hear some concerns about compat
17:33:37 no objection, now that we have a test case to check impls
17:33:54 Rossen: but also given the fact there is no interop on the issue then we should resolve on something that makes more sense
17:33:59 Rossen: any objections?
17:34:16 Rossen: resolved
17:34:25 Vlad has joined #css
17:34:33 Rossen: please bring the test cases forward when you start working on the actual text
17:34:33 present+
17:34:45 zcorpan has joined #css
17:34:56 Topic: Auto resizing of iframes and textarea based on content size
17:35:13 github: https://github.com/w3c/csswg-drafts/issues/1771
17:35:14 TabAtkins: there have been many requests for textarea and iframes resize on content
17:35:23 TabAtkins: we talked it over and thought, yeah probably ok
17:35:33 present+
17:35:35 TabAtkins: we started experimenting with this
17:35:56 TabAtkins: figure our some mechanism content based sizing for textarea and iframes
17:36:10 present+
17:36:17 TabAtkins: we learned some issues impl seamless with iframes due to COR leaking information
17:36:36 TabAtkins: we suspect we'd walk up the frame tree until we hit a fixed size to resolve the mqs
17:36:48 TabAtkins: Someone from Moz impl this
17:37:05 dbaron: we got the spec to say that's how media queries work, but seamless was removed
17:37:19 dbaron: we have code for it - but it's not necessarily something you can write up in a spec
17:37:27 MIKI_ has joined #css
17:37:27 dbaron: you need to figure out how to spec it
17:37:33 iank_: what type of interesting things
17:37:45 dbaron: I'd need to look, like it tries to do layout
17:37:59 s/do layout/do layout, and then tries again/
17:38:17 rossen: we used to have a technology that would allow you to do layout based on then content size and we killed it
17:38:24 q+
17:38:25 Rossen: performance becomes a concern for those
17:38:53 The iframe use-case for me is known width (set by container), auto (preferably auto-expanding) height
17:38:57 Rossen: when you consider extensions they try to size the box, and it's shrink to fit it becomes very bad for perf
17:39:12 Rossen: Our experimentation for this suggests it was bad, but maybe you'll find something
17:39:21 TabAtkins: they're both pretty separate features anyways
17:39:26 q?
17:39:33 TabAtkins: are we ok experimenting in this space
17:39:48 TabAtkins: the textarea would go into sizing 4
17:40:01 smfr: we've had the auto sizing of the iframe even COR
17:40:16 smfr: it makes your frame layout outside in rather than inside out
17:40:27 smfr: we've had quite a few media query bugs
17:40:48 smfr: we ran into media query cycles
17:40:59 TabAtkins: that means that you weren't doing media queries the way we defined
17:41:06 q-
17:41:09 pkerr has joined #css
17:41:13 skk2 has joined #css
17:41:19 smfr: it does bring about nasty things in the code
17:41:33 TabAtkins: how is this different from regular layout
17:41:35 sam has joined #css
17:41:47 smfr: you can avoid laying out the iframe, if you have to you have to dirty the other nodes
17:41:54 TabAtkins: ok, let's talk about this later
17:42:16 dbaron: I think the media query problems you had were due to doing what authors weren't expecting
17:42:17 sam_ has joined #css
17:42:19 TabAtkins: this would be opt in
17:42:31 tantek: how do you trigger behavior in iOS
17:42:34 smfr: you always get it
17:42:56 smfr: users don't experience nested scrollers, we always wanted page scrolling to win so you don't get trapped
17:43:09 tantek: width is expected and height is auto
17:43:11 smfr: yes
17:43:27 glazou has joined #css
17:43:34 Rossen: ok, so - it seems that Google wants to experiment with this - Apple has it and wants to remove it
17:43:44 Rossen: do you want a resolution
17:43:55 TabAtkins: The textarea one is simple enough to go into sizing 4
17:44:01 TabAtkins: the iframe one can go in WICG
17:44:19 Rossen: any objections to adding textareas to CSS Sizing L3
17:44:25 fantasai: yes
17:44:33 TabAtkins: I said 4
17:44:37 Rossen: Ok, L4
17:44:42 fantasai: ok - I'm ok with that
17:44:53 Rossen: Changes to sizing L4
17:44:57 fantasai: we can add a note for L3
17:45:06 Resolved: Add textarea sizing to Sizing L4
17:45:42 RESOLVED: Add textarea sizing to Sizing L4
17:46:13 *discuss whether to do in WICG*
17:46:47 TabAtkins to spin up a WICG regarding auto sizing of iframes
17:46:50 I'm a bit surprised that we're not even putting into a WD something that's been shipping in iOS for 10 years
17:47:13 Topic: Restricting stretch and fit-content to width and height
17:47:16 github: https://github.com/w3c/csswg-drafts/issues/1913
17:47:25 TabAtkins: I missed the telecon
17:47:44 tpac_room_ has joined #css
17:47:48 dbaron: I'm a bit hesitant as it exposes primitives to the system but yeah you can't use it over here
17:48:00 dbaron: I don't feel that strongly though
17:48:31 TabAtkins: we didn't feel that strongly either but it felt like more effort than warranted
17:48:43 Chris has joined #css
17:49:12 TabAtkins: we use min in weird ways, fit-content especially
17:49:29 fantasai: it's fine but we couldn't figure out how to use the stretch as a minimum
17:49:33 fantasai: do we need this?
17:49:44 fantasai: if we don't we don't need to put the effort in for testing etc
17:50:01 Rossen: so do we keep it
17:50:09 florian: do authors have any opinions
17:50:18 jensimmons: fantasai can you explain what this is
17:50:35 fantasai: would you ever use min-width or min-height of 100%, it does effectively that
17:50:46 jensimmons: I'm sure people do use that
17:50:55 fantasai: if that seems like a reasonable thing to use
17:51:18 I've definitely used min-height: 100%; height: 0; in some cases.
17:51:19 q?
17:51:22 cbiesinger: Seems useful, might want to fill a screen but grow if more content
17:51:27 dbaron: the other question is would you want to use them inside a calc() expression for min-width and min-height
17:51:41 jensimmons: I am hesitant to remove it
17:52:18 Resolved: Keep them as they are in the spec (don't remove them)
17:52:50 https://github.com/w3c/csswg-drafts/issues/1865
17:53:04 Topic: intrinsic size of 'overflow: auto/scroll' and its impact on auto-sized grid/flex item ancestors
17:53:08 github: https://github.com/w3c/csswg-drafts/issues/1865
17:53:25 pkerr has joined #css
17:53:51 fantasai: grid and flexbox show this issue, where people have an element with a scrollbar and they put it among a whole bunch of other content
17:54:21 fantasai: it forces that has a min-content size which defeats the purpose of the scrolling the author defined
17:54:37 fantasai: this leads to a lot of confusion for authors
17:55:04 fantasai: they're already handling their overflow and it would be nice if they just worked
17:55:15 fantasai: this was filed that would allow us to come up with a way for this to work
17:55:24 q+
17:55:47 fantasai: I was talking with cbiesinger on Saturday to try and have the min-content zero'd out
17:56:36 fantasai: the min-content contribution which has overflow be 0, but not the logical height depending on its overflow. If you did this you'd have to relayout in flow content to determine it's min and max
17:56:43 q+
17:56:46 fantasai: it's an idea, we're looking for other ideas
17:56:47 q-
17:57:26 dbaron: The thing with overflow that is not visible the size is the content within it, it has to propagate through it if it's the only thing
17:57:51 dbaron: I tend to think, that there is not going to be a thing that we can do to solve this with a property that allows them to choose the thing that they want
17:58:05 dbaron: I think there are two different scopes
17:58:27 q+
17:58:34 q?
17:58:56 1. intrinsic control intrinsic width that has overflow
17:59:10 2. properties that allow assignment to the intrinsic widths
17:59:26 dbaron: the advantage of the first one is it gives more room for auto behaviors that do the right thing
17:59:37 dbaron: the advantage of the second is it is strictly more powerful
17:59:41 q+
17:59:42 q?
17:59:47 ack fremy
17:59:47 fremy: I wanted to note that we had a similar issue in the table spec
18:00:26 fremy: if you have a % height and you're overflowing in a non visible way we should resolve to 0
18:00:38 fremy: the author intent is pretty clear here
18:00:51 fremy: to me this makes sense and is generalized
18:00:55 q?
18:01:24 fantasai: for grid and flex items specifically the automatic minimum size is not triggered on items that are not with overflow that is not visible but it does impact content contribution
18:01:55 cbiesinger: you said that the single items need the content contribution to propagate through
18:02:10 dbaron: because people will use it to hide things rather than scroll it
18:02:14 fantasai: that's a good point
18:02:23 s/use it/use 'overflow: hidden'/
18:02:28 dbaron: you're talking about zering out the min-content sizes
18:02:35 fantasai: yeah, just the min-content size
18:02:43 s/zering/zeroing/
18:02:47 q?
18:02:51 ack cbiesinger
18:02:52 dbaron: presumably the min-content sizes don't matter
18:03:15 cbiesinger: for the min size of flex and grid would make it zero in this cases
18:03:24 dbaron: in many cases you want them to get smaller but not to 0
18:03:51