blob: af33f7c4ee5359152ffddc34261c9b680717badd [file] [log] [blame]
<!-- Based on fast/repaint/filter-invalidation-after-display.html -->
<!DOCTYPE html>
.green {
background-color: green;
.box {
width: 200px;
height: 200px;
position: absolute;
left: 300px;
.drop-shadowed {
-webkit-filter: drop-shadow(100px 100px 10px red);
This test checks that we correctly invalidate filters when they are removed.
There should be no red below.
<div class="green drop-shadowed box" id="box"></div>
<script src="resources/paint-invalidation-test.js"></script>
window.expectedPaintInvalidationObjects = [
"LayoutBlockFlow (positioned) DIV id='box' class='green box'",
"LayoutBlockFlow (positioned) DIV id='box' class='green box'",
function paintInvalidationTest() {
var box = document.getElementById('box');
window.onload = runPaintInvalidationTest;