blob: 25ab1cb54124f340e49fcef063f5f1cb21aca74a [file] [log] [blame]
<html>
<head>
<style>
html {
-webkit-filter: brightness(1.1) contrast(120%);
}
#rect {
background: red;
width: 100px;
height: 100px;
}
</style>
</head>
<body>
<div id="rect"></div>
</body>
<script>
function changeBackground() {
document.getElementById("rect").style.background = "green";
}
if (window.testRunner) {
testRunner.dumpAsText(true);
testRunner.displayAndTrackRepaints();
changeBackground();
} else
window.setTimeout(changeBackground, 250);
</script>
</html>