[Chromium] unknown characters symbol on \n in complex script text (RTL and LTR)
authorbashi@chromium.org <bashi@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 Dec 2011 00:38:35 +0000 (00:38 +0000)
committerbashi@chromium.org <bashi@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 Dec 2011 00:38:35 +0000 (00:38 +0000)
commit251930c3c7f16fee504904d1f5a503c6f8c50035
tree1193f402f859ffc044013ee6ef8ed844408b3543
parentd9712f17ae175a82dcf737cc410ded6dce1a969a
[Chromium] unknown characters symbol on \n in complex script text (RTL and LTR)
https://bugs.webkit.org/show_bug.cgi?id=73806

Reviewed by Tony Chang.

Source/WebCore:

Sets fMergeNeutralItems to 1 instead of merging script items based on their tags.

Tests: platform/chromium/fast/text/international/chromium-complex-text-non-printable-expected.html
       platform/chromium/fast/text/international/chromium-complex-text-non-printable.html

* platform/graphics/chromium/UniscribeHelper.cpp:
(WebCore::UniscribeHelper::fillRuns): Removed a block which merges script items.

LayoutTests:

Adds a test to ensure the missing glyph doesn't appear on LF in complex text.

* fast/text/international/chromium-complex-text-non-printable-expected.html: Added.
* fast/text/international/chromium-complex-text-non-printable.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102190 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/text/international/chromium-complex-text-non-printable-expected.html [new file with mode: 0644]
LayoutTests/fast/text/international/chromium-complex-text-non-printable.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/chromium/UniscribeHelper.cpp