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

Issue 1931513003: Invalidate the previous caret location when editing text nodes. (Closed)

Created:
4 years, 7 months ago by chrishtr
Modified:
4 years, 7 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Invalidate the previous caret location when editing text nodes. Previously we would miss this invalidation. BUG=603389 Committed: https://crrev.com/c8811f690116723cd62bb57ff6e3ff046bc3de42 Cr-Commit-Position: refs/heads/master@{#390982}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 10

Patch Set 7 : #

Total comments: 14

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -0 lines) Patch
A third_party/WebKit/LayoutTests/paint/invalidation/invalidate-caret-before-text-node-update.html View 1 2 3 4 5 6 7 8 9 10 1 chunk +33 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/CharacterData.cpp View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/FrameSelection.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/FrameSelection.cpp View 1 2 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (15 generated)
chrishtr
Working on a paint invalidation test to go with this now.
4 years, 7 months ago (2016-04-27 21:27:43 UTC) #3
yosin_UTC9
Waiting for test script... https://codereview.chromium.org/1931513003/diff/20001/third_party/WebKit/Source/core/dom/CharacterData.cpp File third_party/WebKit/Source/core/dom/CharacterData.cpp (right): https://codereview.chromium.org/1931513003/diff/20001/third_party/WebKit/Source/core/dom/CharacterData.cpp#newcode45 third_party/WebKit/Source/core/dom/CharacterData.cpp:45: document().dataWillChange(*this); At glance, calling |dataWillChange()| ...
4 years, 7 months ago (2016-04-28 01:50:28 UTC) #4
chrishtr
Added a test. https://codereview.chromium.org/1931513003/diff/20001/third_party/WebKit/Source/core/dom/CharacterData.cpp File third_party/WebKit/Source/core/dom/CharacterData.cpp (right): https://codereview.chromium.org/1931513003/diff/20001/third_party/WebKit/Source/core/dom/CharacterData.cpp#newcode45 third_party/WebKit/Source/core/dom/CharacterData.cpp:45: document().dataWillChange(*this); On 2016/04/28 at 01:50:28, Yosi_Back_May_9 ...
4 years, 7 months ago (2016-04-28 17:22:02 UTC) #5
yosin_UTC9
https://codereview.chromium.org/1931513003/diff/100001/third_party/WebKit/LayoutTests/paint/invalidation/invalidate-caret-before-text-node-update.html File third_party/WebKit/LayoutTests/paint/invalidation/invalidate-caret-before-text-node-update.html (right): https://codereview.chromium.org/1931513003/diff/100001/third_party/WebKit/LayoutTests/paint/invalidation/invalidate-caret-before-text-node-update.html#newcode1 third_party/WebKit/LayoutTests/paint/invalidation/invalidate-caret-before-text-node-update.html:1: <script src="../../editing/editing.js"></script> Could you avoid to use "editing/editing.js"? Because ...
4 years, 7 months ago (2016-04-29 15:03:12 UTC) #6
chrishtr
https://codereview.chromium.org/1931513003/diff/100001/third_party/WebKit/LayoutTests/paint/invalidation/invalidate-caret-before-text-node-update.html File third_party/WebKit/LayoutTests/paint/invalidation/invalidate-caret-before-text-node-update.html (right): https://codereview.chromium.org/1931513003/diff/100001/third_party/WebKit/LayoutTests/paint/invalidation/invalidate-caret-before-text-node-update.html#newcode1 third_party/WebKit/LayoutTests/paint/invalidation/invalidate-caret-before-text-node-update.html:1: <script src="../../editing/editing.js"></script> On 2016/04/29 at 15:03:12, Yosi_Back_May_9 wrote: > ...
4 years, 7 months ago (2016-04-29 20:09:41 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/1931513003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1931513003/120001
4 years, 7 months ago (2016-04-29 20:10:43 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/220132)
4 years, 7 months ago (2016-04-29 22:06:45 UTC) #11
yosin_UTC9
lgtm Please update test file to follow w3c test script style. Here is sample: https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/LayoutTests/editing/selection/collapse/collapse_around_table.html ...
4 years, 7 months ago (2016-04-30 03:16:17 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1931513003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1931513003/140001
4 years, 7 months ago (2016-04-30 21:37:55 UTC) #15
chrishtr
https://codereview.chromium.org/1931513003/diff/120001/third_party/WebKit/LayoutTests/paint/invalidation/invalidate-caret-before-text-node-update.html File third_party/WebKit/LayoutTests/paint/invalidation/invalidate-caret-before-text-node-update.html (right): https://codereview.chromium.org/1931513003/diff/120001/third_party/WebKit/LayoutTests/paint/invalidation/invalidate-caret-before-text-node-update.html#newcode5 third_party/WebKit/LayoutTests/paint/invalidation/invalidate-caret-before-text-node-update.html:5: <pre id="output"> On 2016/04/30 at 03:16:17, Yosi_Back_May_9 wrote: > ...
4 years, 7 months ago (2016-04-30 21:56:30 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1931513003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1931513003/160001
4 years, 7 months ago (2016-04-30 21:56:40 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/220426)
4 years, 7 months ago (2016-04-30 23:37:13 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1931513003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1931513003/180001
4 years, 7 months ago (2016-05-02 01:45:18 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/220509)
4 years, 7 months ago (2016-05-02 03:09:02 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1931513003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1931513003/200001
4 years, 7 months ago (2016-05-02 16:14:54 UTC) #29
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 7 months ago (2016-05-02 17:33:39 UTC) #30
commit-bot: I haz the power
4 years, 7 months ago (2016-05-02 17:35:07 UTC) #32
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/c8811f690116723cd62bb57ff6e3ff046bc3de42
Cr-Commit-Position: refs/heads/master@{#390982}

Powered by Google App Engine
This is Rietveld 408576698