Chromium Code Reviews| 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> |