dialog-display.html (356B)
1 <!doctype html> 2 <title>dialog: display</title> 3 <script src=/resources/testharness.js></script> 4 <script src=/resources/testharnessreport.js></script> 5 <style> 6 dialog { position: static } 7 </style> 8 <dialog open id=dialog></dialog> 9 <script> 10 test(function() { 11 assert_equals(getComputedStyle(document.getElementById('dialog')).display, 'block'); 12 }); 13 </script>