element-removed-from-top-layer-has-original-position-ref.html (489B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <style> 5 .green { 6 color: green; 7 } 8 </style> 9 </head> 10 <body> 11 <p>Bug <a href="http://webkit.org/b/106538">106538</a>: Top layer fails for inline elements</p> 12 <p>This tests that position 'static' no longer computes to 'absolute' for an 13 element that has been removed from the top layer. The test passes if you see 14 a single line of text.</p> 15 <span class="green">This is the span.</span> 16 <span class="green">This is the dialog following it.</span> 17 </body> 18 </html>