[Webkit-unassigned] [Bug 261244] New: [css-grid] grid should not always put first and last baseline aligned items into different alignment contexts

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 6 17:01:27 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=261244

            Bug ID: 261244
           Summary: [css-grid] grid should not always put first and last
                    baseline aligned items into different alignment
                    contexts
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sgill26 at apple.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230907/9fc9f8b2/attachment.htm>


More information about the webkit-unassigned mailing list