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

Issue 1883553004: Refactor the current text position update in SVGTextLayoutEngine (Closed)

Created:
4 years, 8 months ago by fs
Modified:
4 years, 8 months ago
Reviewers:
pdr.
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, krit, eae+blinkwatch, f(malita), gyuyoung2, jchaffraix+rendering, kouhei+svg_chromium.org, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor the current text position update in SVGTextLayoutEngine The main change is around the handling of "delta" adjustments ('dx' / 'dy'), that is changed to not require keeping state. Additionally text-on-a-path layout is changed to track the displacement from the path (the accumulated delta adjustments in the perpendicular direction.) Baseline adjustments are consolidated between code-paths and part of the "fragmentation" condition is hoisted out of the per-"glyph" loop. BUG=486669 Committed: https://crrev.com/143115b480cad3f35087b24eeb155c4aa2f579e4 Cr-Commit-Position: refs/heads/master@{#387694}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Touchups #

Patch Set 3 : One more TE. #

Patch Set 4 : Restore old behavior wrt text-on-a-path. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -128 lines) Patch
M third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.h View 1 3 chunks +5 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp View 1 2 3 8 chunks +92 lines, -121 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
fs
Had this lying around, gathering dust, for some time. Maybe now the time is right. ...
4 years, 8 months ago (2016-04-13 19:07:27 UTC) #3
pdr.
https://codereview.chromium.org/1883553004/diff/1/third_party/WebKit/LayoutTests/TestExpectations File third_party/WebKit/LayoutTests/TestExpectations (right): https://codereview.chromium.org/1883553004/diff/1/third_party/WebKit/LayoutTests/TestExpectations#newcode110 third_party/WebKit/LayoutTests/TestExpectations:110: crbug.com/486669 svg/batik/text/textOnPath2.svg [ NeedsRebaseline ] Can you double-check that ...
4 years, 8 months ago (2016-04-14 01:05:52 UTC) #4
fs
https://codereview.chromium.org/1883553004/diff/1/third_party/WebKit/LayoutTests/TestExpectations File third_party/WebKit/LayoutTests/TestExpectations (right): https://codereview.chromium.org/1883553004/diff/1/third_party/WebKit/LayoutTests/TestExpectations#newcode110 third_party/WebKit/LayoutTests/TestExpectations:110: crbug.com/486669 svg/batik/text/textOnPath2.svg [ NeedsRebaseline ] On 2016/04/14 at 01:05:51, ...
4 years, 8 months ago (2016-04-14 08:56:42 UTC) #5
fs
https://codereview.chromium.org/1883553004/diff/1/third_party/WebKit/LayoutTests/TestExpectations File third_party/WebKit/LayoutTests/TestExpectations (right): https://codereview.chromium.org/1883553004/diff/1/third_party/WebKit/LayoutTests/TestExpectations#newcode110 third_party/WebKit/LayoutTests/TestExpectations:110: crbug.com/486669 svg/batik/text/textOnPath2.svg [ NeedsRebaseline ] On 2016/04/14 at 08:56:42, ...
4 years, 8 months ago (2016-04-14 09:04:43 UTC) #6
pdr.
On 2016/04/14 at 09:04:43, fs wrote: > https://codereview.chromium.org/1883553004/diff/1/third_party/WebKit/LayoutTests/TestExpectations > File third_party/WebKit/LayoutTests/TestExpectations (right): > > https://codereview.chromium.org/1883553004/diff/1/third_party/WebKit/LayoutTests/TestExpectations#newcode110 ...
4 years, 8 months ago (2016-04-14 20:47:16 UTC) #7
fs
On 2016/04/14 at 20:47:16, pdr wrote: > On 2016/04/14 at 09:04:43, fs wrote: > > ...
4 years, 8 months ago (2016-04-15 08:59:44 UTC) #9
pdr.
On 2016/04/15 at 08:59:44, fs wrote: > On 2016/04/14 at 20:47:16, pdr wrote: > > ...
4 years, 8 months ago (2016-04-15 20:56:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1883553004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1883553004/60001
4 years, 8 months ago (2016-04-15 20:59:01 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-15 21:04:01 UTC) #14
commit-bot: I haz the power
4 years, 8 months ago (2016-04-15 21:05:54 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/143115b480cad3f35087b24eeb155c4aa2f579e4
Cr-Commit-Position: refs/heads/master@{#387694}

Powered by Google App Engine
This is Rietveld 408576698