Index: LayoutTests/editing/execCommand/selection-after-switch-type-of-listitem.html |
diff --git a/LayoutTests/editing/execCommand/selection-after-insert-list.html b/LayoutTests/editing/execCommand/selection-after-switch-type-of-listitem.html |
similarity index 81% |
copy from LayoutTests/editing/execCommand/selection-after-insert-list.html |
copy to LayoutTests/editing/execCommand/selection-after-switch-type-of-listitem.html |
index 1d00ca1208d928171b57056460fb2556c503faf0..62f9396aa30f91009a1b99af7551ead77fbb5083 100644 |
--- a/LayoutTests/editing/execCommand/selection-after-insert-list.html |
+++ b/LayoutTests/editing/execCommand/selection-after-switch-type-of-listitem.html |
@@ -8,10 +8,11 @@ |
<script> |
var selection = window.getSelection(); |
var range = document.createRange(); |
-range.setStart(document.getElementById('first').firstChild, 2); |
+range.setStart(document.getElementById('second').firstChild, 0); |
range.setEnd(document.getElementById('second').firstChild, 3); |
selection.addRange(range); |
document.execCommand('InsertOrderedList', false, null); |
+document.execCommand('InsertUnOrderedList', false, null); |
yosin_UTC9
2013/12/13 01:10:41
nit: we don't need to specify |false| and |null|.
|
Markup.description("This tests verifies that the selection is properly reset after executing the command."); |
Markup.dump('test'); |
</script> |