3 <title>CSS filter blur occlusion test.</title>
4 <style type="text/css">
6 transform: translateZ(0);
20 -webkit-filter: opacity(0%);
23 <script type="text/javascript">
24 if (window.testRunner) {
25 testRunner.dumpAsTextWithPixelResults();
31 This test guards against culling behind filters that change opacity. The red box is given
32 an opacity of 0% with a CSS filter, so only the green box behind it should be visible.
34 <div class="green-parent composited" style="position:absolute; left:0; top:0">
35 <div class="centered composited" style="background-color: green;">
38 <div class="composited centered alpha" style="background-color: red;">