| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 | 2 |
| 3 <html> | 3 <html> |
| 4 <head> | 4 <head> |
| 5 <style> | 5 <style> |
| 6 | 6 |
| 7 .animating { | 7 .animating { |
| 8 -webkit-animation: slide 10s alternate linear infinite; | 8 animation: slide 10s alternate linear infinite; |
| 9 } | 9 } |
| 10 | 10 |
| 11 .container { | 11 .container { |
| 12 height: 200px; | 12 height: 200px; |
| 13 width: 250px; | 13 width: 250px; |
| 14 padding: 5px; | 14 padding: 5px; |
| 15 border: 1px solid black; | 15 border: 1px solid black; |
| 16 } | 16 } |
| 17 | 17 |
| 18 .banner { | 18 .banner { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 40 position: absolute; | 40 position: absolute; |
| 41 top: 60px; | 41 top: 60px; |
| 42 left: 120px; | 42 left: 120px; |
| 43 background-color: orange; | 43 background-color: orange; |
| 44 } | 44 } |
| 45 | 45 |
| 46 .composited { | 46 .composited { |
| 47 transform: translateZ(0); | 47 transform: translateZ(0); |
| 48 } | 48 } |
| 49 | 49 |
| 50 @-webkit-keyframes slide { | 50 @keyframes slide { |
| 51 from { transform: translateX(0px); } | 51 from { transform: translateX(0px); } |
| 52 to { transform: translateX(100px); } | 52 to { transform: translateX(100px); } |
| 53 } | 53 } |
| 54 </style> | 54 </style> |
| 55 <script> | 55 <script> |
| 56 if (window.testRunner) { | 56 if (window.testRunner) { |
| 57 testRunner.dumpAsText(); | 57 testRunner.dumpAsText(); |
| 58 testRunner.waitUntilDone(); | 58 testRunner.waitUntilDone(); |
| 59 } | 59 } |
| 60 | 60 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 75 <div class="composited banner"></div> | 75 <div class="composited banner"></div> |
| 76 <div class="test1 box">Should be composited</div> | 76 <div class="test1 box">Should be composited</div> |
| 77 <div class="test2 box">Should not be composited</div> | 77 <div class="test2 box">Should not be composited</div> |
| 78 </div> | 78 </div> |
| 79 | 79 |
| 80 <div class="box">Should be composited</div> | 80 <div class="box">Should be composited</div> |
| 81 <pre id="layers">Layer tree goes here in DRT</pre> | 81 <pre id="layers">Layer tree goes here in DRT</pre> |
| 82 | 82 |
| 83 </body> | 83 </body> |
| 84 </html> | 84 </html> |
| OLD | NEW |