[MathML] Poor spacing around delimiters in MathML Torture Test 14
authormrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 10 Nov 2013 03:39:51 +0000 (03:39 +0000)
committermrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 10 Nov 2013 03:39:51 +0000 (03:39 +0000)
commitf58b46c78c095c5cad60405471d98fa8f1f78b4c
treee92d53325de6f06e5a237d31441c97f04cdb5939
parentd26b8b26ac445253e90b9eaa0bbe6104953c8077
[MathML] Poor spacing around delimiters in MathML Torture Test 14
https://bugs.webkit.org/show_bug.cgi?id=122837

Reviewed by Brent Fulgham.

Instead of stretching the vertical bar with the stretchable version, just repeat
the normal vertical bar. This follows what Gecko does when rendering tall vertical
bars and also works around an issue with STIX fonts leading to poor spacing in
formulas.

Source/WebCore:

* rendering/mathml/RenderMathMLOperator.cpp: Stretch the vertical bar with the
normal variant.

LayoutTests:

* platform/gtk/mathml/presentation/mo-stretch-expected.png: Update to reflect new results.
* platform/gtk/mathml/presentation/mo-stretch-expected.txt: Ditto.
* platform/mac/mathml/presentation/mo-stretch-expected.png: Ditto.
* platform/mac/mathml/presentation/mo-stretch-expected.txt: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@159007 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/gtk/mathml/presentation/mo-stretch-expected.png
LayoutTests/platform/gtk/mathml/presentation/mo-stretch-expected.txt
LayoutTests/platform/mac/mathml/presentation/mo-stretch-expected.png
LayoutTests/platform/mac/mathml/presentation/mo-stretch-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/rendering/mathml/RenderMathMLOperator.cpp