<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>
