<rdar://problem/9052166> Emphasis marks appear over combined text rather than beside it
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Mar 2011 23:11:48 +0000 (23:11 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Mar 2011 23:11:48 +0000 (23:11 +0000)
commit9ed5b73e09cfc47451a0ee37bce6b048e600dc55
tree6efb9e0699bdb25dd55ebd6d06ea229489cf1b09
parentfd3814795572abc48eefd0715b18c38894ab6fe6
<rdar://problem/9052166> Emphasis marks appear over combined text rather than beside it
https://bugs.webkit.org/show_bug.cgi?id=56480

Reviewed by Beth Dakin.

Source/WebCore:

Test: fast/text/emphasis-combined-text.html

* rendering/InlineTextBox.cpp:
(WebCore::rotation): Added this helper.
(WebCore::InlineTextBox::paint): Paint a single emphasis mark beside the combined text,
centered vertically.

LayoutTests:

* fast/text/emphasis-combined-text.html: Added.
* platform/mac/fast/text/emphasis-combined-text-expected.checksum: Added.
* platform/mac/fast/text/emphasis-combined-text-expected.png: Added.
* platform/mac/fast/text/emphasis-combined-text-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@81404 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/text/emphasis-combined-text.html [new file with mode: 0644]
LayoutTests/platform/mac/fast/text/emphasis-combined-text-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/text/emphasis-combined-text-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/text/emphasis-combined-text-expected.txt [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/InlineTextBox.cpp