<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>260091</bug_id>
          
          <creation_ts>2023-08-11 14:17:37 -0700</creation_ts>
          <short_desc>[css-flex][baseline-alignment] Use writing-mode start most flex item when determining first baseline of column nowrap flexboxes</short_desc>
          <delta_ts>2023-08-11 14:22:12 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sammy Gill">sgill26</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1970795</commentid>
    <comment_count>0</comment_count>
    <who name="Sammy Gill">sgill26</who>
    <bug_when>2023-08-11 14:17:37 -0700</bug_when>
    <thetext>https://drafts.csswg.org/css-flexbox-1/#flex-baselines

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&apos;s startmost/endmost flex line participate in baseline alignment, the flex container&apos;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&apos;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&apos;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&apos;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&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1970796</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-08-11 14:17:52 -0700</bug_when>
    <thetext>&lt;rdar://problem/113770701&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>