summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/rendering/non-replaced-elements/flow-content-0/dialog-display.html
blob: 48b0e33d9445aef98dd3ff6d5f03fca1fc5eb6e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!doctype html>
<title>dialog: display</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<style>
 dialog { position: static }
</style>
<dialog open id=dialog></dialog>
<script>
test(function() {
  assert_equals(getComputedStyle(document.getElementById('dialog')).display, 'block');
});
</script>