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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/inserting/replace_text_with_br.html

Issue 2332423004: Convert editing/inserting/insert-3654864-fix.html to use w3c test harness (Closed)
Patch Set: 2016-09-14T14:49:55 Created 4 years, 3 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
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(() => assert_selection(
7 '<div contenteditable>^foo bar|</div>',
8 'insertLineBreak',
9 '<div contenteditable><br>|<br></div>'),
10 'replace text with BR');
11
12 test(() => assert_selection(
13 '<div contenteditable>^foo <i> bar|</i></div>',
14 'insertLineBreak',
15 '<div contenteditable><br>|<br></div>'),
16 'replace text and I with BR');
17 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698