Currently grid computes the alignment context for first/last baseline aligned items as follows: auto spanForBaselineAlignment = align == ItemPosition::Baseline ? span.startLine() : span.endLine() This is not correct because items that are in the same track with different baseline alignments are technically in the same alignment context. As a result, items in the same alignment context can be in the same baseline sharing group is their baseline alignment preferences are compatible https://drafts.csswg.org/css-align-3/#baseline-terms
<rdar://problem/115083708>
Pull request: https://github.com/WebKit/WebKit/pull/17517
Committed 267922@main (caab01d5e748): <https://commits.webkit.org/267922@main> Reviewed commits have been landed. Closing PR #17517 and removing active labels.