DescriptionDon't merge adjacent composition markers.
In CJK text compositions, a common pattern is for multiple adjacent
segments to be underlined, with a small separation between each and
possibly a thickness difference (example appearance at
http://www.w3.org/TR/ime-api/images/image08.png).
DocumentMarkerController's default behavior to merge overlapping or
adjacent markers converted this to a single uniform line, so disable
the merging for composition markers.
TEST=webkit_unit_tests --gtest_filter=DocumentMarkerControllerTest.CompositionMarkersNotMerged
BUG=488628
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=202423
Patch Set 1 #Patch Set 2 : Remove unnecessary toElement() call in the unit test #
Messages
Total messages: 10 (5 generated)
|