• zalan@apple.com's avatar
    MathML: ASSERTION FAILED: !isPreferredLogicalHeightDirty() in... · d9b9bdfc
    zalan@apple.com authored
    MathML: ASSERTION FAILED: !isPreferredLogicalHeightDirty() in RenderMathMLBlock::preferredLogicalHeight() const
    https://bugs.webkit.org/show_bug.cgi?id=120157
    
    Reviewed by Antti Koivisto.
    
    RenderListMarker needs to be inserted to the render tree before
    we start computing the preferred logical widths for the associated
    RenderListItem.
    
    Source/WebCore:
    
    Test: mathml/mn-as-list-item-assert.html
    
    * rendering/RenderListItem.cpp:
    (WebCore::RenderListItem::insertOrMoveMarkerRendererIfNeeded):
    (WebCore::RenderListItem::layout):
    (WebCore::RenderListItem::computePreferredLogicalWidths):
    * rendering/RenderListItem.h:
    
    LayoutTests:
    
    * mathml/mn-as-list-item-assert-expected.txt: Added.
    * mathml/mn-as-list-item-assert.html: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d9b9bdfc