blob: 42f0b2894fe9dc88d2189acbaa8d7417e3e2680a [file] [log] [blame]
<!-- Based on fast/repaint/button-inner-no-repaint.html -->
<!DOCTYPE html>
<script src="resources/paint-invalidation-test.js"></script>
<script>
if (window.testRunner)
testRunner.dumpAsText();
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>