blob: 80e60b0f259dd2785b97e9dbb57f5b11e32682fe [file] [log] [blame]
<!DOCTYPE html>
.green {
color: green;
#right-dialog {
position: static;
border: none;
padding: 0;
margin: 0;
<p>Bug <a href="">106538</a>: Top layer fails for inline elements</p>
<p>This tests that position 'static' no longer computes to 'absolute' for an
element that has been removed from the top layer. The test passes if you see
a single line of text.</p>
<span class="green">This is the span.</span>
<dialog class="green" id="right-dialog">This is the dialog following it.</dialog>
var dialog = document.getElementById('right-dialog');