<?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>98213</bug_id>
          
          <creation_ts>2012-10-02 16:51:41 -0700</creation_ts>
          <short_desc>[Flexbox] Webkit picks a different flex base size for multicol elements with &quot;align-self:stretch&quot; vs. other &quot;align-self&quot; values</short_desc>
          <delta_ts>2017-07-18 08:27:18 -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>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>https://people.mozilla.com/~dholbert/tests/flexbox/multicol-as-flex-item-1.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>62048</blocked>
    
    <blocked>91512</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Daniel Holbert">dholbert</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jfernandez</cc>
    
    <cc>tabatkins</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>733223</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Holbert">dholbert</who>
    <bug_when>2012-10-02 16:51:41 -0700</bug_when>
    <thetext>STR:
Load testcase, which has two auto-sized multicol elements as flex items in a vertical flex container.
 NOTE: The multicol elements are identical except for in their &quot;align-self&quot; values.
   - the orange one has &quot;align-self: stretch;&quot; (default)
   - the purple one has &quot;align-self: flex-end;&quot;

EXPECTED RESULTS: They should have the same height, since they only differ on &quot;align-self&quot;, and the flexbox spec has us resolve the main-size (the height, in this case) before we take &quot;align-self&quot; into consideration.

ACTUAL RESULTS: Their heights are different.

For reference, see this www-style thread where I asked for clarification on this:
  http://lists.w3.org/Archives/Public/www-style/2012Oct/0017.html

Tab and I agree that Webkit renders the purple flex item correctly, but the orange one incorrectly. (it should be as tall as the purple one)

Tested using google chrome dev channel:
Version 23.0.1271.10 dev</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>733225</commentid>
    <comment_count>1</comment_count>
    <who name="Daniel Holbert">dholbert</who>
    <bug_when>2012-10-02 16:54:49 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; Tab and I agree that Webkit renders the purple flex item correctly, but the orange one incorrectly. (it should be as tall as the purple one)

citation: http://lists.w3.org/Archives/Public/www-style/2012Oct/0053.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>733234</commentid>
    <comment_count>2</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2012-10-02 17:03:38 -0700</bug_when>
    <thetext>I expect we have lots of multicol/flexbox bugs. We really haven&apos;t done any testing of the intersection of the two. :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>733242</commentid>
    <comment_count>3</comment_count>
    <who name="Tab Atkins">tabatkins</who>
    <bug_when>2012-10-02 17:12:58 -0700</bug_when>
    <thetext>This intersection is sketchy anyway, since officially &quot;width: max-content&quot; isn&apos;t defined for multicols yet (we&apos;ll define it at &lt;http://dev.w3.org/csswg/css3-sizing/#multicol-intrinsic&gt; eventually).

But our behavior is inconsistent, which is incorrect regardless of the eventual definition of max-content.  (However, it appears that Firefox&apos;s behavior for max-content is the best one.)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>