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

Issue 2674673004: Consider editability when looking for a caret position (Closed)

Created:
3 years, 10 months ago by jfernandez
Modified:
3 years, 8 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Consider editability when looking for a caret position When determining the Position of a selection point, if the selected one is not editable we are looking forward and backward for an editable one. We need to consider whether we are processing an editable content box/block when computing the position of an inline-box. We also need to consider editability when looking for a better match based on the caret's min-offset. BUG=688015

Patch Set 1 #

Patch Set 2 : A different approach. #

Patch Set 3 : Patch rebased. #

Patch Set 4 : Include editing boundaries when looking for a better match on inline-box position. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -2 lines) Patch
M third_party/WebKit/Source/core/editing/VisibleUnits.cpp View 1 2 3 4 chunks +14 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
jfernandez
PTAL
3 years, 10 months ago (2017-02-07 00:47:09 UTC) #3
yosin_UTC9
Could you provide a test case[1] for this change? It seems mac and win bots ...
3 years, 10 months ago (2017-02-07 06:06:14 UTC) #4
jfernandez
On 2017/02/07 06:06:14, yosin_BlinkOn_slow wrote: > Could you provide a test case[1] for this change? ...
3 years, 10 months ago (2017-02-07 08:32:48 UTC) #5
yosin_UTC9
On 2017/02/07 at 08:32:48, jfernandez wrote: > On 2017/02/07 06:06:14, yosin_BlinkOn_slow wrote: > > Could ...
3 years, 10 months ago (2017-02-07 09:16:49 UTC) #6
jfernandez
3 years, 8 months ago (2017-04-04 11:51:13 UTC) #7
I think I need to look for a different approach, so closing this CL for now.

Powered by Google App Engine
This is Rietveld 408576698