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: 150px; | 6 height: 150px; |
7 width: 150px; | 7 width: 150px; |
8 } | 8 } |
9 | 9 |
| 10 ::backdrop { |
| 11 display: none; |
| 12 } |
| 13 |
10 .red { | 14 .red { |
11 background-color: red; | 15 background-color: red; |
12 top: 200px; | 16 top: 200px; |
13 } | 17 } |
14 | 18 |
15 #bottomDialog { | 19 #bottomDialog { |
16 background-color: blue; | 20 background-color: blue; |
17 top: 50px; | 21 top: 50px; |
18 } | 22 } |
19 | 23 |
(...skipping 18 matching lines...) Expand all Loading... |
38 var removedDialog = document.getElementById('removedDialog'); | 42 var removedDialog = document.getElementById('removedDialog'); |
39 removedDialog.showModal(); | 43 removedDialog.showModal(); |
40 document.getElementById('bottomDialog').showModal(); | 44 document.getElementById('bottomDialog').showModal(); |
41 document.getElementById('removedDialogChild').showModal(); | 45 document.getElementById('removedDialogChild').showModal(); |
42 removedDialog.parentNode.removeChild(removedDialog); | 46 removedDialog.parentNode.removeChild(removedDialog); |
43 document.getElementById('topDialog').close(); | 47 document.getElementById('topDialog').close(); |
44 document.getElementById('topDialog').showModal(); | 48 document.getElementById('topDialog').showModal(); |
45 </script> | 49 </script> |
46 </body> | 50 </body> |
47 </html> | 51 </html> |
OLD | NEW |