blob: 9abb8a5bb07fc391370af0824e9694c42d49b3fb [file] [log] [blame]
<!DOCTYPE HTML>
<script src="../resources/text-based-repaint.js"></script>
<script>
function repaintTest()
{
// Adding outline will cause a repaint but no layout.
document.getElementById("test").style['outline'] = 'solid black 10px';
}
window.onload = runRepaintAndPixelTest;
</script>
<style>
body {
margin: 0;
}
</style>
<div id="test" style="background-color: green; width: 100px; height: 100px;"></div>
<!-- Tests the repainting of outline when added. -->