OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
| 4 <link rel="stylesheet" href="resources/dialog.css"> |
4 <style> | 5 <style> |
5 .pseudodialog { | 6 .pseudodialog { |
6 position: absolute; | |
7 left: 0; right: 0; | |
8 margin: auto; | |
9 border: solid; | |
10 padding: 1em; | |
11 background: white; | |
12 color: black; | |
13 height: 100px; | 7 height: 100px; |
14 width: 100px; | 8 width: 100px; |
15 } | 9 } |
16 | 10 |
17 #bottomDialog { | 11 #bottomDialog { |
18 background-color: blue; | 12 background-color: blue; |
19 top: 100px; | 13 top: 100px; |
20 } | 14 } |
21 | 15 |
22 #topDialog { | 16 #topDialog { |
23 background-color: green; | 17 background-color: green; |
24 top: 150px; | 18 top: 150px; |
25 left: 50px; | 19 left: 50px; |
26 } | 20 } |
27 </style> | 21 </style> |
28 </head> | 22 </head> |
29 <body> | 23 <body> |
30 <p>Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=105489">105489</a>: Elem
ents must be reattached when inserted/removed from top layer | 24 <p>Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=105489">105489</a>: Elem
ents must be reattached when inserted/removed from top layer |
31 <p>The test passes if you see a green rectangle stacked on top of a blue rectang
le. | 25 <p>The test passes if you see a green rectangle stacked on top of a blue rectang
le. |
32 <div id="bottomDialog" class="pseudodialog"></div> | 26 <div id="bottomDialog" class="pseudodialog"></div> |
33 <div id="topDialog" class="pseudodialog"></div> | 27 <div id="topDialog" class="pseudodialog"></div> |
34 </body> | 28 </body> |
35 </html> | 29 </html> |
36 | 30 |
OLD | NEW |