Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-position/overlay/backdrop-outside-top-layer.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>CSS Position Test: No backdrop outside the top layer</title>
<link rel="match" href="/css/reference/blank.html">
<meta name="assert"
content="An element outside the top layer does not render a backdrop, even with overlay: auto.">
<style>
#target {
overlay: auto;
}
#target::backdrop {
position: fixed;
inset: 0;
background: red;
}
</style>
<div id="target"></div>