blob: 8a0772ed2eee34799e504d27de68906b96398585 [file] [log] [blame]
<!DOCTYPE html>
<!-- Test passes if doesn't crash. -->
<style>
.sw {
-webkit-filter: blur(4px);
}
.hw {
-webkit-filter: blur(3px);
-webkit-transform:translateZ(0);
}
</style>
<img class='sw' src="resources/reference.png">
PASS if test does not crash or cause an ASSERT failure.
<script>
if (window.testRunner)
window.testRunner.dumpAsText(false);
// force a layout
document.body.offsetTop;
var img = document.getElementsByTagName('img')[0];
img.className = 'hw';
// force a layout
document.body.offsetTop;
img.className = 'sw';
</script>