blob: 509bfe9331d9e4ffabaadabf3518550dfc556911 [file] [log] [blame]
<!DOCTYPE html>
This tests verifies that blur is repainted using the full source image of the element instead of just the dirty area.
There should be 3 blurry green boxes on the page, all the same size and color.
.box {
margin: 10px;
height: 50px;
width: 50px;
background-color: green;
.before {
background-color: red;
.blur {
margin: 50px;
filter: blur(10px);
<script src="../../resources/run-after-layout-and-paint.js"></script>
function repaintTest()
runAfterLayoutAndPaint(function() {
}, true);
<body onload="repaintTest()">
<div class="blur">
<div class="box"></div>
<div class="box before"></div>
<div class="box"></div>