Chromium Code Reviews
DescriptionChange handling of unmatched surrogate pairs
Change the way blink handles unmatched or invalid UTF16 surrogate pairs.
Formerly once an unmatched on invalid surrogate pair was encountered the
processing of the text node was aborted, resulting in the text following
the invalid surrogate pair to be trimmed.
With this change the unmatched/invalid pair is instead replaced with the
unicode replacement character and the rest of the node handled normally.
This matches the behavior of Firefox and Internet Explorer.
R=bsittler@chromium.org
BUG=518039
TEST=fast/text/unmatched-surrogate-pair.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200348
Patch Set 1 #
Total comments: 1
Patch Set 2 : Addressing reviewer comments #
Messages
Total messages: 17 (7 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||