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

Issue 23950006: Patch for proper re-setting of frame selection's typing style. (Closed)

Created:
7 years, 3 months ago by arpitab_
Modified:
7 years, 3 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Patch for proper re-setting of frame selection's typing style. When moving from one text node to the other while deleting characters, the deleted text node's style was being applied to any new characters added into the existing text node. Typing Style in the frame selection maintains the editing style for the deleted text node, so that if new characters are inserted at the position of the deleted text node, it's style can be applied to them. However, when moving into another text node, we should reset or clear the typing style maintained by the frame selection. This ensures that any new content inserted within the existing node does not take on any uncleared style of the deleted node. WebKit patch: http://trac.webkit.org/changeset/155425 BUG=286219 R=eseidel@chromium.org,leviw@chromium.org,yosin@chromium.org,ojan@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157663

Patch Set 1 #

Total comments: 7

Patch Set 2 : modifying as per review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -1 line) Patch
A LayoutTests/editing/deleting/maintain-style-after-delete.html View 1 1 chunk +35 lines, -0 lines 0 comments Download
A LayoutTests/editing/deleting/maintain-style-after-delete-expected.txt View 1 1 chunk +16 lines, -0 lines 0 comments Download
M Source/core/editing/DeleteSelectionCommand.cpp View 1 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
arpitab_
7 years, 3 months ago (2013-09-06 06:52:53 UTC) #1
yosin_UTC9
https://codereview.chromium.org/23950006/diff/1/LayoutTests/editing/deleting/maintain-style-after-delete.html File LayoutTests/editing/deleting/maintain-style-after-delete.html (right): https://codereview.chromium.org/23950006/diff/1/LayoutTests/editing/deleting/maintain-style-after-delete.html#newcode6 LayoutTests/editing/deleting/maintain-style-after-delete.html:6: <div id="test">H <span style="color: blue;">W</span></div> Please add test case ...
7 years, 3 months ago (2013-09-06 08:10:16 UTC) #2
arpitab_
Thanks for the review yosin. Have uploaded another patch as per the review comments. https://codereview.chromium.org/23950006/diff/1/LayoutTests/editing/deleting/maintain-style-after-delete.html ...
7 years, 3 months ago (2013-09-06 14:01:32 UTC) #3
yosin_UTC9
ACK Thanks!
7 years, 3 months ago (2013-09-09 01:40:54 UTC) #4
ojan
lgtm
7 years, 3 months ago (2013-09-12 02:01:21 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/a.bah@samsung.com/23950006/8001
7 years, 3 months ago (2013-09-12 02:01:50 UTC) #6
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=5251
7 years, 3 months ago (2013-09-12 03:52:19 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/a.bah@samsung.com/23950006/8001
7 years, 3 months ago (2013-09-12 06:09:35 UTC) #8
commit-bot: I haz the power
7 years, 3 months ago (2013-09-12 06:55:49 UTC) #9
Message was sent while issue was closed.
Change committed as 157663

Powered by Google App Engine
This is Rietveld 408576698