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

Issue 2175163004: Add a plain space instead of   between text nodes (Closed)

Created:
4 years, 5 months ago by joone
Modified:
4 years, 4 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a plain space instead of   between text nodes When we rebalance white spaces,   can be added as space under some conditions. This CL adds a condition that the next sibling text node should not exist. BUG=310149 TEST=editing/inserting/insert-space.html Committed: https://crrev.com/8134eeb454ef76c72df8cd7c26f6141072c314cb Cr-Commit-Position: refs/heads/master@{#407981}

Patch Set 1 #

Total comments: 9

Patch Set 2 : use of assert_selection() and introduce |shouldEmitNBSPbeforeEnd| #

Total comments: 1

Patch Set 3 : don't need to use |Range| #

Patch Set 4 : fix a test fail in Win #

Messages

Total messages: 36 (24 generated)
joone
Hi yosin@ please review this CL.
4 years, 5 months ago (2016-07-25 07:19:08 UTC) #5
joone
Hi yosin@ please review this CL.
4 years, 5 months ago (2016-07-25 07:19:08 UTC) #6
yosin_UTC9
https://codereview.chromium.org/2175163004/diff/1/third_party/WebKit/LayoutTests/editing/inserting/insert-space.html File third_party/WebKit/LayoutTests/editing/inserting/insert-space.html (right): https://codereview.chromium.org/2175163004/diff/1/third_party/WebKit/LayoutTests/editing/inserting/insert-space.html#newcode18 third_party/WebKit/LayoutTests/editing/inserting/insert-space.html:18: assert_equals(html_para, '<p id="p1">A B</p>'); Can we use assert_selection()? https://codereview.chromium.org/2175163004/diff/1/third_party/WebKit/LayoutTests/editing/inserting/insert-space.html#newcode34 ...
4 years, 5 months ago (2016-07-25 07:42:23 UTC) #9
joone
Thanks for review! https://codereview.chromium.org/2175163004/diff/1/third_party/WebKit/LayoutTests/editing/inserting/insert-space.html File third_party/WebKit/LayoutTests/editing/inserting/insert-space.html (right): https://codereview.chromium.org/2175163004/diff/1/third_party/WebKit/LayoutTests/editing/inserting/insert-space.html#newcode18 third_party/WebKit/LayoutTests/editing/inserting/insert-space.html:18: assert_equals(html_para, '<p id="p1">A B</p>'); On 2016/07/25 ...
4 years, 5 months ago (2016-07-26 04:16:34 UTC) #19
yosin_UTC9
lgtm w/ small nit https://codereview.chromium.org/2175163004/diff/40001/third_party/WebKit/LayoutTests/editing/inserting/insert-space.html File third_party/WebKit/LayoutTests/editing/inserting/insert-space.html (right): https://codereview.chromium.org/2175163004/diff/40001/third_party/WebKit/LayoutTests/editing/inserting/insert-space.html#newcode23 third_party/WebKit/LayoutTests/editing/inserting/insert-space.html:23: selection.addRange(range); We don't need to ...
4 years, 5 months ago (2016-07-26 04:49:18 UTC) #20
yosin_UTC9
lgtm w/ small nit https://codereview.chromium.org/2175163004/diff/40001/third_party/WebKit/LayoutTests/editing/inserting/insert-space.html File third_party/WebKit/LayoutTests/editing/inserting/insert-space.html (right): https://codereview.chromium.org/2175163004/diff/40001/third_party/WebKit/LayoutTests/editing/inserting/insert-space.html#newcode23 third_party/WebKit/LayoutTests/editing/inserting/insert-space.html:23: selection.addRange(range); We don't need to ...
4 years, 5 months ago (2016-07-26 04:49:19 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2175163004/60001
4 years, 5 months ago (2016-07-26 06:01:45 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/262051)
4 years, 5 months ago (2016-07-26 07:22:05 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2175163004/60001
4 years, 4 months ago (2016-07-26 20:43:26 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2175163004/80001
4 years, 4 months ago (2016-07-26 22:15:20 UTC) #32
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 4 months ago (2016-07-27 00:05:14 UTC) #34
commit-bot: I haz the power
4 years, 4 months ago (2016-07-27 00:06:37 UTC) #36
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8134eeb454ef76c72df8cd7c26f6141072c314cb
Cr-Commit-Position: refs/heads/master@{#407981}

Powered by Google App Engine
This is Rietveld 408576698