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

Unified 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 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/editing/selection/modify_move/move-forward-after-line-break.html
diff --git a/third_party/WebKit/LayoutTests/editing/selection/modify_move/move-forward-after-line-break.html b/third_party/WebKit/LayoutTests/editing/selection/modify_move/move-forward-after-line-break.html
new file mode 100644
index 0000000000000000000000000000000000000000..6adf95ac9e317f57545f2cb0158384276703cb89
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/editing/selection/modify_move/move-forward-after-line-break.html
@@ -0,0 +1,15 @@
+<!doctype html>
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../../assert_selection.js"></script>
+<script>
+test(() => {
+ assert_selection(
+ '<div style="width:50px">|foo bar baz foo</div>',
+ selection => {
+ selection.modify('move', 'forward', 'line');
+ selection.modify('move', 'forward', 'character');
+ },
+ '<div style="width:50px">foo bar b|az foo</div>');
+}, 'Modify move forward after line break');
+</script>

Powered by Google App Engine
This is Rietveld 408576698