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

Unified Diff: third_party/WebKit/LayoutTests/editing/execCommand/indent_at_end_of_paragraph.html

Issue 2267363005: Convert editing/execCommand/4641880-2.html to use w3c test harness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-08-24T15:36:34 Created 4 years, 4 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/indent_at_end_of_paragraph.html
diff --git a/third_party/WebKit/LayoutTests/editing/execCommand/indent_at_end_of_paragraph.html b/third_party/WebKit/LayoutTests/editing/execCommand/indent_at_end_of_paragraph.html
new file mode 100644
index 0000000000000000000000000000000000000000..cc3b18fce9db5513460b01b0cba2c606f0681540
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/editing/execCommand/indent_at_end_of_paragraph.html
@@ -0,0 +1,23 @@
+<!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>',
+ '^This paragraph should be in a list.<br>|',
Xiaocheng 2016/08/24 08:14:48 Please change "in a list" to "indented"...
yosin_UTC9 2016/08/24 08:44:07 Done. Good catch!
+ 'This paragraph should not be in a list.<br>',
+ '</div>',
+ ].join(''),
+ 'indent',
+ [
+ '<div contenteditable>',
+ '<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">',
+ '^This paragraph should be in a list.|',
+ '</blockquote>',
+ 'This paragraph should not be in a list.<br>',
+ '</div>',
+ ].join('')),
+ 'Indent on a selection that ends at the start of a paragraph.');
+</script>

Powered by Google App Engine
This is Rietveld 408576698