blob: e0eda58744b86659dffd189b691b0a4a1c5173d5 [file] [log] [blame]
<title>This tests that an element with visibility hidden does not show its backdrop filter.</title>
<style>
.container {
width: 200px;
height: 200px;
background: blue;
margin: 50px;
}
.top {
width: 400px;
height: 50px;
position: absolute;
left: 0;
top: 150px;
border: 1px solid red;
-webkit-backdrop-filter: blur(50px);
visibility: hidden;
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function dumpLayers() {
if (window.internals)
document.getElementById("result").innerText = internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_CONTENT_LAYERS)
}
window.addEventListener("load", dumpLayers, false);
</script>
</head>
<body>
<div class="container"><div class="top"></div></div>
<pre id="result"></pre>