Index: LayoutTests/editing/execCommand/insert-list-infinite-loop2.html |
diff --git a/LayoutTests/editing/execCommand/insert-list-infinite-loop2.html b/LayoutTests/editing/execCommand/insert-list-infinite-loop2.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3a90bee7d55fd9a785ccac70c06820e2c6951f0e |
--- /dev/null |
+++ b/LayoutTests/editing/execCommand/insert-list-infinite-loop2.html |
@@ -0,0 +1,17 @@ |
+<script src="../../resources/testharness.js"></script> |
yosin_UTC9
2015/08/19 07:10:32
We prefer having <!DOCTYPE html> to use strict mod
yoichio
2015/08/20 06:31:10
Done.
|
+<script src="../../resources/testharnessreport.js"></script> |
+<body contenteditable="true"> |
yosin_UTC9
2015/08/19 07:10:32
Can we move contenteditable="true" to "table"?
Or,
yoichio
2015/08/20 06:31:10
Done.
|
+<div id="log"></div> |
+<table><tbody><tr><td> |
+ <table ><tbody><tr><td > |
+ <ol id="ol"><li >wwwzip<br><br></li><li><br></li><li>Run<br>wine</li></ol> |
+ </td></tr></tbody></table> |
+ Fixed Width<div style="-webkit-user-select: none;"></div><div style="display: inline-block; border:solid ; "></div> |
yosin_UTC9
2015/08/19 07:10:32
nit: we don't need to have spaces around ";".
yoichio
2015/08/20 06:31:10
Done.
|
+</td></tr></tbody></table> |
+<script> |
+test(function () { |
+ getSelection().selectAllChildren(ol); |
+ document.execCommand('insertOrderedList'); |
+}); |
+</script> |
+</body> |