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

Issue 2718543003: Remove EditingAppleTabSpan class handling (Closed)

Created:
3 years, 10 months ago by joone
Modified:
3 years, 9 months ago
Reviewers:
bokan, yosin_UTC9
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove EditingAppleTabSpan class handling EditingAppleTabSpan class is non-standard CSS class name that is produced while creating a span element with tab in editing, but the usage is low(<=0.0001%). This CL removes the code that handles EditingAppleTabSpan class from Blink. Intent to remove: https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/OlgmGUvnMU4/9HMNXMjGCQAJ BUG=383677 Review-Url: https://codereview.chromium.org/2718543003 Cr-Commit-Position: refs/heads/master@{#455645} Committed: https://chromium.googlesource.com/chromium/src/+/013ac5eaf30c02dfa356ba5399da43eb9f368040

Patch Set 1 #

Patch Set 2 : Update test case #

Patch Set 3 : fix more test cases #

Patch Set 4 : fix test cases #

Patch Set 5 : Make editing/inserting/5549929-2.html pass #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -45 lines) Patch
M third_party/WebKit/LayoutTests/editing/inserting/5549929-2.html View 1 chunk +2 lines, -2 lines 0 comments Download
D third_party/WebKit/LayoutTests/editing/inserting/insert-paragraph-after-tab-span-and-text.html View 1 2 1 chunk +0 lines, -20 lines 0 comments Download
M third_party/WebKit/LayoutTests/editing/inserting/insert_tab.html View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/editing/pasteboard/5761530-1.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/editing/pasteboard/5761530-1-expected.txt View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/editing/run/inserttext-expected.txt View 1 2 3 2 chunks +2 lines, -2 lines 3 comments Download
M third_party/WebKit/LayoutTests/platform/linux/editing/pasteboard/5761530-1-expected.txt View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/EditingUtilities.cpp View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/editing/serializers/HTMLInterchange.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 46 (31 generated)
joone
Hi yosin@, could you review this CL?
3 years, 9 months ago (2017-03-07 05:43:05 UTC) #22
yosin_UTC9
https://codereview.chromium.org/2718543003/diff/120001/third_party/WebKit/LayoutTests/external/wpt/editing/run/inserttext-expected.txt File third_party/WebKit/LayoutTests/external/wpt/editing/run/inserttext-expected.txt (right): https://codereview.chromium.org/2718543003/diff/120001/third_party/WebKit/LayoutTests/external/wpt/editing/run/inserttext-expected.txt#newcode1041 third_party/WebKit/LayoutTests/external/wpt/editing/run/inserttext-expected.txt:1041: FAIL [["inserttext","\t"]] "http://a[]" compare innerHTML assert_equals: Unexpected innerHTML (after ...
3 years, 9 months ago (2017-03-07 05:53:17 UTC) #23
joone
https://codereview.chromium.org/2718543003/diff/120001/third_party/WebKit/LayoutTests/external/wpt/editing/run/inserttext-expected.txt File third_party/WebKit/LayoutTests/external/wpt/editing/run/inserttext-expected.txt (right): https://codereview.chromium.org/2718543003/diff/120001/third_party/WebKit/LayoutTests/external/wpt/editing/run/inserttext-expected.txt#newcode1041 third_party/WebKit/LayoutTests/external/wpt/editing/run/inserttext-expected.txt:1041: FAIL [["inserttext","\t"]] "http://a[]" compare innerHTML assert_equals: Unexpected innerHTML (after ...
3 years, 9 months ago (2017-03-07 19:13:00 UTC) #26
yosin_UTC9
I'm OK to this change. Let's land this patch as is to keep changes small. ...
3 years, 9 months ago (2017-03-08 01:29:22 UTC) #27
joone
On 2017/03/08 01:29:22, yosin_UTC9 wrote: > I'm OK to this change. > > Let's land ...
3 years, 9 months ago (2017-03-08 06:00:15 UTC) #28
yosin_UTC9
lgtm
3 years, 9 months ago (2017-03-08 07:33:17 UTC) #30
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/2718543003/120001
3 years, 9 months ago (2017-03-08 07:33:44 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/380738)
3 years, 9 months ago (2017-03-08 07:43:00 UTC) #33
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/2718543003/120001
3 years, 9 months ago (2017-03-08 10:02:13 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/380803)
3 years, 9 months ago (2017-03-08 10:10:58 UTC) #37
joone
bokan@ please review this CL.
3 years, 9 months ago (2017-03-08 15:33:59 UTC) #39
bokan
rs lgtm based on Yosin's review.
3 years, 9 months ago (2017-03-08 23:33:15 UTC) #40
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/2718543003/120001
3 years, 9 months ago (2017-03-08 23:54:09 UTC) #42
commit-bot: I haz the power
Committed patchset #5 (id:120001) as https://chromium.googlesource.com/chromium/src/+/013ac5eaf30c02dfa356ba5399da43eb9f368040
3 years, 9 months ago (2017-03-09 02:31:14 UTC) #45
joone
3 years, 9 months ago (2017-03-11 00:51:43 UTC) #46
Message was sent while issue was closed.
https://codereview.chromium.org/2718543003/diff/120001/third_party/WebKit/Lay...
File
third_party/WebKit/LayoutTests/external/wpt/editing/run/inserttext-expected.txt
(right):

https://codereview.chromium.org/2718543003/diff/120001/third_party/WebKit/Lay...
third_party/WebKit/LayoutTests/external/wpt/editing/run/inserttext-expected.txt:1041:
FAIL [["inserttext","\t"]] "http://a[]" compare innerHTML assert_equals:
Unexpected innerHTML (after normalizing inline style) expected "<a
href=\"http://a\">http://a</a>\t" but got "http://a<span
style=\"white-space:pre\">\t</span>"
On 2017/03/07 05:53:17, yosin_UTC9 wrote:
> It seems we don't need to add |style="white-space:pre"| for "Tab SPAN".
> Could you check other browser's behavior?

yosin@ do we need to create <a> for "http://a" while normalizing inline style?

Powered by Google App Engine
This is Rietveld 408576698