<?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>121054</bug_id>
          
          <creation_ts>2013-09-09 15:12:36 -0700</creation_ts>
          <short_desc>ASSERTION FAILED: mainAxisExtent - mainAxisBorderAndPaddingExtentForChild(child) &gt;= 0</short_desc>
          <delta_ts>2016-07-07 15:14:07 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>
          <dependson>153991</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vicki Pfau">jeffrey+webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>alex</cc>
    
    <cc>daker.pinheiro</cc>
    
    <cc>fred.wang</cc>
    
    <cc>rhodovan.u-szeged</cc>
    
    <cc>sergio</cc>
    
    <cc>tony</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>926936</commentid>
    <comment_count>0</comment_count>
      <attachid>211100</attachid>
    <who name="Vicki Pfau">jeffrey+webkit</who>
    <bug_when>2013-09-09 15:12:36 -0700</bug_when>
    <thetext>Created attachment 211100
Repro

The assertion mainAxisExtent - mainAxisBorderAndPaddingExtentForChild(child) &gt;= 0 in RenderFlexibleBox::preferredMainAxisContentExtentForChild(WebCore::RenderBox *, bool) can fail in certain cases. A simple repro case is attached.

&lt;rdar://problem/14933505&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>933705</commentid>
    <comment_count>1</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2013-09-26 14:27:18 -0700</bug_when>
    <thetext>I tried this in a debug build of blink, but blink doesn&apos;t hit this assert.  This is probably because blink doesn&apos;t support MathML.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>986309</commentid>
    <comment_count>2</comment_count>
    <who name="Renata Hodovan">rhodovan.u-szeged</who>
    <bug_when>2014-03-03 02:20:02 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; I tried this in a debug build of blink, but blink doesn&apos;t hit this assert.  This is probably because blink doesn&apos;t support MathML.

I can reproduce this issue (or at least the same assertion fail) on the TotT Blink with a different test case. The issue with the test case is reported here: https://code.google.com/p/chromium/issues/detail?id=335121.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1139913</commentid>
    <comment_count>3</comment_count>
      <attachid>264921</attachid>
    <who name="Renata Hodovan">rhodovan.u-szeged</who>
    <bug_when>2015-11-06 02:03:16 -0800</bug_when>
    <thetext>Created attachment 264921
Repro 2

An even shorter repro is:

&lt;math&gt;&lt;menclose&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1174390</commentid>
    <comment_count>4</comment_count>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2016-03-14 03:54:45 -0700</bug_when>
    <thetext>I didn&apos;t not try the testcase, but I&apos;m making this depends on bug 153991 where MathML will have its own layout, independent from flexbox.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1205514</commentid>
    <comment_count>5</comment_count>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2016-06-27 03:54:09 -0700</bug_when>
    <thetext>I no longer have this assert after the MathML refactoring (probably fixed by bug 155019 and 153918). I&apos;m still waiting bug 153991 before closing this bug so that we are sure that code will never be executed with MathML.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1208815</commentid>
    <comment_count>6</comment_count>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2016-07-07 15:14:07 -0700</bug_when>
    <thetext>Fixed by http://trac.webkit.org/changeset/202934, since MathML no longer execute RenderFlexibleBox code.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>211100</attachid>
            <date>2013-09-09 15:12:36 -0700</date>
            <delta_ts>2013-09-09 15:12:36 -0700</delta_ts>
            <desc>Repro</desc>
            <filename>flex-main-axis-assertion.html</filename>
            <type>text/html</type>
            <size>175</size>
            <attacher name="Vicki Pfau">jeffrey+webkit</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+PGh0bWw+Cjxib2R5Pgo8cCBzdHlsZT0iLXdlYmtpdC13cml0aW5nLW1v
ZGU6IHZlcnRpY2FsLWxyOyI+CjxtYXRoPgo8bXN1YnN1cD4KPG1uIGRpcj0icnRsIj4KPC9tbj4K
PG1vIGRpcj0ibHRyIj4KPC9tbz4KPC9tc3Vic3VwPgo8L21hdGg+CjwvcD4KPC9ib2R5Pgo8L2h0
bWw+Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>264921</attachid>
            <date>2015-11-06 02:03:16 -0800</date>
            <delta_ts>2015-11-06 02:03:16 -0800</delta_ts>
            <desc>Repro 2</desc>
            <filename>test.html</filename>
            <type>text/html</type>
            <size>305</size>
            <attacher name="Renata Hodovan">rhodovan.u-szeged</attacher>
            
              <data encoding="base64">CjwhLS0gc2F2ZWQgZnJvbSB1cmw9KDAxMDIpaHR0cDovL2Z1enplci5hdGVhbS5zZWQuaHUvZnV6
emluYXRvci9URVNUUy9GQUlML3JlbmlmdXp6L2EzMTA3ZTg3NWE4YTRkZWYwZGQwZGI5NTIxMjY0
MWJiXzQvdGVzdC5odG1sIC0tPgo8aHRtbD48aGVhZD48bWV0YSBodHRwLWVxdWl2PSJDb250ZW50
LVR5cGUiIGNvbnRlbnQ9InRleHQvaHRtbDsgY2hhcnNldD1VVEYtOCI+PHN0eWxlIHR5cGU9InRl
eHQvY3NzIj48L3N0eWxlPjwvaGVhZD48Ym9keT48bWF0aD48bWVuY2xvc2U+PC9tZW5jbG9zZT48
L21hdGg+PC9ib2R5PjwvaHRtbD4=
</data>

          </attachment>
      

    </bug>

</bugzilla>