Skip to content
  • mrobinson@webkit.org's avatar
    [MathML] Center of stretched curly bracket not always vertically centered · b39d0738
    mrobinson@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=123715
    
    Reviewed by Brent Fulgham.
    
    Source/WebCore:
    
    * rendering/mathml/RenderMathMLOperator.cpp:
    (WebCore::RenderMathMLOperator::fillWithExtensionGlyph): Update an assertion and
    handle the case where two glyph pieces abut.
    (WebCore::RenderMathMLOperator::paint): Do not offset the center glyph by y().
    
    LayoutTests:
    
    * TestExpectations: Unskip mo-stretch.html. It was skipped originally,
    because MathML is changing rapidly, but we need it to test these changes.
    * mathml/presentation/mo-stretch.html: Update to show stretching characteristics
    of all stretchable glyphs.
    * platform/gtk/mathml/presentation/mo-stretch-expected.png:
    * platform/gtk/mathml/presentation/mo-stretch-expected.txt:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    b39d0738