blob: 59f90e48ba6db99837fa71287620dc2bfbfde79f [file] [log] [blame]
<html>
<body><div id=e contenteditable style="-webkit-highlight:'green';">some highlighted text</div>
<script>
var e = document.getElementById('e');
window.getSelection().setPosition(e,0);
</script>
</body>
</html>