| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../resources/run-after-display.js"></script> | 4 <script src="../../resources/run-after-display.js"></script> |
| 5 <style> | 5 <style> |
| 6 div { | 6 div { |
| 7 position: absolute; | 7 position: absolute; |
| 8 z-index: 1; | 8 z-index: 1; |
| 9 width: 100px; | 9 width: 100px; |
| 10 height: 100px; | 10 height: 100px; |
| 11 } | 11 } |
| 12 | 12 |
| 13 .composited { | 13 .composited { |
| 14 -webkit-transform: translatez(0); | 14 transform: translatez(0); |
| 15 top: 60px; | 15 top: 60px; |
| 16 left: 60px; | 16 left: 60px; |
| 17 background-color: gray; | 17 background-color: gray; |
| 18 } | 18 } |
| 19 | 19 |
| 20 .overlap1 { | 20 .overlap1 { |
| 21 top: 140px; | 21 top: 140px; |
| 22 left: 140px; | 22 left: 140px; |
| 23 background-color: blue; | 23 background-color: blue; |
| 24 } | 24 } |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 CASE 4, overlap2 and overlap3 change color: | 129 CASE 4, overlap2 and overlap3 change color: |
| 130 <pre id="Case4"></pre> | 130 <pre id="Case4"></pre> |
| 131 | 131 |
| 132 CASE 5, overlap3 and overlap1 change color: | 132 CASE 5, overlap3 and overlap1 change color: |
| 133 <pre id="Case5"></pre> | 133 <pre id="Case5"></pre> |
| 134 </div> | 134 </div> |
| 135 | 135 |
| 136 </body> | 136 </body> |
| 137 | 137 |
| 138 </html> | 138 </html> |
| OLD | NEW |