Skip to content
  • robert@webkit.org's avatar
    REGRESSION(r142152): Text wraps in menu · d063ec6c
    robert@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=113706
    
    Reviewed by David Hyatt.
    
    Source/WebCore:
    
    * rendering/RenderBlockLineLayout.cpp:
    (WebCore::inlineLogicalWidth): Empty inline elements add their inline border/padding/margin to the width of the
    line when we iterate through them in nextLineBreak(), so no need to add them again here when climbing back up
    from their first child looking for border/padding/margin to add. (An empty inline element can have floating children.)
    
    LayoutTests:
    
    * fast/inline/inline-with-empty-inline-children-expected.txt:
    * fast/inline/inline-with-empty-inline-children.html:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d063ec6c