summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/interactive-elements/the-dialog-element/modal-dialog-backdrop-opacity-ref.html
blob: b50e6ae026124af0a27622cb995cd497e9761dda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<link rel="stylesheet" href="resources/dialog.css">
<style>
.backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background-color: green;
    opacity: 0.5;
}
</style>
<body>
<div class="backdrop"></div>
<div class="pseudodialog">Test passes if you see a green backdrop at half opacity.</div>
</body>
</html>