<?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>243882</bug_id>
          
          <creation_ts>2022-08-12 09:18:25 -0700</creation_ts>
          <short_desc>[css-flexbox] align-content behavior does not match the spec for absolutely positioned children</short_desc>
          <delta_ts>2022-10-25 09:10:35 -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>CSS</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</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="Ryan Reno">rreno</reporter>
          <assigned_to name="Ryan Reno">rreno</assigned_to>
          <cc>rreno</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1890897</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Reno">rreno</who>
    <bug_when>2022-08-12 09:18:25 -0700</bug_when>
    <thetext>The static position of absolutely positioned children of multi-line flex containers will use the container&apos;s align-content to position the child when webkit.org/b/221472 is resolved. However, we will maintain our current behavior for the case of align-content: stretch. This is contrary to the spec which calls for a fallback to align-content: flex-start when the available space in the container is negative. (e.g. when the child is larger than the container).

This fallback behavior is ignored by all major engines and has been shipping with agreement for quite a while. Additionally, stretch is the normal, or default, behavior of align-content. A change in behavior here may have webcompat consequences. I raised an issue with the CSSWG to change the spec to match current browser behavior. Until that is resolved, this bug tracks the unspecified behavior we implement in WebKit for this one case.

CSSWG issue: https://github.com/w3c/csswg-drafts/issues/7596</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890903</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-08-12 09:39:42 -0700</bug_when>
    <thetext>&lt;rdar://problem/98573100&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1893505</commentid>
    <comment_count>2</comment_count>
    <who name="Ryan Reno">rreno</who>
    <bug_when>2022-08-24 10:30:33 -0700</bug_when>
    <thetext>The CSSWG resolved this issue in today&apos;s call. https://github.com/w3c/csswg-drafts/issues/7596#issuecomment-1225952646

tl;dr the spec will tell engines to ignore align-content for abspos children.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1908122</commentid>
    <comment_count>3</comment_count>
    <who name="Ryan Reno">rreno</who>
    <bug_when>2022-10-25 09:10:35 -0700</bug_when>
    <thetext>Spec has changed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>