blob: ce5ad304581a7ad5f1fbef7d4cdb003fd2cf3a91 [file] [log] [blame]
<script>
if (window.testRunner)
testRunner.waitUntilDone();
window.addEventListener('load', function () {
var el = document.querySelector("div");
el.className = "filtered";
setTimeout(function () {
if (window.testRunner)
testRunner.notifyDone();
}, 0);
}, false);
</script>
<style>
div {
width: 200px;
height: 200px;
}
.filtered {
filter: hue-rotate(180deg);
background-color: rgb(166, 114, 163);
}
</style>
<div>
<!-- This paragraph will have a filter applied. Once applied, it should have a green background. -->
</div>