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

Issue 184103011: Clear undo stack when text control is set programatically

Created:
6 years, 9 months ago by zino
Modified:
6 years, 6 months ago
Reviewers:
yosin_UTC9, eseidel
CC:
blink-reviews, dglazkov+blink, groby+blinkspell_chromium.org, adamk+blink_chromium.org, tkent, Julie Parent, arv (Not doing code reviews), Justin Novosad, eseidel, yosin_UTC9, leviw_travelin_and_unemployed, ojan
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Clear undo stack when text control is set programatically This patch is concerned with 348505, 277302 issues. UndoStack isn't updated currently when text control is set programatically. In that case, undo stack may be broken and then something unexpected can happen. Therefore we should change to be able to clear undo stack. (similar to IE, Safari browser) BUG=348505, 277302

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -0 lines) Patch
M Source/core/editing/Editor.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/editing/Editor.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/editing/UndoStack.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/editing/UndoStack.cpp View 1 chunk +9 lines, -0 lines 1 comment Download
M Source/core/html/HTMLTextFormControlElement.cpp View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
zino
6 years, 9 months ago (2014-03-03 08:33:58 UTC) #1
eseidel
6 years, 9 months ago (2014-03-04 02:05:46 UTC) #2
eseidel
I don't feel like I have context on this issue sufficient to review it. I've ...
6 years, 9 months ago (2014-03-04 02:08:16 UTC) #3
zino
On 2014/03/04 02:08:16, eseidel wrote: > I don't feel like I have context on this ...
6 years, 9 months ago (2014-03-04 04:12:16 UTC) #4
yosin_UTC9
I think we should record programtical changes into undo stack rather than clear undo stack. ...
6 years, 9 months ago (2014-03-04 05:02:57 UTC) #5
ojan
On 2014/03/04 05:02:57, Yoshi wrote: > I think we should record programtical changes into undo ...
6 years, 9 months ago (2014-03-04 22:23:05 UTC) #6
zino
On 2014/03/04 22:23:05, ojan wrote: > On 2014/03/04 05:02:57, Yoshi wrote: > > I think ...
6 years, 9 months ago (2014-03-05 05:42:50 UTC) #7
yosin_UTC9
I think recording programatic changes into undo stack works without surprising. Let's do record programatic ...
6 years, 9 months ago (2014-03-05 08:08:49 UTC) #8
ojan
On 2014/03/05 05:42:50, zino wrote: > Firefox doesn't clear. But firefox is different with chromium. ...
6 years, 9 months ago (2014-03-05 18:08:14 UTC) #9
eseidel
6 years, 6 months ago (2014-05-30 00:26:09 UTC) #10
This is really up to Yosin as to if the current editing/ owners want this.

Powered by Google App Engine
This is Rietveld 408576698