RenderMathMLOperator: Add helper function to retrieve italic correction
authorfred.wang@free.fr <fred.wang@free.fr@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Apr 2016 18:27:51 +0000 (18:27 +0000)
committerfred.wang@free.fr <fred.wang@free.fr@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Apr 2016 18:27:51 +0000 (18:27 +0000)
commit409958fa6d88c0eb43ddd2442fb9a8c491bfc7d3
tree9469b4e4698bf16b7032e9368ae322c9496affd3
parent973533987f01f0f5b4a35129833d6a2d47d60024
RenderMathMLOperator: Add helper function to retrieve italic correction
https://bugs.webkit.org/show_bug.cgi?id=156572

Reviewed by Darin Adler.

No new tests, the helper function will only be used in bug 153918.

* rendering/mathml/RenderMathMLOperator.cpp:
(WebCore::RenderMathMLOperator::italicCorrection): Return the italic correction from the MATH table if it's a large operator.
* rendering/mathml/RenderMathMLOperator.h: Declare italicCorrection.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@199548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/rendering/mathml/RenderMathMLOperator.cpp
Source/WebCore/rendering/mathml/RenderMathMLOperator.h