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

Issue 361683002: Make LayoutText::absoluteQuadsForRange to consider leading/trailing whitespaces (Closed)

Created:
6 years, 5 months ago by yosin_UTC9
Modified:
5 years, 4 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Make LayoutText::absoluteQuadsForRange to consider leading/trailing whitespaces This patch makes |LayoutText::absoluteQuadsForRange| to consider leading and trailing whitespaces by adjusting specified offsets by rendered portion of characters. Before this patch, |LayoutText::absoluteQuadsForRange| returns empty rectangle for character offsets not in |InlineTextBox| objects. BUG=389054 TEST=LayoutTests/fast/dom/Range/getClientRects-leading-trailing-whitespaces.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200828

Patch Set 1 #

Total comments: 2

Patch Set 2 : 2014-07-14T10:37:49 #

Patch Set 3 : 2015-08-18T16:38:30 #

Total comments: 4

Patch Set 4 : 2015-08-19T15:06:27 Follow review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -0 lines) Patch
A LayoutTests/fast/dom/Range/getClientRects-leading-trailing-whitespaces.html View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
M Source/core/layout/LayoutText.cpp View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
yosin_UTC9
Could you review this patch? Thanks in advance.
6 years, 5 months ago (2014-06-30 04:57:36 UTC) #1
yosin_UTC9
ping...
6 years, 5 months ago (2014-07-09 01:09:27 UTC) #2
Julien - ping for review
Levi or Emil should look at this change https://codereview.chromium.org/361683002/diff/1/LayoutTests/fast/dom/Range/getClientRects-leading-trailing-whitespaces-expected.txt File LayoutTests/fast/dom/Range/getClientRects-leading-trailing-whitespaces-expected.txt (right): https://codereview.chromium.org/361683002/diff/1/LayoutTests/fast/dom/Range/getClientRects-leading-trailing-whitespaces-expected.txt#newcode18 LayoutTests/fast/dom/Range/getClientRects-leading-trailing-whitespaces-expected.txt:18: PASS ...
6 years, 5 months ago (2014-07-12 00:19:42 UTC) #3
yosin_UTC9
PTAL https://codereview.chromium.org/361683002/diff/1/LayoutTests/fast/dom/Range/getClientRects-leading-trailing-whitespaces-expected.txt File LayoutTests/fast/dom/Range/getClientRects-leading-trailing-whitespaces-expected.txt (right): https://codereview.chromium.org/361683002/diff/1/LayoutTests/fast/dom/Range/getClientRects-leading-trailing-whitespaces-expected.txt#newcode18 LayoutTests/fast/dom/Range/getClientRects-leading-trailing-whitespaces-expected.txt:18: PASS "12"; range.getClientRects().length is 1 On 2014/07/12 00:19:42, ...
6 years, 5 months ago (2014-07-14 02:30:39 UTC) #4
yosin_UTC9
PTAL Oops, I forgot to proceed this patch one year... :-<
5 years, 4 months ago (2015-08-18 07:41:14 UTC) #5
eae
Thanks for doing this, I like the change but have some concerns about the test. ...
5 years, 4 months ago (2015-08-18 16:14:46 UTC) #6
yosin_UTC9
PTAL https://codereview.chromium.org/361683002/diff/40001/LayoutTests/fast/dom/Range/getClientRects-leading-trailing-whitespaces.html File LayoutTests/fast/dom/Range/getClientRects-leading-trailing-whitespaces.html (right): https://codereview.chromium.org/361683002/diff/40001/LayoutTests/fast/dom/Range/getClientRects-leading-trailing-whitespaces.html#newcode8 LayoutTests/fast/dom/Range/getClientRects-leading-trailing-whitespaces.html:8: var results = [0, 1, 2, 3, 4, ...
5 years, 4 months ago (2015-08-19 06:08:55 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/361683002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/361683002/60001
5 years, 4 months ago (2015-08-19 06:09:22 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-19 07:36:45 UTC) #11
eae
LGTM Very nice, thank you!
5 years, 4 months ago (2015-08-19 15:38:59 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/361683002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/361683002/60001
5 years, 4 months ago (2015-08-19 15:39:17 UTC) #14
commit-bot: I haz the power
5 years, 4 months ago (2015-08-19 15:43:40 UTC) #15
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=200828

Powered by Google App Engine
This is Rietveld 408576698