| OLD | NEW |
| 1 <!DOCTYPE> | 1 <!DOCTYPE> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Partial layout compositing update</title> | 4 <title>Partial layout compositing update</title> |
| 5 | 5 |
| 6 <style type="text/css" media="screen"> | 6 <style type="text/css" media="screen"> |
| 7 .container { | 7 .container { |
| 8 position: relative; | 8 position: relative; |
| 9 width: 400px; | 9 width: 400px; |
| 10 height: 200px; | 10 height: 200px; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 -webkit-transition: left 0.1s linear; | 23 -webkit-transition: left 0.1s linear; |
| 24 } | 24 } |
| 25 | 25 |
| 26 .box { | 26 .box { |
| 27 width: 100px; | 27 width: 100px; |
| 28 height: 100px; | 28 height: 100px; |
| 29 } | 29 } |
| 30 | 30 |
| 31 .panel .content { | 31 .panel .content { |
| 32 background-color: green; | 32 background-color: green; |
| 33 -webkit-transform: translateZ(0); | 33 transform: translateZ(0); |
| 34 } | 34 } |
| 35 | 35 |
| 36 .indicator { | 36 .indicator { |
| 37 position: absolute; | 37 position: absolute; |
| 38 top: 0; | 38 top: 0; |
| 39 left: 0; | 39 left: 0; |
| 40 background-color: red; | 40 background-color: red; |
| 41 } | 41 } |
| 42 </style> | 42 </style> |
| 43 <script type="text/javascript" charset="utf-8"> | 43 <script type="text/javascript" charset="utf-8"> |
| (...skipping 18 matching lines...) Expand all Loading... |
| 62 <p>The green box should always obscure the red box below.</p> | 62 <p>The green box should always obscure the red box below.</p> |
| 63 <div class="container"> | 63 <div class="container"> |
| 64 <div id="panel" class="panel"> | 64 <div id="panel" class="panel"> |
| 65 <div class="indicator box"></div> | 65 <div class="indicator box"></div> |
| 66 <div class="content box"></div> | 66 <div class="content box"></div> |
| 67 </div> | 67 </div> |
| 68 </div> | 68 </div> |
| 69 | 69 |
| 70 </body> | 70 </body> |
| 71 </html> | 71 </html> |
| OLD | NEW |