Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / resize-child-within-overflow.html
blob9dd083eed38da8cd0ec29d2636224f891bb0717d
1 <!-- Based on fast/repaint/resize-child-within-overflow.html -->
2 <!DOCTYPE html>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <script>
5 window.expectedPaintInvalidationObjects = [
6 "LayoutBlockFlow (positioned) DIV class='container'",
7 ];
8 function paintInvalidationTest()
10 document.getElementById('child').style.width = '600px';
12 window.onload = runPaintInvalidationTest;
13 </script>
14 <style>
15 body {
16 margin: 0;
18 .container {
19 position: absolute;
20 height: 1000px;
21 background-color: blue;
23 #child {
24 width: 400px;
26 .overflow {
27 width: 800px;
28 height: 50px;
30 </style>
31 <div class="container">
32 <div id="child">
33 <div class="overflow"></div>
34 </div>
35 </div>