blob: 1d979c9c9a725d4c9778eaafc7ca15608192f5c2 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../resources/ahem.js"></script>
<style>
#editable {
font: 20px/1 Ahem;
width: 50px;
height: 1em;
margin-left: 500px;
margin-top: 200px;
background: green;
text-indent: -150px;
outline: none;
}
</style>
<script src="resources/text-based-repaint.js" type="text/javascript"></script>
<script type="text/javascript">
function repaintTest() {
document.getElementById('editable').focus();
}
</script>
</head>
<body onload="runRepaintAndPixelTest();">
<div id="editable" contenteditable="true"></div>
</body>
</html>