summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/dialog/element-removed-from-top-layer-has-original-position-expected.html
blob: 694388ac990b94fc14fcf5a82f8fcfe639799bf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html>
<head>
<script>
if (window.internals)
    internals.settings.setDialogElementEnabled(true);
</script>
<style>
.green {
    color: green;
}
</style>
</head>
<body>
<p>Bug <a href="http://webkit.org/b/106538">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>
<span class="green">This is the dialog following it.</span>
</body>
</html>