blob: 53295a73dc453a0d3aee9323441237fb840d3682 [file] [log] [blame]
<script src="resources/repaint.js" type="text/javascript"></script>
<script type="text/javascript">
function repaintTest() {
var div = document.getElementById("div");
window.getSelection().setPosition(div, 1);
}
</script>
<html>
<body onload="runRepaintTest();">
<div contenteditable="true" style="-webkit-transform:rotate(30deg)translate(100px,200px)">
<div id="div">This test verifies caret repaint is correctly transformed.</div>
</div>
<script>
window.getSelection().setPosition(div, 0);
</script>
</body>
</html>