2 <script src=
"resources/text-based-repaint.js"></script>
4 function repaintTest() {
5 document
.getElementsByTagName('button')[0].style
.maxWidth
= '1000px';
7 onload
= runRepaintTest
;
16 <button>Should not repaint on style change that doesn't change visual.
</button>