summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/content-visibility/content-with-top-layer-ref.html
blob: 1a3cad327839c303dc2c9da144c572fe3f15965b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!doctype html>
<meta charset="utf8">
<title>CSS Content Visibility: dialog shows when rendered (ref)</title>

<style>
.box { width: 100px; height: 100px; border: 1px solid black; }
</style>

<div id=container class=box>
This test passes if you can see “PASS” in a white box.
<dialog id=dialog>PASS<div id=inner></div></dialog>
</div>
text

<script>
dialog.showModal();
</script>