<?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>157070</bug_id>
          
          <creation_ts>2016-04-27 07:14:03 -0700</creation_ts>
          <short_desc>Safari 9 flexbox align-content attribute incorrect behavior</short_desc>
          <delta_ts>2022-02-13 19:34:39 -0800</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>Safari 9</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.11</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=209871</see_also>
          <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="Alexander Bea">alex.bea</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>alex.bea</cc>
    
    <cc>bfulgham</cc>
    
    <cc>hyatt</cc>
    
    <cc>jonlee</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1187738</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Bea">alex.bea</who>
    <bug_when>2016-04-27 07:14:03 -0700</bug_when>
    <thetext>This came up in a Stack Overflow question where flex container contents were floating center when `align-self: flex-end` was set on the child in Safari 9 (1). Turned out that it was align-content: center causing the problem. According to the align-content spec, there should be no effect on a single-line flex container (2). That seems to be the case in other browsers. So the bug is that align-content is having an effect when it shouldn&apos;t there.

Example cleaned up from SO here for review: http://codepen.io/alexbea/pen/KzBXQJ


(1) http://stackoverflow.com/questions/36770602/safari-9-flexbox-align-self-flex-end-doesnt-work
(2) https://www.w3.org/TR/css-flexbox-1/#align-content-property</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1260355</commentid>
    <comment_count>1</comment_count>
    <who name="Jon Lee">jonlee</who>
    <bug_when>2016-12-15 16:26:32 -0800</bug_when>
    <thetext>&lt;rdar://problem/29695099&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1281800</commentid>
    <comment_count>2</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2017-02-28 10:45:57 -0800</bug_when>
    <thetext>The codepen is gone, so not sure how to test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1281830</commentid>
    <comment_count>3</comment_count>
    <who name="Jon Lee">jonlee</who>
    <bug_when>2017-02-28 11:22:07 -0800</bug_when>
    <thetext>Move to INVALID due to insufficient info.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1282721</commentid>
    <comment_count>4</comment_count>
    <who name="Alexander Bea">alex.bea</who>
    <bug_when>2017-03-02 07:36:26 -0800</bug_when>
    <thetext>I was doing some Codepen account cleanup and accidentally deleted it. I&apos;ve reproduced it:

https://codepen.io/alexbea/pen/RpaNQq</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1636664</commentid>
    <comment_count>5</comment_count>
      <attachid>395204</attachid>
    <who name="Alexander Bea">alex.bea</who>
    <bug_when>2020-04-01 14:46:36 -0700</bug_when>
    <thetext>Created attachment 395204
Single file demo of the problem

I&apos;m attaching this demo in case the Codepen demo disappears again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1841109</commentid>
    <comment_count>6</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-02-13 19:34:39 -0800</bug_when>
    <thetext>I&apos;m afraid I can&apos;t see any difference between Safari 15.4 (Beta) and Chrome on this test page.

I suspect that this (along with a number of other flex bugs) have been fixed since this was originally filed.

Could you please REOPEN if this is still an issue, and perhaps help me understand what I missed when I looked at the test case?</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>395204</attachid>
            <date>2020-04-01 14:46:36 -0700</date>
            <delta_ts>2020-04-01 14:46:36 -0700</delta_ts>
            <desc>Single file demo of the problem</desc>
            <filename>demo.html</filename>
            <type>text/html</type>
            <size>1266</size>
            <attacher name="Alexander Bea">alex.bea</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sIGxhbmc9ImVuIiBkaXI9Imx0ciI+CiAgPGhlYWQ+CiAgICA8
bWV0YSBjaGFyc2V0PSJ1dGYtOCI+CiAgICA8dGl0bGU+PC90aXRsZT4KICA8L2hlYWQ+CiAgPGJv
ZHk+CiAgICA8c3R5bGUgbWVkaWE9InNjcmVlbiI+CiAgICAgIGJvZHkgeyBiYWNrZ3JvdW5kLWNv
bG9yOiBncmF5OyB9CgogICAgICAucm93IHsKICAgICAgICBkaXNwbGF5OiBmbGV4OwogICAgICAg
IGZsZXgtd3JhcDogd3JhcDsKICAgICAgICBhbGlnbi1jb250ZW50OiBjZW50ZXI7CiAgICAgICAg
YWxpZ24taXRlbXM6IGZsZXgtc3RhcnQ7CgogICAgICAgIC8qICBGb3IgY2xhcml0eSAgKi8KICAg
ICAgICBoZWlnaHQ6IDQwMHB4OwogICAgICAgIG1heC13aWR0aDogNjAwcHg7CiAgICAgICAgYmFj
a2dyb3VuZC1jb2xvcjogeWVsbG93OwogICAgICAgIG1hcmdpbi1sZWZ0OiBhdXRvOwogICAgICAg
IG1hcmdpbi1yaWdodDogYXV0bzsKICAgICAgfQoKICAgICAgLmNvbnRlbnQgewogICAgICAgIGFs
aWduLXNlbGY6IGZsZXgtZW5kOwoKICAgICAgICAvKiAgRm9yIGNsYXJpdHkgICovCiAgICAgICAg
YmFja2dyb3VuZC1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