| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta http-equiv="Content-type" content="text/html; charset=utf-8"> | 4 <meta http-equiv="Content-type" content="text/html; charset=utf-8"> |
| 5 <style type="text/css" media="screen"> | 5 <style type="text/css" media="screen"> |
| 6 | 6 |
| 7 div { | 7 div { |
| 8 -webkit-box-sizing: border-box; | 8 -webkit-box-sizing: border-box; |
| 9 } | 9 } |
| 10 .container { | 10 .container { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 } | 26 } |
| 27 | 27 |
| 28 .inner { | 28 .inner { |
| 29 position: absolute; | 29 position: absolute; |
| 30 top: 10px; | 30 top: 10px; |
| 31 left: 10px; | 31 left: 10px; |
| 32 background-color: green; | 32 background-color: green; |
| 33 } | 33 } |
| 34 | 34 |
| 35 .composited { | 35 .composited { |
| 36 -webkit-transform: translateZ(0); | 36 transform: translateZ(0); |
| 37 } | 37 } |
| 38 | 38 |
| 39 .inner.moved { | 39 .inner.moved { |
| 40 left: 25px; | 40 left: 25px; |
| 41 } | 41 } |
| 42 | 42 |
| 43 #indicator { | 43 #indicator { |
| 44 position: absolute; | 44 position: absolute; |
| 45 top: 135px; | 45 top: 135px; |
| 46 left: 26px; | 46 left: 26px; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 58 <p>Position of reflected layer should update correctly. You should see no red
below.</p> | 58 <p>Position of reflected layer should update correctly. You should see no red
below.</p> |
| 59 <div class="container"> | 59 <div class="container"> |
| 60 <div id="indicator" class="box"></div> | 60 <div id="indicator" class="box"></div> |
| 61 <div class="reflected composited"> | 61 <div class="reflected composited"> |
| 62 <div id="inner" class="inner box"> | 62 <div id="inner" class="inner box"> |
| 63 </div> | 63 </div> |
| 64 </div> | 64 </div> |
| 65 </div> | 65 </div> |
| 66 | 66 |
| 67 </html> | 67 </html> |
| OLD | NEW |