summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/interactive-elements/the-dialog-element/backdrop-inherits-ref.html
blob: d9f4cb2c84118ee3290c7f6df3e810d9ba0580ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<style>
#backdrop {
  position: absolute;
  top: 100px;
  left: 100px;
  height: 100px;
  width: 100px;
  background: green;
}
</style>
<body>
Test that ::backdrop inherits from its originating element. The test passes if
there is a green box and no red.
<div id="backdrop"></div>
</body>