Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Side by Side Diff: third_party/WebKit/LayoutTests/dialog/element-removed-from-top-layer-has-original-position.html

Issue 2671603003: Move DIALOG element tests to html/dialog/. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 .green {
6 color: green;
7 }
8
9 #right-dialog {
10 position: static;
11 border: none;
12 padding: 0;
13 margin: 0;
14 }
15 </style>
16 </head>
17 <body>
18 <p>Bug <a href="http://webkit.org/b/106538">106538</a>: Top layer fails for inli ne 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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698