Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / button-inner-no-repaint.html
blob6722443b5e8a0d64ba82a966c0e261f08aba7a94
1 <!-- Based on fast/repaint/button-inner-no-repaint.html -->
2 <!DOCTYPE html>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <script>
5 window.expectedPaintInvalidationObjects = [
6 ];
7 function paintInvalidationTest() {
8 document.getElementsByTagName('button')[0].style.maxWidth = '1000px';
10 onload = runPaintInvalidationTest;
11 </script>
12 <style>
13 button {
14 position: absolute;
15 width: 300px;
16 height: 100px;
18 </style>
19 <button>Should not repaint on style change that doesn't change visual.</button>