blob: 33bfc37e5e7943c5ac0150ead56202d87e49f56f [file] [log] [blame]
<!DOCTYPE HTML>
<script src="resources/text-based-repaint.js"></script>
<script>
function repaintTest()
{
document.getElementById('target').style.verticalAlign = 'middle';
}
window.onload = runRepaintAndPixelTest;
</script>
<style>
body {
margin: 0;
}
.other {
width: 20px;
height: 20px;
background-color: blue;
display: inline-block;
}
#target {
width: 100px;
height: 100px;
background-color: green;
display: inline-block;
}
</style>
<div class="other"></div><div id="target"></div><div class="other"></div>