blob: 6722443b5e8a0d64ba82a966c0e261f08aba7a94 [file] [log] [blame]
<!-- Based on fast/repaint/button-inner-no-repaint.html -->
<!DOCTYPE html>
<script src="resources/paint-invalidation-test.js"></script>
<script>
window.expectedPaintInvalidationObjects = [
];
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>