| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 | 2 |
| 3 <html> | 3 <html> |
| 4 <head> | 4 <head> |
| 5 <style type="text/css" media="screen"> | 5 <style type="text/css" media="screen"> |
| 6 img { | 6 img { |
| 7 width: 200px; | 7 width: 200px; |
| 8 height: 200px; | 8 height: 200px; |
| 9 clip: rect(10px 150px 150px 10px); | 9 clip: rect(10px 150px 150px 10px); |
| 10 position: absolute; | 10 position: absolute; |
| 11 z-index: 1; | 11 z-index: 1; |
| 12 } | 12 } |
| 13 | 13 |
| 14 .composited { | 14 .composited { |
| 15 -webkit-transform: translateZ(0); | 15 transform: translateZ(0); |
| 16 left: 200px; | 16 left: 200px; |
| 17 } | 17 } |
| 18 | 18 |
| 19 #layers { | 19 #layers { |
| 20 position: relative; | 20 position: relative; |
| 21 top: 220px; | 21 top: 220px; |
| 22 } | 22 } |
| 23 </style> | 23 </style> |
| 24 <script type="text/javascript" charset="utf-8"> | 24 <script type="text/javascript" charset="utf-8"> |
| 25 if (window.testRunner) { | 25 if (window.testRunner) { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 <img src="../resources/alpha-gradient-small.png"> | 41 <img src="../resources/alpha-gradient-small.png"> |
| 42 <img class="composited" src="../resources/alpha-gradient-small.png"> | 42 <img class="composited" src="../resources/alpha-gradient-small.png"> |
| 43 | 43 |
| 44 <pre id="layers"> | 44 <pre id="layers"> |
| 45 The layer tree goes here in DRT. | 45 The layer tree goes here in DRT. |
| 46 </pre> | 46 </pre> |
| 47 | 47 |
| 48 </body> | 48 </body> |
| 49 </html> | 49 </html> |
| OLD | NEW |