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 filter area includes all the child RenderLayers and applies the children's transforms correctly.
5 You should see three green rectangles slightly rotated and blured. There should be no red.
15 background-color: green;
17 transform: translate(50px, 0px) rotate(20deg);
21 background-color: red;
27 -webkit-filter: blur(5px);
34 <script src="../../resources/run-after-display.js"></script>
36 if (window.testRunner) {
37 testRunner.dumpAsTextWithPixelResults();
38 testRunner.waitUntilDone();
41 function repaintTest()
43 runAfterDisplay(function() {
44 document.querySelector(".before").classList.remove("before");
45 if (window.testRunner)
46 testRunner.notifyDone();
52 <body onload="repaintTest()">
55 <div class="box"></div>
56 <div class="box before"></div>
57 <div class="box"></div>