| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <style> | 3 <style> |
| 4 body { | 4 body { |
| 5 direction: rtl; | 5 direction: rtl; |
| 6 margin: 0px; | 6 margin: 0px; |
| 7 background-color: red; | 7 background-color: red; |
| 8 } | 8 } |
| 9 | 9 |
| 10 .positioned { | 10 .positioned { |
| 11 position: fixed; | 11 position: fixed; |
| 12 top: 50px; | 12 top: 50px; |
| 13 left: 50px; | 13 left: 50px; |
| 14 width: 100px; | 14 width: 100px; |
| 15 height: 100px; | 15 height: 100px; |
| 16 } | 16 } |
| 17 | 17 |
| 18 .indicator { | 18 .indicator { |
| 19 background-color: red; | 19 background-color: red; |
| 20 } | 20 } |
| 21 | 21 |
| 22 .layer { | 22 .layer { |
| 23 -webkit-transform:translateZ(0); | 23 transform:translateZ(0); |
| 24 background-color: green; | 24 background-color: green; |
| 25 } | 25 } |
| 26 | 26 |
| 27 #root { | 27 #root { |
| 28 width: 100%; | 28 width: 100%; |
| 29 height: 100%; | 29 height: 100%; |
| 30 background-color: white; | 30 background-color: white; |
| 31 } | 31 } |
| 32 | 32 |
| 33 #layertree { | 33 #layertree { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 47 window.addEventListener('load', doTest, false); | 47 window.addEventListener('load', doTest, false); |
| 48 </script> | 48 </script> |
| 49 <body> | 49 <body> |
| 50 <div id="root"></div> | 50 <div id="root"></div> |
| 51 <div class="positioned indicator"></div> | 51 <div class="positioned indicator"></div> |
| 52 <div class="positioned layer"></div> | 52 <div class="positioned layer"></div> |
| 53 | 53 |
| 54 <pre id="layertree"></pre> | 54 <pre id="layertree"></pre> |
| 55 </body> | 55 </body> |
| 56 </html> | 56 </html> |
| OLD | NEW |