[Webkit-unassigned] [Bug 260087] New: [css-flex][baseline-alignment] Use writing-mode end most flex line when determining last baseline of row nowrap flexboxes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 11 14:11:31 PDT 2023


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

            Bug ID: 260087
           Summary: [css-flex][baseline-alignment] Use writing-mode end
                    most flex line when determining last baseline of row
                    nowrap flexboxes
           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

In order for a flex container to itself participate in baseline alignment (e.g. when the flex container is itself a flex item in an outer flex container), it needs to submit the position of the baselines that will best represent its contents. To this end, the baselines of a flex container are determined as follows (after reordering with order, and taking flex-direction into account):

first/last main-axis baseline set
When the inline axis of the flex container matches its main axis, its baselines are determined as follows:
1.) If any of the flex items on the flex container’s startmost/endmost flex line participate in baseline alignment, the flex container’s first/last main-axis baseline set is generated from the shared alignment baseline of those flex items.
2.) Otherwise, if the flex container has at least one flex item, the flex container’s first/last main-axis baseline set is generated from the alignment baseline of the startmost/endmost flex item. (If that item has no alignment baseline parallel to the flex container’s main axis, then one is first synthesized from its border edges.)
3.) Otherwise, the flex container has no first/last main-axis baseline set, and one is synthesized if needed according to the rules of its alignment context.

first/last cross-axis baseline set
When the inline axis of the flex container matches its cross axis, its baselines are determined as follows:
1.) If the flex container has at least one flex item, the flex container’s first/last cross-axis baseline set is generated from the alignment baseline of the startmost/endmost flex item. (If that item has no alignment baseline parallel to the flex container’s cross axis, then one is first synthesized from its border edges.)
2.) Otherwise, the flex container has no first/last cross-axis baseline set, and one is synthesized if needed according to the rules of its alignment context.

-- 
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/20230811/f933f351/attachment.htm>


More information about the webkit-unassigned mailing list