Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/rendering/non-replaced-elements/flow-content-0/dialog-display.html - WPT Dashboard Interop Dashboard
<!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>