Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / invalidation-with-zero-size-object.html
blobcaa11eb99dabfa7cd3ff7e6c450a6d521ff7731f
1 <!-- Based on fast/repaint/invalidation-with-zero-size-object.html -->
2 <!doctype html>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <script>
5 window.expectedPaintInvalidationObjects = [
6 "LayoutBlockFlow DIV id='element'",
7 ];
8 function paintInvalidationTest()
10 document.getElementById('element').style.width = '0';
11 document.getElementById('element').style.height = '0';
14 onload = runPaintInvalidationTest;
15 </script>
16 <style>
17 #element {
18 width: 200px;
19 height: 200px;
20 background-color: red;
22 #inner {
23 width: 100%;
24 height: 100%;
26 </style>
27 <div id='element'>
28 <div id='inner'></div>
29 </div>