blob: 077bbddd81b955b366e700b41f6a38d51e53c844 [file] [log] [blame]
<html>
<head>
<!--
This test verifies that a compositor-painted blur filter does not add filter outsets to
the composited layer bounds.
Note: Some platforms' compositors may not be capable of computing their own filter outsets
yet, so they will need different expectations that include filter outsets in the composited
layer bounds.
-->
<style>
#composited {
background-color: green;
transform: translateZ(0);
filter: blur(25px);
position: absolute;
top: 100px;
left: 100px;
width: 100px;
height: 100px;
}
</style>
</head>
<body>
<div id="composited"></div>
<pre id="console"></pre>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
document.getElementById("console").appendChild(document.createTextNode(internals.layerTreeAsText(document)));
}
</script>
</body>
</html>