OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 dialog { | 5 dialog { |
6 height: 100px; | 6 height: 100px; |
7 width: 100px; | 7 width: 100px; |
8 } | 8 } |
9 | 9 |
10 ::backdrop { | 10 ::backdrop { |
(...skipping 22 matching lines...) Expand all Loading... |
33 var topDialog = document.getElementById('topDialog'); | 33 var topDialog = document.getElementById('topDialog'); |
34 var bottomDialog = document.getElementById('bottomDialog'); | 34 var bottomDialog = document.getElementById('bottomDialog'); |
35 topDialog.showModal(); | 35 topDialog.showModal(); |
36 bottomDialog.showModal(); | 36 bottomDialog.showModal(); |
37 topDialog.offsetTop; // force a layout | 37 topDialog.offsetTop; // force a layout |
38 topDialog.close(); | 38 topDialog.close(); |
39 topDialog.showModal(); | 39 topDialog.showModal(); |
40 </script> | 40 </script> |
41 </body> | 41 </body> |
42 </html> | 42 </html> |
OLD | NEW |