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

Unified Diff: third_party/WebKit/LayoutTests/editing/execCommand/insert_list/insert_list_ul_li_to_ol.html

Issue 2168413002: Convert editing/execCommand/4916402.html to use w3c test harness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-07-22T16:29:55 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/editing/execCommand/insert_list/insert_list_ul_li_to_ol.html
diff --git a/third_party/WebKit/LayoutTests/editing/execCommand/insert_list/insert_list_ul_li_to_ol.html b/third_party/WebKit/LayoutTests/editing/execCommand/insert_list/insert_list_ul_li_to_ol.html
new file mode 100644
index 0000000000000000000000000000000000000000..3709a01ec19f6ac303563a9c590a04186b56a2a5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/editing/execCommand/insert_list/insert_list_ul_li_to_ol.html
@@ -0,0 +1,11 @@
+<!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 contenteditable><ul><li>foo</li><li>|bar</li></ul></div>',
+ 'insertOrderedList',
+ '<div contenteditable><ul><li>foo</li></ul><ol><li>|bar</li></ol></div>'),
+ 'Create OL from last LI of UL');
+</script>

Powered by Google App Engine
This is Rietveld 408576698