15:56:58 RRSAgent has joined #css 15:56:58 logging to https://www.w3.org/2021/06/23-css-irc 15:57:00 RRSAgent, make logs Public 15:57:02 Meeting: Cascading Style Sheets (CSS) Working Group Teleconference 15:59:30 Morgan has joined #css 16:00:44 present+ 16:00:52 dholbert has joined #css 16:01:19 present+ 16:01:23 leaverou_ has joined #css 16:01:27 present+ 16:01:33 alisonmaher has joined #css 16:01:37 present+ 16:01:38 present+ 16:01:45 present+ 16:02:07 present+ 16:02:11 present+ 16:02:20 IanPouncey has joined #css 16:02:31 present+ 16:02:39 present+ 16:03:41 present+ 16:04:27 present+ 16:04:31 ScribeNick: fantasai 16:04:41 Topic: Scribing 16:04:46 chris has joined #css 16:04:50 present+ 16:04:52 smfr has joined #css 16:04:57 Scribing will not be able to scribe the 9am calls anymore. 16:05:02 present+ 16:05:09 s/Scribing/Dael/ 16:05:32 Rossen: We're going to try to rotate scribes. 16:05:34 q+ 16:05:35 oriol has joined #css 16:06:07 present+ 16:06:08 Rossen: We'll try to organize that outside the calls 16:06:10 present+ 16:06:11 present+ 16:06:17 emeyer has joined #css 16:06:18 Present+ 16:06:18 jensimmons has joined #css 16:07:02 ack leaverou_ 16:08:40 [discussion of scribing candidates] 16:08:58 Topic: CSS Fonts 5 16:09:28 chris: Merged PR listed in the agenda 16:09:32 Rossen: so ready for FPWD? 16:09:33 chris: yes 16:09:39 Rossen: Any other comments? 16:09:42 [silence] 16:09:50 Rossen: Any objections to FPWD on css-fonts-5? 16:09:58 RESOLVED: css-fonts-5 to FPWD 16:10:08 Topic: CSS Color 4 16:10:20 Rossen: suggestion to add Lea as co-editor 16:10:24 Rossen: Any reason not to? 16:10:27 +1 16:10:28 sanketj has joined #css 16:10:29 +1 16:10:34 +1 16:10:34 +1 16:10:37 +1 16:10:43 +1 16:10:48 RESOLVED: Add leaverou_ as co-editor css-fonts-4 16:10:59 Topic: CSS Contain 3 16:11:08 s/RESOLVED: Add leaverou_ as co-editor css-fonts-4/RESOLVED: Add leaverou as co-editor css-color-4/ 16:11:12 https://drafts.csswg.org/css-contain-3/ 16:11:48 +1 to fpwd 16:11:56 q+ 16:12:07 Rossen: There are some open topics and issues, but is there any reason to hold the FPWD? 16:12:18 florian: I'm not worried about the issues, it's FPWD, not Last PWD. 16:12:18 ack florian 16:12:25 florian: Concerned about parts that are missing 16:12:45 florian: description of queries is good enough, but the description of containment is mostly missing 16:13:02 florian: There are some experiments, maybe something can be written up 16:13:10 rrsagent, here 16:13:10 See https://www.w3.org/2021/06/23-css-irc#T16-13-10 16:13:14 florian: Similarly, state and style querying, they're stated to exist, but there's nothing about how they work at all 16:13:29 florian: For state and styles, can do it later probably 16:13:35 rrsagent, make logs public 16:13:39 rrsagent, here 16:13:39 See https://www.w3.org/2021/06/23-css-irc#T16-13-39 16:13:40 florian: but description of 1D size containment needs something 16:13:45 Rossen: There are open issues for this 16:14:17 ack fantasai 16:15:11 fantasai: If we have stuff to write, we should usually do that before FPWD. We’re just not sure what to write on this, and that shouldn’t block FPWD as long as there’s enough material to understand what’s missing. 16:15:50 florian: Fair, but 1D containment for awhile was not thought to be doable. 16:16:04 florian: So we should have an explanation of how it's become doable. 16:16:44 Rossen: OK, that's fair. Request to the editors then, to work on this and maybe FPWD next week or so? 16:16:47 miriam: OK 16:17:05 Rossen: Appreciate pushback, what Florian is saying is valid. 16:17:15 Rossen: Hopefully next week we can come back and go to FPWD 16:18:07 Topic: SVG degenerate aspect ratios 16:18:13 github: https://github.com/w3c/csswg-drafts/issues/6286 16:19:18 iank_: We were going to ask Amelia, but she had to defer 16:19:21 iank_: So it's up to us 16:19:30 iank_: I posted a comment describing the various behaviors 16:19:38 iank_: I still slightly prefer the WebKit/Blink behavior 16:20:07 iank_: ... 16:20:36 iank_: Reminder that this is just about interop on an edge case for which we have testcases in WPT, not something that impacts web devs 16:20:53 Rossen: can you summarize? 16:21:12 iank_: With negative widths, Blink/WebKit will treat as invalid whereas Firefox will treat as zero 16:21:28 iank_: Blink/WebKit will use the viewbox aspect ratio as a fallback 16:21:36 iank_: whereas Firefox will have no aspect ratio 16:22:04 iank_: If there is a negative width/height specified, it gets clamped to zero and then continue 16:22:23 iank_: Firefox's behavior from there was to treat aspect-ratio as null 16:22:33 iank_: Whereas when we have a negative width/height, we treat as invalid 16:22:40 iank_: So we use fallback aspect ratio 16:22:59 iank_: Separate issue of when we have explicit width of zero and height of 50 16:23:11 iank_: Blink/WebKit will fallback to viewbox of 1:1 16:23:17 iank_: and Firefox will behave as if there is no aspect ratio 16:23:46 Note: spec currently says “If the is degenerate, the property instead behaves as auto.” 16:24:35 Rossen: so your preference is to fall back from degenerate width/height on SVG to the viewbox aspect ratio 16:25:11 iank_: Right. This mirrors how the aspect-ratio property itself falls back from degenerate ratio value to intrinsic ratio of image 16:25:22 GameMaker has joined #css 16:25:28 dholbert: Are you proposing just for negative case, or also for zero case? 16:25:29 present+ 16:26:25 fantasai: So the proposal is to fall back to the intrinsic aspect ratio 16:26:32 fantasi: In all degenerate cases 16:26:37 s/intrinsic/viewbox/ 16:26:43 dholbert: OK, would not object to that 16:26:45 s/fantasi/fantasai/ 16:27:46 iank_, got it, thanks 16:28:04 fantasai: So the proposal is that in the same way that the aspect-ratio property's explicit degenerate aspect ratios fall back to the intrinsic aspect ratio of the image, the proposal is that a degenerate aspect ratio from an SVG derived from its width/height attributes also falls back: to its viewbox ratio 16:28:41 RESOLVED: degenerate aspect ratios derived from SVG width/height attributes fall back to viewbox aspect ratio (whether due to negative values or zero values) 16:29:06 Topic: CSS Contain 16:29:14 github: https://github.com/w3c/csswg-drafts/issues/6325 16:29:32 florian: Had not realized earlier, but there's a problem with paint containment 16:29:54 florian: The point of paint containment is to ensure that if anything changes inside an element with paint containment, nothing leaks in terms of changing painting outside it 16:30:18 florian: However, filter-effects, when specified on an ancestor of the contained element, 16:30:33 florian: e.g. consider a large blur radios 16:30:55 florian: In order to calculate the result of pixels outside the box, need to consider the painting of pixels inside the box 16:31:08 q+ 16:31:09 q 16:31:30 florian: I think there's no infinite-range filter? So maybe you just need to calculate a margin of error to repaint. 16:31:55 chris: FE-flood, which can fill an entire region? 16:32:04 florian: Fills the entire region, but does it take the entire region as input? 16:32:05 chris: no 16:32:10 florian: yeah, that's the trouble. Blur does that. 16:32:29 smfr: Also FE-displacement, which can take arbitrary displacement. 16:32:35 florian: can be arbitrary, but can't be infinite at least 16:33:09 Rossen: ... considering chrishtr's comment 16:33:26 florian: If talking about bg of element or things inside it, issue still applies. Filter on parent will still fetch those 16:33:34 florian: If you have a 15px blur filter on BODY element 16:33:40 florian: and somewhere inside tree have a paint-contained element 16:33:59 florian: then even if it's 3px off-screen, have to repaint it so you know what pixels to spread into the screen area 16:34:13 florian: Because you have a 15px blur on the BODY, know it's within a range 16:34:21 standard deviation of feGaussianBlur is not bounded, but can't be infinite 16:34:25 https://drafts.fxtf.org/filter-effects/#element-attrdef-fegaussianblur-stddeviation 16:34:31 florian: but you have to walk up the tree to figure out what filters might apply 16:34:37 I don't think it's a problem. 16:34:39 smfr: Do any implementers think this is a problem? 16:34:46 Rossen: do you? 16:34:52 smfr: I haven't implemented yet, I think it's fine. 16:35:12 florian: Well, the spec says as soon as element is off-screen can stop painting, that point definitely is not true 16:35:29 chrishtr: Yes, spec will need to be updated to account for filters. 16:35:47 florian: Is that good enough? or do we need to find some other solution 16:35:49 chrishtr: I think it's good enough 16:35:59 Rossen: How about we start with this, and if we find additional evidence we'll come back 16:36:20 florian: Alternative might be to say that paint-contained elements are not taken as input into filters 16:36:33 fantasai: That sounds worse 16:36:36 chrishtr: Sounds weird 16:36:42 chrishtr: Browsers can compute this, don't see a big problem 16:36:52 florian: If you don't think it'll be expensive, then fine 16:37:32 chrishtr: e.g. browser could apply simple heuristic if page doesn't have an any pixel-moving filters on it, then apply reasonable margin, or whatever 16:37:53 fantasai: proposal: update spec to acknowledge effects of filters? 16:38:13 RESOLVED: Update spec to acknowledge effects of filters. No other change. 16:39:14 Topic: Grid 1 - sum of flex factures < 1 16:39:16 github: https://github.com/w3c/csswg-drafts/issues/6078 16:39:57 oriol: The specification says when taking into account the intrinsic contributions of items spanning flexible tracks, we distribute according to flex ratios of the tracks 16:40:14 oriol: We had a problem that all flexible tracks have 0fr, then have to divide by zero which is not well-defined. 16:40:20 oriol: So we resolved that in that case the distribution is done equally 16:40:31 oriol: Now we have the problem that this is not continuous 16:40:52 oriol: If you have 0fr to 0.00001fr, suddenly change from distributing equally to that track getting all the contribution 16:40:57 oriol: So proposal is to do the distribution continuously 16:41:11 oriol: If sum is >= 1 no change from now 16:41:19 oriol: if sum is zero, equal distribution as before 16:41:31 oriol: in between, we would [...] 16:41:53 oriol: we would multiply the space by the sum (which is < 1) and distribute that space proportionally 16:41:58 oriol: and distribute the rest of the space equally 16:42:03 oriol: This gives continuity between 0 and 1 16:42:31 Rossen: Any feedback? 16:42:50 fantasai: I think it’s a good change that makes sense and gives us continuity between 0 and 1. 16:43:24 dbaron: Does anything else in CSS act like this? 16:43:30 fantasai: Flex acts a little like this. 16:43:32 yeah, the flexbox spec says something similar for flex-grow < 1 -- we should be sure to make this as similar as possible. 16:43:36 for coherence 16:43:37 iank_: table percentage distribution acts a bit like this 16:44:13 fantasai: The main difference between this and flex is that here you distribute all the space but in flex you distribute some of it. 16:44:26 dbaron[m]: ok, seemed a little weird to only make the change in this place 16:44:38 iank_: Modulo web-compat... 16:44:45 iank_: I have a bug about 0frs and things 16:44:55 iank_: Depending on how widespread that is... 16:45:06 oriol: I don't think web-compat is problematic for this specific thing 16:45:20 oriol: Currently implementations are not taking into account intrinsic contributions of items spanning multiple flexible trakcs 16:45:26 oriol: gridNG implemented the right hting 16:45:32 oriol: if we had a compat problem, it would be more general problem 16:45:50 Rossen: not hearing any objections 16:46:06 RESOLVED: Accept proposal for continuous distribution of space to intrinsic grid tracks 16:46:24 Topic: baseline-alignment and auto margins 16:46:28 github: https://github.com/w3c/csswg-drafts/issues/5923 16:48:31 fantasai: The interaction isn’t well defined. We found there’s a lot missing about grid and auto margins. We made a non-normative section normative. We brought some alignment into harmony with flexbox. 16:49:20 fantasai: When you have content baseline alignment across multiple items, and you’re trying to add padding, the ‘align-self’ property can move the box. 16:49:54 fantasai: If boxes are moved, baseline alignment gets weird. We have some working in alignment that says you have to have a coordinating alignment, start or end. 16:50:03 fantasai: We didn’t account for how auto margins can move boxes. 16:50:44 fantasai: Option 1, we require a coordinated alignment effect. If the auto margin cause the box to be centered, baseline alignment is diabled. 16:50:59 fantasai: Option 2, any auto margins diable baseline alignment. 16:51:08 fantasai: We went with option 1 but are open to other options. 16:51:15 iank_: We don't implement content baseline alignment yet 16:51:19 iank_: but I think it sounds fine 16:51:32 iank_: for self-alignment though, any auto margins don't participate in baseline alignment, right? 16:51:49 fantasai: If that’s what’s implemented, the spec should say so. 16:52:14 iank_: If we have align-self: baseline and any auto margin, we ignore that align-self 16:52:30 fantasai: Right, they're both trying to align the box, so have to pick one 16:52:42 iank_: but for content alignment, this seems fine 16:53:16 iank_: One thing I might need to check is, if they participate in the propagation of a baseline 16:53:23 iank_: but that might be a separate issue... 16:54:21 [discussion of javier's comments, possible mixing up self- vs content-alignment causing confusion] 16:54:33 which option are we proposing? 16:54:37 (1 vs 2) 16:54:45 I think we're proposing 1, unless anyone has a problem with 2 16:54:48 (I'm fine with either, I think) 16:54:58 s/with 2/with it 16:55:05 Rossen: Anyone else with an opinion? 16:55:55 proposed: alignment via auto margins disables content baseline-alignment the same way as align-self values with the same effect 16:56:29 RESOLVED: alignment via auto margins disables content baseline-alignment the same way as align-self values with the same effect 16:56:48 Rossen: if Javier or Tab has concerns, can come back to it later 16:57:56 [search for a topic that can be covered in ~3 minutes] 16:58:12 topic: overflow-clip-margin and border-radius 16:59:06 fantasai: The border radius applies to the border edge but it affects the padding contant edges. Are you offsetting from the shape of the offsetting box, or against the border edge? 16:59:16 s/contant/content/ 16:59:31 github: https://github.com/w3c/csswg-drafts/issues/5896 16:59:44 fantasai: The border radius should not be affected by overflow-clip-margin. 17:00:28 Florian: the question is how these should interact 17:00:41 florian: There's a formula for rounding, it will give different results depending on how you apply it 17:00:50 florian: maybe we just need to spec what's implemented so far? 17:00:57 Rossen: we're at time 17:01:11 chrishtr: sounds like we should go back to issue 17:01:17 [note: smfr asked for pictures also] 17:01:49 fantasai: Why was https://github.com/w3c/csswg-drafts/issues/4791 on the adgenda? 17:02:17 Meeting closed. 17:03:11 emeyer has left #css 17:03:30 iank_: good question... I think maye to confirm that we're editing in the 'zero area elements don't take up space' rule? 17:04:03 ok sg. 17:52:08 Topic: none 18:54:49 Zakim has left #css 19:25:29 projector has joined #css 19:26:00 leaverou has joined #css 19:26:30 Rossen has joined #css 19:27:00 shans has joined #css 19:27:31 sylvaing has joined #css 20:11:12 jensimmons has joined #css 21:58:47 jfkthame has joined #css 23:05:15 jfkthame has joined #css