blob: 70bb09c16f48b62a2cdd976e3f631f44b86da613 [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>
function paintInvalidationTest() {
var box = document.getElementById('box');
window.onload = runPaintInvalidationTest;