OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html><head> | 2 <html><head> |
3 <title>CSS filter blur occlusion test.</title> | 3 <title>CSS filter blur occlusion test.</title> |
4 <style type="text/css"> | 4 <style type="text/css"> |
5 .composited { | 5 .composited { |
6 -webkit-transform: translateZ(0); | 6 transform: translateZ(0); |
7 } | 7 } |
8 .green-parent { | 8 .green-parent { |
9 width: 800px; | 9 width: 800px; |
10 height: 800px; | 10 height: 800px; |
11 } | 11 } |
12 .centered { | 12 .centered { |
13 width: 400px; | 13 width: 400px; |
14 height: 400px; | 14 height: 400px; |
15 position: absolute; | 15 position: absolute; |
16 left: 200px; | 16 left: 200px; |
(...skipping 17 matching lines...) Expand all Loading... |
34 between their visible region with culling. | 34 between their visible region with culling. |
35 --> | 35 --> |
36 <div class="green-parent composited" style="position:absolute; left:0; top:0"> | 36 <div class="green-parent composited" style="position:absolute; left:0; top:0"> |
37 <div class="centered composited" style="background-color: green;"> | 37 <div class="centered composited" style="background-color: green;"> |
38 </div> | 38 </div> |
39 </div> | 39 </div> |
40 <div class="composited centered alpha" style="background-color: red;"> | 40 <div class="composited centered alpha" style="background-color: red;"> |
41 </div> | 41 </div> |
42 </body> | 42 </body> |
43 </html> | 43 </html> |
OLD | NEW |