4 background-color: green;
11 -webkit-filter: drop-shadow(100px 100px 10px red);
14 -webkit-filter: blur(10px);
15 transform: translateZ(0);
19 This test checks that we correctly invalidate filters along with a paint invalidation container change.
20 There should be no red below.
22 <div class="green drop-shadowed box" id="box"></div>
23 <script src="resources/text-based-repaint.js"></script>
25 window.testIsAsync = true;
27 function repaintTest() {
28 var box = document.getElementById('box');
29 box.classList.toggle('drop-shadowed');
30 box.classList.toggle('blurry');
32 if (window.testRunner) {
34 testRunner.notifyDone();