summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-position/backdrop-inherit-rendered-ref.html
blob: 6343f8d1410ae90dba9be945504478ac00207b0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<title>CSS Test Reference</title>
<style>
  dialog {
    inset: 100px;
  }
  dialog::backdrop {
    background-color: green;
    inset: 100px;
  }
</style>
<dialog>Green backdrop with 100px inset</dialog>
<script>
  document.querySelector("dialog").showModal();
</script>