- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Thu, 15 Sep 2022 19:36:09 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `last baseline of tables`, and agreed to the following: * `RESOLVED: Table baselines match grid, per details above.` * `RESOLVED: Rowspanning cells particpate only in first baseline alignment of their first row, and last baseline alignment in the last row` <details><summary>The full IRC log of that discussion</summary> <TabAtkins> Topic: last baseline of tables<br> <fantasai> github: https://github.com/w3c/csswg-drafts/issues/7655<br> <TabAtkins> iank_: Tables work by taking the first baseline from the first row in the larger table<br> <TabAtkins> iank_: Importantly, we skip captions, this is intentional<br> <TabAtkins> iank_: So how do we determine last baseline?<br> <TabAtkins> iank_: First relatively obvious bit is we probably want the last row<br> <TabAtkins> iank_: Given the reoslution we just had for flex and grid, we can probably do something similar<br> <TabAtkins> iank_: So if you've got a lot of baseline-aligned items, we'll take the first-baseline of those items and use it as the table's last baseline; toherwise we'll synthesize<br> <TabAtkins> fantasai: Alignment expands baseline alignment for tables, says align-content works on cells; "normal" looks at vertical-align, but you can use first/last baseline normally<br> <heycam> q+<br> <TabAtkins> fantasai: So probably just want to take literally the grid behavior and apply it here<br> <TabAtkins> iank_: Yeah, fine with that<br> <TabAtkins> iank_: Not implementing it yet, but seems fine<br> <TabAtkins> iank_: Important is to not consider captions<br> <TabAtkins> fantasai: agreed<br> <fremy> q+<br> <TabAtkins> iank_: (I'll show Firefox folks some cases for why caption should be ignored later)<br> <Rossen_> ack heycam<br> <TabAtkins> heycam: How do spanning cells impact this?<br> <TabAtkins> iank_: it gets a little complex<br> <TabAtkins> iank_: this wouldn't apply until impls support align-content; if something is spanning multiple rows, its first baseline currently only contributes to its first spanned row<br> <TabAtkins> iank_: And last-baseline, you can only get spanned cells affecting the last baseline if you support align-content:last-baseline<br> <TabAtkins> fantasai: So a spanned cell only affects first baseline alignment in its first row, and last baseline in its last row, and that's it<br> <Rossen_> ack fremy<br> <TabAtkins> fantasai: so it doesn't affect first-baseline alignmetn in its last row, etc<br> <TabAtkins> fremy: When you synthesize, do you include the table border?<br> <TabAtkins> iank_: TAbles always have a valid baseline - it's complicated - if there's a tbody, you ahve a baseline bc you synthesize it using the content edge of the first row<br> <TabAtkins> iank_: I think if you have captions but no body there's no exported baseline, so you'd synthesize from the table border<br> <TabAtkins> iank_: Need to do some investigation on our behavior<br> <TabAtkins> fantasai: proposed resolution: finding first/last baseline of a table cell works same as in grid<br> <TabAtkins> iank_: And last baseline of a table is taken from teh corret baseline-sharing group in the alst table row<br> <TabAtkins> Rossen_: objections?<br> <TabAtkins> RESOLVED: Table baselines match grid, per details above.<br> <fantasai> RESOLVED: Rowspanning cells particpate only in first baseline alignment of their first row, and last baseline alignment in the last row<br> <TabAtkins> fremy: Should I modify Tables?<br> <TabAtkins> fantasai: We might be able to do it generically in Align.<br> <TabAtkins> fantasai: If we can't we'll ping you.<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7655#issuecomment-1248528627 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 15 September 2022 19:36:11 UTC