blob: 340841419b8f93d6425130d7d8e52469ac4c7697 [file] [log] [blame]
<!-- Based on fast/repaint/reflection-invalidation-after-display.html -->
<!DOCTYPE html>
.green {
background-color: green;
.box {
width: 200px;
height: 200px;
position: absolute;
left: 300px;
.reflected {
-webkit-box-reflect: right 50px;
This test checks that we correctly invalidate reflection when they are removed.
There should be only one green box below.
<div class="green reflected 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;