[csswg-drafts] Pull Request: [css-align-3][css-flexbox-1][css-grid-1] Improve container baseline finding algo #7655 #7641

fantasai has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [css-align-3][css-flexbox-1][css-grid-1] Improve container baseline finding algo #7655 #7641 ==
This pull request covers the issues #7655 #7641 including the following resolutions (see [minutes](https://lists.w3.org/Archives/Public/www-style/2022Oct/0013.html)):

* RESOLVED: When taking the baseline of a row of items, we check a shared first baseline, then a shared last baseline, then the first baseline of the first item. (And vice versa for last baselines.)

* RESOLVED: Rowspanning cells participate only in first baseline alignment of their first row, and last baseline alignment in the last row.

* RESOLVED: Table baselines match grid, per details above.

**OPEN ISSUES**
* There was some confusion over whether we resolved to take the baseline from the first item or the highest item, see [comments](https://github.com/w3c/csswg-drafts/issues/7641#issuecomment-1288415323). Firefox and WebKit use the first, Chrome NG uses the highest.
* If we are indeed using the highest, what happens if there's a tie? (Unclear if there are cases where this matters, but maybe someday there will be?) We wrote in to use order-modified document order for Flex and grid placement order for Grid.


See https://github.com/w3c/csswg-drafts/pull/8341


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 20 January 2023 19:21:31 UTC