Bug 121054

Summary: ASSERTION FAILED: mainAxisExtent - mainAxisBorderAndPaddingExtentForChild(child) >= 0
Product: WebKit Reporter: Vicki Pfau <jeffrey+webkit>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: alex, daker.pinheiro, fred.wang, rhodovan.u-szeged, sergio, tony, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 153991    
Bug Blocks:    
Attachments:
Description Flags
Repro
none
Repro 2 none

Vicki Pfau
Reported 2013-09-09 15:12:36 PDT
Created attachment 211100 [details] Repro The assertion mainAxisExtent - mainAxisBorderAndPaddingExtentForChild(child) >= 0 in RenderFlexibleBox::preferredMainAxisContentExtentForChild(WebCore::RenderBox *, bool) can fail in certain cases. A simple repro case is attached. <rdar://problem/14933505>
Attachments
Repro (175 bytes, text/html)
2013-09-09 15:12 PDT, Vicki Pfau
no flags
Repro 2 (305 bytes, text/html)
2015-11-06 02:03 PST, Renata Hodovan
no flags
Tony Chang
Comment 1 2013-09-26 14:27:18 PDT
I tried this in a debug build of blink, but blink doesn't hit this assert. This is probably because blink doesn't support MathML.
Renata Hodovan
Comment 2 2014-03-03 02:20:02 PST
(In reply to comment #1) > I tried this in a debug build of blink, but blink doesn't hit this assert. This is probably because blink doesn'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.
Renata Hodovan
Comment 3 2015-11-06 02:03:16 PST
Created attachment 264921 [details] Repro 2 An even shorter repro is: <math><menclose>
Frédéric Wang (:fredw)
Comment 4 2016-03-14 03:54:45 PDT
I didn't not try the testcase, but I'm making this depends on bug 153991 where MathML will have its own layout, independent from flexbox.
Frédéric Wang (:fredw)
Comment 5 2016-06-27 03:54:09 PDT
I no longer have this assert after the MathML refactoring (probably fixed by bug 155019 and 153918). I'm still waiting bug 153991 before closing this bug so that we are sure that code will never be executed with MathML.
Frédéric Wang (:fredw)
Comment 6 2016-07-07 15:14:07 PDT
Fixed by http://trac.webkit.org/changeset/202934, since MathML no longer execute RenderFlexibleBox code.
Note You need to log in before you can comment on or make changes to this bug.