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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/deleting/smart_editing_disabled.html

Issue 2935693004: Rewrite editing/deleting/smart-editing-disabled-{mac,win}.html to utilize assert_selection() (Closed)
Patch Set: 2017-06-14T13:25:00 Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/editing/deleting/smart-editing-disabled-win-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!doctype html>
2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <script src="../assert_selection.js"></script>
5 <script>
6 test(() => {
7 assert_exists(window, 'internals', 'This test requires window.internals.');
8 assert_exists(window, 'testRunner', 'This test requires window.testRunner.');
9 internals.settings.setSmartInsertDeleteEnabled(false);
10 internals.settings.setSelectTrailingWhitespaceEnabled(true);
11 assert_selection(
12 '<div contenteditable>foo |bar^ baz</div>',
13 seleciton => testRunner.execCommand('deleteForward'),
14 '<div contenteditable>foo |\u00A0baz</div>',
15 'DeleteForward without smart insert/delete');
16 }, 'Verifies deleteForward without smrat insert delete');
17 </script>
18
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/editing/deleting/smart-editing-disabled-win-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698