Chromium Code Reviews| Index: LayoutTests/editing/execCommand/insert-ordered-list-crash2.html |
| diff --git a/LayoutTests/editing/execCommand/insert-ordered-list-crash2.html b/LayoutTests/editing/execCommand/insert-ordered-list-crash2.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6ab7528f76672d68933d475057bec1aa74d526c8 |
| --- /dev/null |
| +++ b/LayoutTests/editing/execCommand/insert-ordered-list-crash2.html |
| @@ -0,0 +1,21 @@ |
| +<!DOCTYPE html> |
| +<html> |
| +<body> |
| +<script src="../../resources/testharness.js"></script> |
| +<script src="../../resources/testharnessreport.js"></script> |
| +<div id="log"></div> |
| + |
| +<div contenteditable="true" id="div"><ol> |
| +<li>AAA<br><br></li> |
| +<li><br></li> |
| +<li>BBB<br>CCC</li> |
| +</ol></div> |
| +<div >DDD</div> |
|
yosin_UTC9
2015/08/18 02:05:45
nit: Do we need to have a space in "<div >"?
yoichio
2015/08/18 05:46:25
Done.
|
| +<script> |
| +test(function () { |
| + getSelection().selectAllChildren(div); |
| + document.execCommand("insertOrderedList"); |
| +}); |
| +</script> |
| +</body> |
| +</html> |