blob: 29dbf366dab747a2002af032ecddebbd5783bb4c [file] [log] [blame]
<!-- Based on fast/repaint/button-inner-no-repaint.html -->
<!DOCTYPE html>
<script src="resources/paint-invalidation-test.js"></script>
<script>
function paintInvalidationTest() {
document.getElementsByTagName('button')[0].style.maxWidth = '1000px';
}
onload = runPaintInvalidationTest;
</script>
<style>
button {
position: absolute;
width: 300px;
height: 100px;
}
</style>
<button>Should not repaint on style change that doesn't change visual.</button>