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

Issue 914573004: Discard scrolling to the saved scroll points if there is any selection done by user. (Closed)

Created:
5 years, 10 months ago by pals
Modified:
5 years, 8 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Discard scrolling to the saved scroll points if there is any selection done by user. BUG=458429 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=192799

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : adding layout test #

Total comments: 4

Patch Set 4 : Fixup #

Patch Set 5 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -0 lines) Patch
A LayoutTests/editing/input/resources/empty-document-goes-back.html View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
A LayoutTests/editing/input/reveal-selection-having-stored-scroll-position.html View 1 2 3 4 1 chunk +40 lines, -0 lines 0 comments Download
A LayoutTests/editing/input/reveal-selection-having-stored-scroll-position-expected.txt View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/editing/FrameSelection.cpp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 39 (17 generated)
pals
I could find two ways to fix this issue Patch set 1: Discard scrolling to ...
5 years, 10 months ago (2015-02-13 05:54:06 UTC) #7
tkent
I'm not familiar with FrameSelection. -tkent +yosin, yoichio
5 years, 10 months ago (2015-02-13 05:56:25 UTC) #9
yoichio
Do you intend to avoid autofocus or some scrolling with js in loading?
5 years, 10 months ago (2015-02-13 06:32:08 UTC) #10
yoichio
https://codereview.chromium.org/914573004/diff/120001/LayoutTests/editing/input/reveal-contenteditable-on-paste-vertically.html File LayoutTests/editing/input/reveal-contenteditable-on-paste-vertically.html (right): https://codereview.chromium.org/914573004/diff/120001/LayoutTests/editing/input/reveal-contenteditable-on-paste-vertically.html#newcode11 LayoutTests/editing/input/reveal-contenteditable-on-paste-vertically.html:11: <div contenteditable="true" id="copy">WebKit</div> Why do you need to update ...
5 years, 10 months ago (2015-02-13 06:32:18 UTC) #11
pals
On 2015/02/13 06:32:18, yoichio wrote: > https://codereview.chromium.org/914573004/diff/120001/LayoutTests/editing/input/reveal-contenteditable-on-paste-vertically.html > File LayoutTests/editing/input/reveal-contenteditable-on-paste-vertically.html > (right): > > https://codereview.chromium.org/914573004/diff/120001/LayoutTests/editing/input/reveal-contenteditable-on-paste-vertically.html#newcode11 ...
5 years, 10 months ago (2015-02-13 06:35:33 UTC) #12
pals
On 2015/02/13 06:32:08, yoichio wrote: > Do you intend to avoid autofocus or some scrolling ...
5 years, 10 months ago (2015-02-13 06:36:34 UTC) #13
yoichio
On 2015/02/13 06:36:34, pals wrote: > On 2015/02/13 06:32:08, yoichio wrote: > > Do you ...
5 years, 10 months ago (2015-02-13 07:10:09 UTC) #14
pals
> > page first jumps to saved scroll position and then scrolls to the focused ...
5 years, 10 months ago (2015-02-13 08:12:09 UTC) #15
pals
Hi yoichio, Sorry for this late update. I have added a layout test for Patch ...
5 years, 9 months ago (2015-03-10 09:46:10 UTC) #16
yoichio
https://codereview.chromium.org/914573004/diff/140001/LayoutTests/editing/input/reveal-selection-having-stored-scroll-position.html File LayoutTests/editing/input/reveal-selection-having-stored-scroll-position.html (right): https://codereview.chromium.org/914573004/diff/140001/LayoutTests/editing/input/reveal-selection-having-stored-scroll-position.html#newcode17 LayoutTests/editing/input/reveal-selection-having-stored-scroll-position.html:17: } else { Above if statement ends with return ...
5 years, 9 months ago (2015-03-11 04:16:52 UTC) #17
pals
Please take a look. https://codereview.chromium.org/914573004/diff/140001/LayoutTests/editing/input/reveal-selection-having-stored-scroll-position.html File LayoutTests/editing/input/reveal-selection-having-stored-scroll-position.html (right): https://codereview.chromium.org/914573004/diff/140001/LayoutTests/editing/input/reveal-selection-having-stored-scroll-position.html#newcode17 LayoutTests/editing/input/reveal-selection-having-stored-scroll-position.html:17: } else { On 2015/03/11 ...
5 years, 9 months ago (2015-03-11 06:09:28 UTC) #18
yoichio
Since layout test is not perfect, this can cause regression issues. Do you think it ...
5 years, 9 months ago (2015-03-12 05:00:00 UTC) #19
pals
On 2015/03/12 05:00:00, yoichio wrote: > Since layout test is not perfect, this can cause ...
5 years, 9 months ago (2015-03-27 13:04:53 UTC) #20
yoichio
lgtm O.K.
5 years, 8 months ago (2015-03-30 05:33:05 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/914573004/160001
5 years, 8 months ago (2015-03-30 09:50:36 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_compile_dbg on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_compile_dbg/builds/40065) mac_blink_rel on tryserver.blink (JOB_FAILED, ...
5 years, 8 months ago (2015-03-30 09:54:31 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/914573004/220001
5 years, 8 months ago (2015-03-30 10:40:27 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/29994)
5 years, 8 months ago (2015-03-30 10:49:37 UTC) #32
pals
On 2015/03/30 10:49:37, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 8 months ago (2015-03-30 11:03:29 UTC) #35
Yuta Kitamura
lgtm
5 years, 8 months ago (2015-03-31 01:35:26 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/914573004/220001
5 years, 8 months ago (2015-03-31 05:05:00 UTC) #38
commit-bot: I haz the power
5 years, 8 months ago (2015-03-31 05:09:18 UTC) #39
Message was sent while issue was closed.
Committed patchset #5 (id:220001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=192799

Powered by Google App Engine
This is Rietveld 408576698