https://bugs.webkit.org/show_bug.cgi?id=48085
authorhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Oct 2010 21:16:55 +0000 (21:16 +0000)
committerhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Oct 2010 21:16:55 +0000 (21:16 +0000)
commitd86122638b8af8228d6ee8a113a0c352f3b5c4bc
tree8cfd6383e34829c70df438028bf0aa6b9b7ef13b
parent9ff46b18cf266f4ae50430319348e9ccaee1865f
https://bugs.webkit.org/show_bug.cgi?id=48085

Reviewed by Darin Adler.

Make basic vertical text painting work.  This includes the text itself, underlines, overlines, line-throughs and shadows.

Added fast/blockflow/english-lr-text.html

WebCore:

* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::paint):
* rendering/InlineFlowBox.h:
* rendering/InlineTextBox.cpp:
(WebCore::InlineTextBox::applyShadowToGraphicsContext):
(WebCore::paintTextWithShadows):
(WebCore::InlineTextBox::paint):
(WebCore::InlineTextBox::paintDecoration):
(WebCore::InlineTextBox::paintTextMatchMarker):
* rendering/InlineTextBox.h:
* rendering/svg/SVGInlineTextBox.cpp:
(WebCore::SVGInlineTextBox::paintTextWithShadows):

LayoutTests:

* fast/blockflow/english-lr-text.html: Added.
* platform/mac/fast/blockflow/english-lr-text-expected.checksum: Added.
* platform/mac/fast/blockflow/english-lr-text-expected.png: Added.
* platform/mac/fast/blockflow/english-lr-text-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@70263 268f45cc-cd09-0410-ab3c-d52691b4dbfc
14 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/blockflow/english-lr-text.html [new file with mode: 0644]
LayoutTests/platform/mac/fast/blockflow/english-lr-text-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/blockflow/english-lr-text-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/blockflow/english-lr-text-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/text/international/vertical-text-glyph-test-expected.checksum
LayoutTests/platform/mac/fast/text/international/vertical-text-glyph-test-expected.png
WebCore/ChangeLog
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/rendering/InlineFlowBox.cpp
WebCore/rendering/InlineFlowBox.h
WebCore/rendering/InlineTextBox.cpp
WebCore/rendering/InlineTextBox.h
WebCore/rendering/svg/SVGInlineTextBox.cpp