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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/execCommand/insert_horizontal_rule.html

Issue 2172033003: Convert editing/execCommand/insertHorizontalRule.html to use w3c test harness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-07-22T17:10:05 Created 4 years, 5 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 'insertHorizontalRule',
9 '<div contenteditable>foo<hr>|bar</div>'),
10 'Insert HR between foo and bar');
11
12 test(() => assert_selection(
13 '<div contenteditable>foo|bar</div>',
14 'insertHorizontalRule abc',
15 '<div contenteditable>foo<hr id="abc">|bar</div>'),
16 'Insert HR with id "abc" between foo and bar');
17 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698