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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/selection/modify_move/move-forward-after-line-break.html

Issue 2525273002: [Editing][CodeHealth] Convert editing/selection to utilize w3c test harness part 1. (Closed)
Patch Set: update Created 4 years 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
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_selection(
8 '<div style="width:50px">|foo bar baz foo</div>',
9 selection => {
10 selection.modify('move', 'forward', 'line');
11 selection.modify('move', 'forward', 'character');
12 },
13 '<div style="width:50px">foo bar b|az foo</div>');
14 }, 'Modify move forward after line break');
15 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698