Changeset 103151 in webkit


Ignore:
Timestamp:
Dec 17, 2011, 10:51:45 AM (13 years ago)
Author:
mitz@apple.com
Message:

Radical sign drawn incorrectly due to refactoring typo
https://bugs.webkit.org/show_bug.cgi?id=74780

Patch by David Barton <Dave Barton> on 2011-12-17
Reviewed by Dan Bernstein.

LayoutTests/mathml/presentation/roots.xhtml shows the bug, but apparently its .png
checksum is ok so run-webkit-tests can't detect the problem.

  • rendering/mathml/RenderMathMLRoot.cpp:

(WebCore::RenderMathMLRoot::paint):
In revision 88250, one paintOffset should have been adjustedPaintOffset.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r103150 r103151  
     12011-12-17  David Barton  <dbarton@mathscribe.com>
     2
     3        Radical sign drawn incorrectly due to refactoring typo
     4        https://bugs.webkit.org/show_bug.cgi?id=74780
     5
     6        Reviewed by Dan Bernstein.
     7
     8        LayoutTests/mathml/presentation/roots.xhtml shows the bug, but apparently its .png
     9        checksum is ok so run-webkit-tests can't detect the problem.
     10
     11        * rendering/mathml/RenderMathMLRoot.cpp:
     12        (WebCore::RenderMathMLRoot::paint):
     13        In revision 88250, one paintOffset should have been adjustedPaintOffset.
     14
    1152011-12-17  Adrienne Walker  <enne@google.com>
    216
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLRoot.cpp

    r95901 r103151  
    143143    adjustedPaintOffset.setY(adjustedPaintOffset.y() + style()->paddingTop().value() - rootPad);
    144144   
    145     FloatPoint topStart(start - topStartShift, paintOffset.y());
     145    FloatPoint topStart(start - topStartShift, adjustedPaintOffset.y());
    146146    FloatPoint bottomLeft(start - gRadicalBottomPointXPos * frontWidth , adjustedPaintOffset.y() + maxHeight + gRadicalBasePad);
    147147    FloatPoint topLeft(start - gRadicalTopLeftPointXPos * frontWidth , adjustedPaintOffset.y() + gRadicalTopLeftPointYPos * maxHeight);
Note: See TracChangeset for help on using the changeset viewer.