blob: 249fd8160b189e6a897617453438093ef43cb094 [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 {
-webkit-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>