- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Mon, 13 Mar 2023 15:27:57 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-align-3][css-flexbox-1][css-grid-1] Improve container baseline finding algo #7655 #7641`, and agreed to the following: * `RESOLVED: first/last baseline takes from the first/last item (rather than taking highest/lowest baseline)` <details><summary>The full IRC log of that discussion</summary> <TabAtkins> fantasai: when tab and I were drafting the fixes, we ran into a few quesitons<br> <TabAtkins> fantasai: wanted to ask WG<br> <TabAtkins> fantasai: There was some confusiong whether we resolved to take baseline from "first" item or "highest" item - discussion about highest, but resoultion said first.<br> <TabAtkins> fantasai: Second is, if we take highest, what to do in a tie?<br> <Rossen_> q?<br> <TabAtkins> Rossen_: Is there a reason we're not using first? I presume this was originally what the text says<br> <TabAtkins> Rossen_: Seems reasonable for the "first" keyword<br> <TabAtkins> fantasai: This is in a grid row or similar, not clear which is "first"<br> <TabAtkins> fantasai: first and last refers to whether you take from the first or last linebox, or row<br> <TabAtkins> fantasai: for lineboxes there's a definite baseline<br> <TabAtkins> fantasai: For rows (flex rows, multicols, grid rows) it's less clear<br> <TabAtkins> fantasai: For multicol we resolved to take the highest baseline<br> <TabAtkins> iank_: Yeah for multicol we take the highest/lowest<br> <TabAtkins> iank_: Mostly bc first/last column might not hae a baseline<br> <TabAtkins> iank_: TAbles probably have some historicla stuff<br> <fantasai> https://github.com/w3c/csswg-drafts/issues/7641#issuecomment-1292240713<br> <TabAtkins> iank_: For flexbox and grid, suspect we want first/last, bc it's more likely to match the adjacent content<br> <TabAtkins> fantasai: In October you suggested taking the highest line<br> <TabAtkins> iank_: Yeah not sure I thought it thru at the time<br> <TabAtkins> iank_: I think it may make a little more sense to do first/last, but can go either way<br> <TabAtkins> Rossen_: It sounds like everyone but Chrome is doing first/last?<br> <TabAtkins> Rossen_: Firefox/WK do first, Chrome NG does highest (per issue)<br> <TabAtkins> iank_: Not sure if that is correct.<br> <TabAtkins> iank_: I think I'm fine with whatever makes sense to other people<br> <TabAtkins> Rossen_: So do we have strong use-cases where we *dont'* want the first/last one?<br> <iank_> https://www.software.hixie.ch/utilities/js/live-dom-viewer/?saved=11394<br> <TabAtkins> dholbert: I can imagine if the first flex item was an image, second is text... but even there highest isn't necessarily better<br> <TabAtkins> fantasai: it would take from the text there<br> <TabAtkins> dholbert: Unless the image was small<br> <TabAtkins> fantasai: It'd have to be *really* small, smaller than the first line, which seems unusual<br> <TabAtkins> Rossen_: I can't think of where you'd want to choose other than first or last one<br> <iank_> https://www.software.hixie.ch/utilities/js/live-dom-viewer/?saved=11395<br> <TabAtkins> iank_: I think Firefox's bheavior in this test case shows a weird behavior for last baseline<br> <TabAtkins> dholbert: I think our last-baseline support is just buggy right now<br> <TabAtkins> iank_: I think everyone currently implements taking first or last item<br> <TabAtkins> iank_: But happy to change if necessary<br> <TabAtkins> Rossen_: Okay, let's resolve on first/last, if we get a strong case to do different we can change it<br> <TabAtkins> Rossen_: For now we have proof of some compat for first/last<br> <TabAtkins> RESOLVED: first/last baseline takes from the first/last item (rather than taking highest/lowest baseline)<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/8341#issuecomment-1466365732 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 13 March 2023 15:27:59 UTC