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 16 matching lines...) Expand all Loading... |
27 } | 27 } |
28 | 28 |
29 .inner { | 29 .inner { |
30 position: absolute; | 30 position: absolute; |
31 top: 10px; | 31 top: 10px; |
32 left: 10px; | 32 left: 10px; |
33 background-color: green; | 33 background-color: green; |
34 } | 34 } |
35 | 35 |
36 .composited { | 36 .composited { |
37 -webkit-transform: translateZ(0); | 37 transform: translateZ(0); |
38 } | 38 } |
39 | 39 |
40 .inner.moved { | 40 .inner.moved { |
41 left: 25px; | 41 left: 25px; |
42 } | 42 } |
43 | 43 |
44 #indicator { | 44 #indicator { |
45 position: absolute; | 45 position: absolute; |
46 top: 135px; | 46 top: 135px; |
47 left: 26px; | 47 left: 26px; |
(...skipping 11 matching lines...) Expand all Loading... |
59 <p>Position of reflected layer should update correctly. You should see no red
below.</p> | 59 <p>Position of reflected layer should update correctly. You should see no red
below.</p> |
60 <div class="container"> | 60 <div class="container"> |
61 <div id="indicator" class="box"></div> | 61 <div id="indicator" class="box"></div> |
62 <div class="reflected composited"> | 62 <div class="reflected composited"> |
63 <div id="inner" class="inner box"> | 63 <div id="inner" class="inner box"> |
64 </div> | 64 </div> |
65 </div> | 65 </div> |
66 </div> | 66 </div> |
67 | 67 |
68 </html> | 68 </html> |
OLD | NEW |