removed-element-is-removed-from-top-layer-ref.html (647B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <link rel="stylesheet" href="resources/dialog.css"> 5 <style> 6 .pseudodialog { 7 height: 100px; 8 width: 100px; 9 } 10 11 #bottomDialog { 12 background-color: blue; 13 top: 0px; 14 } 15 16 #topDialog { 17 background-color: green; 18 top: 50px; 19 left: 50px; 20 } 21 </style> 22 </head> 23 <body> 24 <p>Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=105489">105489</a>: Elements must be reattached when inserted/removed from top layer 25 <p>The test passes if you see a green rectangle stacked on top of a blue rectangle. 26 <div id="bottomDialog" class="pseudodialog"></div> 27 <div id="topDialog" class="pseudodialog"></div> 28 </body> 29 </html>