Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / dialog / element-removed-from-top-layer-has-original-position.html
blob80e60b0f259dd2785b97e9dbb57f5b11e32682fe
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 .green {
6 color: green;
9 #right-dialog {
10 position: static;
11 border: none;
12 padding: 0;
13 margin: 0;
15 </style>
16 </head>
17 <body>
18 <p>Bug <a href="http://webkit.org/b/106538">106538</a>: Top layer fails for inline elements</p>
19 <p>This tests that position 'static' no longer computes to 'absolute' for an
20 element that has been removed from the top layer. The test passes if you see
21 a single line of text.</p>
22 <span class="green">This is the span.</span>
23 <dialog class="green" id="right-dialog">This is the dialog following it.</dialog>
24 <script>
25 var dialog = document.getElementById('right-dialog');
26 dialog.showModal();
27 dialog.close();
28 dialog.show();
29 </script>
30 </body>
31 </html>