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

Issue 2151323004: Calculate correct cull rect for SVG inline text boxes. (Closed)

Created:
4 years, 5 months ago by wkorman
Modified:
4 years, 5 months ago
Reviewers:
pdr
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, slimming-paint-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Calculate correct cull rect for SVG inline text boxes. Cull rects were larger than needed when text was selected. Identified while investigating test failure of: svg/text/text-selection-align-06-b.svg as part of http://crrev.com/2073563002 for crbug.com/616600, though fixing these did not actually fix any issues for that patch or bug. Reland of http://crrev.com/2137753002 with updated test to approximate expected rects to allow for minor font metrics differences across platforms. Notably, previous patch failed on Android Nexus 4 due to 1 - 2 pixel deltas. BUG=627233 TBR=pdr Committed: https://crrev.com/344d1d48097756a754766c75b9c49c756f85d20e Cr-Commit-Position: refs/heads/master@{#405920}

Patch Set 1 #

Patch Set 2 : Update error message. #

Patch Set 3 : Sync to head. #

Patch Set 4 : Fix assert fail logging. #

Patch Set 5 : Allow 8 pixels delta. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -3 lines) Patch
M third_party/WebKit/Source/core/core.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/DOMSelection.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp View 1 chunk +1 line, -2 lines 0 comments Download
A third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainterTest.cpp View 1 2 3 4 1 chunk +136 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (12 generated)
wkorman
Reland with test updated to approximate expected values.
4 years, 5 months ago (2016-07-15 21:36:28 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2151323004/20001
4 years, 5 months ago (2016-07-15 21:36:52 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/231843) linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 5 months ago (2016-07-15 21:51:37 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2151323004/40001
4 years, 5 months ago (2016-07-15 21:58:02 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/245248)
4 years, 5 months ago (2016-07-15 22:11:44 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2151323004/60001
4 years, 5 months ago (2016-07-15 22:52:39 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/263843)
4 years, 5 months ago (2016-07-16 00:14:40 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2151323004/60001
4 years, 5 months ago (2016-07-16 00:50:40 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-16 02:07:57 UTC) #20
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/344d1d48097756a754766c75b9c49c756f85d20e Cr-Commit-Position: refs/heads/master@{#405920}
4 years, 5 months ago (2016-07-16 02:09:25 UTC) #22
Benoit L
4 years, 5 months ago (2016-07-18 09:50:19 UTC) #23
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/2161573002/ by lizeb@chromium.org.

The reason for reverting is: Broke WebKit Android (Nexus4).

BUG=629023.

Powered by Google App Engine
This is Rietveld 408576698