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

Issue 349573005: Handle multiple fragments in the getCharNumberAtPosition SVGTextQuery (Closed)

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

Description

Handle multiple fragments in the getCharNumberAtPosition SVGTextQuery The start position (and thus indirectly end position) used to compute the extents of a glyph to check against the point is computed based on the 'processedCharacter' query data state. Said state is only updated after each text box has been processed, meaning that for a text box with multiple fragments, the offset of the fragment within the box needs to be included to get the correct start/end position. BUG=387725 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176936

Patch Set 1 #

Patch Set 2 : Remove redundant line from test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -2 lines) Patch
A LayoutTests/svg/text/getcharnumatposition-multiple-fragments.html View 1 1 chunk +21 lines, -0 lines 0 comments Download
A LayoutTests/svg/text/getcharnumatposition-multiple-fragments-expected.txt View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/rendering/svg/SVGTextQuery.cpp View 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
fs
6 years, 6 months ago (2014-06-23 16:37:01 UTC) #1
pdr.
On 2014/06/23 16:37:01, fs wrote: Tricky code :/ Why is this fix needed here but ...
6 years, 6 months ago (2014-06-24 20:44:08 UTC) #2
fs
On 2014/06/24 20:44:08, pdr wrote: > On 2014/06/23 16:37:01, fs wrote: > > Tricky code ...
6 years, 6 months ago (2014-06-25 08:15:59 UTC) #3
pdr.
On 2014/06/25 08:15:59, fs wrote: > On 2014/06/24 20:44:08, pdr wrote: > > On 2014/06/23 ...
6 years, 5 months ago (2014-06-25 16:07:20 UTC) #4
fs
The CQ bit was checked by fs@opera.com
6 years, 5 months ago (2014-06-25 17:04:50 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fs@opera.com/349573005/20001
6 years, 5 months ago (2014-06-25 17:05:25 UTC) #6
commit-bot: I haz the power
6 years, 5 months ago (2014-06-25 17:08:19 UTC) #7
Message was sent while issue was closed.
Change committed as 176936

Powered by Google App Engine
This is Rietveld 408576698