3 This tests verifies that blur is repainted using the full source image of the element instead of just the dirty area.
4 Also it tests that the clipping or the transform rectangle of the box is not affecting the shadow.
5 There should be two boxes on the screen: left one should be green and right one should be green, and both have the same size.
6 No red should be visible.
26 background-color: green;
30 background-color: transparent;
34 -webkit-filter: drop-shadow(0px -100px 0px blue);
35 -webkit-transform-origin: 50px 50px;
36 transform: rotate(90deg);
40 <script src="../../resources/run-after-display.js"></script>
42 if (window.testRunner) {
43 testRunner.dumpAsTextWithPixelResults();
44 testRunner.waitUntilDone();
46 function repaintTest()
48 runAfterDisplay(function() {
49 document.querySelector(".before").classList.remove("before");
50 if (window.testRunner)
51 testRunner.notifyDone();
56 <body onload="repaintTest()">
57 <div class="clipping_box">
59 <div class="empty_box"></div>
60 <div class="box before"></div>