Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Issue 206663003: Clip the start position when performing SVG text queries (Closed)

Created:
6 years, 9 months ago by fs
Modified:
6 years, 9 months ago
CC:
blink-reviews, krit, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, kouhei+svg_chromium.org, fs, ed+blinkwatch_opera.com, f(malita), gyuyoung.kim_webkit.org, jchaffraix+rendering, rwlbuis, Stephen Chennney, rune+blink
Visibility:
Public.

Description

Clip 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. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -1 line) Patch
A LayoutTests/svg/text/text-getSubStringLength.html View 1 chunk +29 lines, -0 lines 0 comments Download
A LayoutTests/svg/text/text-getSubStringLength-expected.txt View 1 1 chunk +7 lines, -0 lines 0 comments Download
M Source/core/rendering/svg/SVGTextQuery.cpp View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
fs
6 years, 9 months ago (2014-03-20 18:42:27 UTC) #1
pdr.
On 2014/03/20 18:42:27, fs wrote: LGTM
6 years, 9 months ago (2014-03-20 19:23:14 UTC) #2
pdr.
The CQ bit was checked by pdr@chromium.org
6 years, 9 months ago (2014-03-20 19:23:21 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fs@opera.com/206663003/20001
6 years, 9 months ago (2014-03-20 19:23:26 UTC) #4
commit-bot: I haz the power
6 years, 9 months ago (2014-03-20 19:44:29 UTC) #5
Message was sent while issue was closed.
Change committed as 169682

Powered by Google App Engine
This is Rietveld 408576698