Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / invalidation-with-zero-size-object.html
blob9d3efb99d66670622047b9f08b722897542ae351
1 <!doctype html>
2 <script src="resources/text-based-repaint.js"></script>
3 <script>
4 function repaintTest()
6 document.getElementById('element').style.width = '0';
7 document.getElementById('element').style.height = '0';
10 onload = runRepaintTest;
11 </script>
12 <style>
13 #element {
14 width: 200px;
15 height: 200px;
16 background-color: red;
18 #inner {
19 width: 100%;
20 height: 100%;
22 </style>
23 <div id='element'>
24 <div id='inner'></div>
25 </div>