| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style type="text/css"> | 4 <style type="text/css"> |
| 5 body { | 5 body { |
| 6 margin: 0; | 6 margin: 0; |
| 7 } | 7 } |
| 8 .layer { | 8 .layer { |
| 9 position: absolute; | 9 position: absolute; |
| 10 top: 0; | 10 top: 0; |
| 11 left: 0; | 11 left: 0; |
| 12 } | 12 } |
| 13 .container-box { | 13 .container-box { |
| 14 margin: 10px; | 14 margin: 10px; |
| 15 width: 100px; | 15 width: 100px; |
| 16 height: 100px; | 16 height: 100px; |
| 17 overflow: hidden; | 17 overflow: hidden; |
| 18 } | 18 } |
| 19 .box { | 19 .box { |
| 20 width: 100px; | 20 width: 100px; |
| 21 height: 100px; | 21 height: 100px; |
| 22 background-color: green; | 22 background-color: green; |
| 23 } | 23 } |
| 24 .composited { | 24 .composited { |
| 25 -webkit-transform: translateZ(0); | 25 transform: translateZ(0); |
| 26 } | 26 } |
| 27 .filter-blur { | 27 .filter-blur { |
| 28 -webkit-filter: blur(10px); | 28 -webkit-filter: blur(10px); |
| 29 } | 29 } |
| 30 .filter-opacity { | 30 .filter-opacity { |
| 31 -webkit-filter: opacity(50%); | 31 -webkit-filter: opacity(50%); |
| 32 } | 32 } |
| 33 </style> | 33 </style> |
| 34 <script type="text/javascript"> | 34 <script type="text/javascript"> |
| 35 if (window.testRunner) | 35 if (window.testRunner) |
| (...skipping 14 matching lines...) Expand all Loading... |
| 50 <!-- GraphicsLayer::contentsOpaque for these boxes should be false. --> | 50 <!-- GraphicsLayer::contentsOpaque for these boxes should be false. --> |
| 51 <div class="composited container-box"> | 51 <div class="composited container-box"> |
| 52 <div class="box filter-blur"></div> | 52 <div class="box filter-blur"></div> |
| 53 </div> | 53 </div> |
| 54 <div class="composited container-box"> | 54 <div class="composited container-box"> |
| 55 <div class="box filter-opacity"></div> | 55 <div class="box filter-opacity"></div> |
| 56 </div> | 56 </div> |
| 57 <pre id="layertree"></pre> | 57 <pre id="layertree"></pre> |
| 58 </body> | 58 </body> |
| 59 </html> | 59 </html> |
| OLD | NEW |