Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / button-spurious-layout-hint.html
blob5f4ab7c1dbba40e8a0fcd535cb3e682206f0271c
1 <!-- Based on fast/repaint/button-spurious-layout-hint.html -->
2 <head>
3 <script src="resources/paint-invalidation-test.js" type="text/javascript"></script>
4 <script>
5 window.expectedPaintInvalidationObjects = [
6 "LayoutButton BUTTON id='target'",
7 ];
8 function paintInvalidationTest()
10 document.getElementById("target").style.backgroundColor = "lightpink";
12 </script>
13 </head>
14 <body onload="runPaintInvalidationTest()">
15 <button id="target" style="height: 100px; width: 100px; background-color: lightblue; border: none;">&nbsp;</button>
16 </body>