blob: dc87ffb1d8e45b14a2734cdb645d5045d370d9d7 [file] [log] [blame]
<!DOCTYPE html>
<div id="container" contenteditable="true"><table border="1"><tr id="element"><td>fsdf</td><td>fsdf</td></tr><tr><td>gghfg</td><td>fsfg</td></tr></table></div>
<script src="../editing.js"></script>
<script src="../../resources/dump-as-markup.js"></script>
<script>
Markup.description('Insert list items in all the cells of a table row:');
var e = document.getElementById("element");
setSelectionCommand(e, 0, e, 2);
Markup.dump('container', 'Before');
document.execCommand("insertOrderedList");
Markup.dump('container', 'After');
</script>