| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style> | 4 <style> |
| 5 .composited { | 5 .composited { |
| 6 -webkit-transform: translateZ(0); | 6 transform: translateZ(0); |
| 7 } | 7 } |
| 8 | 8 |
| 9 .box { | 9 .box { |
| 10 margin: 10px; | 10 margin: 10px; |
| 11 width: 100px; | 11 width: 100px; |
| 12 height: 100px; | 12 height: 100px; |
| 13 z-index: 0; | 13 z-index: 0; |
| 14 } | 14 } |
| 15 | 15 |
| 16 .resizable { | 16 .resizable { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 window.addEventListener('load', doTest, false); | 31 window.addEventListener('load', doTest, false); |
| 32 </script> | 32 </script> |
| 33 </head> | 33 </head> |
| 34 <body> | 34 <body> |
| 35 <!-- You should see the resize widget in this element --> | 35 <!-- You should see the resize widget in this element --> |
| 36 <div class="resizable composited box"></div> | 36 <div class="resizable composited box"></div> |
| 37 <pre id="layers">Layer tree appears here in DRT.</pre> | 37 <pre id="layers">Layer tree appears here in DRT.</pre> |
| 38 </body> | 38 </body> |
| 39 </html> | 39 </html> |
| OLD | NEW |