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

Issue 929883003: Resolve flickering the text selection when hitting culled inline. (Closed)

Created:
5 years, 10 months ago by Miyoung Shin(g)
Modified:
5 years, 10 months ago
Reviewers:
pdr.
CC:
blink-reviews, blink-reviews-rendering, Dominik Röttsches, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Resolve flickering the text selection when hitting culled inline. Flickering is observed on text selection when hitting culled inline, because culled inline doesn't get the right position from RenderInline::positionForPoint for the selection. This patch changes the condition to firstLineBox to firstLineBoxIncludingCulling for culled inline. BUG=460077 R=pdr@chromium.org TEST=fast/events/drag-selects-culled-inlines.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190622

Patch Set 1 : #

Total comments: 6

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -1 line) Patch
A LayoutTests/fast/events/drag-selects-culled-inlines.html View 1 2 1 chunk +38 lines, -0 lines 0 comments Download
A LayoutTests/fast/events/drag-selects-culled-inlines-expected.txt View 1 1 chunk +14 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderInline.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (5 generated)
Miyoung Shin(g)
@pdr, PTAL. I tested this patch with reverting the patch at http://crrev.com/914573003 and it's ok. ...
5 years, 10 months ago (2015-02-16 07:04:44 UTC) #2
pdr.
https://codereview.chromium.org/929883003/diff/20001/LayoutTests/fast/events/drag-selects-culled-inlines.html File LayoutTests/fast/events/drag-selects-culled-inlines.html (right): https://codereview.chromium.org/929883003/diff/20001/LayoutTests/fast/events/drag-selects-culled-inlines.html#newcode6 LayoutTests/fast/events/drag-selects-culled-inlines.html:6: <div id="test" class="style1" height="106"> Is this explicit height required? ...
5 years, 10 months ago (2015-02-16 20:24:10 UTC) #3
Miyoung Shin(g)
https://codereview.chromium.org/929883003/diff/20001/LayoutTests/fast/events/drag-selects-culled-inlines.html File LayoutTests/fast/events/drag-selects-culled-inlines.html (right): https://codereview.chromium.org/929883003/diff/20001/LayoutTests/fast/events/drag-selects-culled-inlines.html#newcode6 LayoutTests/fast/events/drag-selects-culled-inlines.html:6: <div id="test" class="style1" height="106"> On 2015/02/16 20:24:09, pdr wrote: ...
5 years, 10 months ago (2015-02-17 05:01:54 UTC) #4
pdr.
LGTM https://codereview.chromium.org/929883003/diff/40001/LayoutTests/fast/events/drag-selects-culled-inlines.html File LayoutTests/fast/events/drag-selects-culled-inlines.html (right): https://codereview.chromium.org/929883003/diff/40001/LayoutTests/fast/events/drag-selects-culled-inlines.html#newcode18 LayoutTests/fast/events/drag-selects-culled-inlines.html:18: var testDone = false; Nit: lets rename this ...
5 years, 10 months ago (2015-02-18 00:00:49 UTC) #5
Miyoung Shin(g)
Thank you for your kind review. https://codereview.chromium.org/929883003/diff/40001/LayoutTests/fast/events/drag-selects-culled-inlines.html File LayoutTests/fast/events/drag-selects-culled-inlines.html (right): https://codereview.chromium.org/929883003/diff/40001/LayoutTests/fast/events/drag-selects-culled-inlines.html#newcode18 LayoutTests/fast/events/drag-selects-culled-inlines.html:18: var testDone = ...
5 years, 10 months ago (2015-02-18 08:28:26 UTC) #7
Miyoung Shin(g)
On 2015/02/18 08:28:26, Miyoung Shin(g) wrote: > Thank you for your kind review. > > ...
5 years, 10 months ago (2015-02-18 11:36:30 UTC) #8
pdr.
On 2015/02/18 at 11:36:30, myid.o.shin wrote: > On 2015/02/18 08:28:26, Miyoung Shin(g) wrote: > > ...
5 years, 10 months ago (2015-02-18 19:18:09 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/929883003/60001
5 years, 10 months ago (2015-02-19 16:30:33 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_dbg on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_dbg/builds/45885)
5 years, 10 months ago (2015-02-19 21:00:53 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/929883003/60001
5 years, 10 months ago (2015-02-22 05:39:31 UTC) #15
commit-bot: I haz the power
5 years, 10 months ago (2015-02-22 07:04:14 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=190622

Powered by Google App Engine
This is Rietveld 408576698