select-all-005.html 421 Bytes
Newer Older
justing's avatar
justing committed
1
<html id="html">
ap's avatar
ap committed
2
<body contenteditable="true">VisiblePositions created at [html, x] where html is non-editable should descend into an editable body, for convenience.  Everything on this page should be selected.
ggaren's avatar
ggaren committed
3 4 5
<script>
if (window.layoutTestController)
     layoutTestController.dumpEditingCallbacks();
justing's avatar
justing committed
6
var e = document.getElementById("html");
ap@webkit.org's avatar
ap@webkit.org committed
7
window.getSelection().setBaseAndExtent(e, 1, e, 2);
justing's avatar
justing committed
8
</script>
ap@webkit.org's avatar
ap@webkit.org committed
9
</body></html>