Ruby base ending in tatechuyoko forces a line break before the tatechuyoko
authormmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Nov 2015 00:26:26 +0000 (00:26 +0000)
committermmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Nov 2015 00:26:26 +0000 (00:26 +0000)
commit8e6653c0549509f771319ddfdfe0752da27aaa25
treeadc4a7fdfe5910a3f766ef6d74d81444ce531941
parentb73d14bb69283de39a47cddf53f173cf8197460f
Ruby base ending in tatechuyoko forces a line break before the tatechuyoko
https://bugs.webkit.org/show_bug.cgi?id=150883

Reviewed by Darin Adler.

Source/WebCore:

Asking the width of a 0-length tatechuyoko should return 0.

Test: fast/text/ruby-tatechuyoko.html

* rendering/RenderCombineText.cpp:
(WebCore::RenderCombineText::width):

LayoutTests:

* platform/mac/fast/text/international/text-combine-image-test-expected.txt: Updated.
* platform/mac/fast/text/tatechuyoko-expected.txt: Ditto.
* fast/text/ruby-tatechuyoko-expected.html: Added.
* fast/text/ruby-tatechuyoko.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@192042 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/text/ruby-tatechuyoko-expected.html [new file with mode: 0755]
LayoutTests/fast/text/ruby-tatechuyoko.html [new file with mode: 0755]
LayoutTests/platform/mac-mavericks/fast/text/international/text-combine-image-test-expected.txt
LayoutTests/platform/mac-mavericks/fast/text/tatechuyoko-expected.txt
LayoutTests/platform/mac/fast/text/international/text-combine-image-test-expected.txt
LayoutTests/platform/mac/fast/text/tatechuyoko-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderCombineText.cpp