DescriptionClip the start position when performing SVG text queries
If a text query straddles multiple line boxes, only the first would be
considered, because |startPosition| would end up being negative.
Instead clip the character range to [0) (the following functions will
clip against the end position) and only reject ranges that are empty i.e.
that appear before the current fragment (logically.)
BUG=353462
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169682
Patch Set 1 #Patch Set 2 : Add missing -expected.txt. #
Messages
Total messages: 5 (0 generated)
|