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

Issue 2124793002: Use the correct bounding rect in SVGInlineTextBox::nodeAtPoint (Closed)

Created:
4 years, 5 months ago by fs
Modified:
4 years, 5 months ago
Reviewers:
pdr., Stephen Chennney
CC:
fs, 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

Use the correct bounding rect in SVGInlineTextBox::nodeAtPoint When writing-mode was unprefixed, SVGInlineTextBoxes started getting the same treatment as their base-class, and hence we need to be careful when we consider sizes for the inline boxes. Use logicalWidth() and logicalHeight() instead of size(). BUG=587455 Committed: https://crrev.com/ccf72ce87493b653f3f1add48b2bd0a68108d35b Cr-Commit-Position: refs/heads/master@{#403913}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Rebase; remove InlineBox addition #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -3 lines) Patch
A third_party/WebKit/LayoutTests/svg/hittest/text-vertical.html View 1 chunk +21 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp View 1 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
fs
4 years, 5 months ago (2016-07-05 14:09:00 UTC) #2
Stephen Chennney
I presume the test fails without the change. My code comment is driven by a ...
4 years, 5 months ago (2016-07-06 14:47:37 UTC) #3
fs
https://codereview.chromium.org/2124793002/diff/1/third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp File third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp (right): https://codereview.chromium.org/2124793002/diff/1/third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp#newcode247 third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp:247: LayoutRect rect(topLeft(), logicalSize()); On 2016/07/06 at 14:47:37, Stephen Chennney ...
4 years, 5 months ago (2016-07-06 15:00:51 UTC) #5
Stephen Chennney
lgtm
4 years, 5 months ago (2016-07-06 15:45:31 UTC) #6
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/2124793002/20001
4 years, 5 months ago (2016-07-06 15:47:37 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-06 16:21:59 UTC) #9
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-06 16:22:07 UTC) #10
commit-bot: I haz the power
4 years, 5 months ago (2016-07-06 16:24:09 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ccf72ce87493b653f3f1add48b2bd0a68108d35b
Cr-Commit-Position: refs/heads/master@{#403913}

Powered by Google App Engine
This is Rietveld 408576698