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

Side by Side Diff: third_party/WebKit/LayoutTests/html/dialog/top-layer-nesting-expected.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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 .pseudodialog { 5 .pseudodialog {
6 height: 150px; 6 height: 150px;
7 width: 150px; 7 width: 150px;
8 position: absolute; 8 position: absolute;
9 left: 0; right: 0; 9 left: 0; right: 0;
10 margin: auto; 10 margin: auto;
11 border: solid; 11 border: solid;
12 padding: 1em; 12 padding: 1em;
13 background: white; 13 background: white;
14 color: black; 14 color: black;
15 } 15 }
16 </style> 16 </style>
17 </head> 17 </head>
18 <body> 18 <body>
19 This tests that top layer elements are stacked correctly even if nested in the D OM tree. 19 This tests that top layer elements are stacked correctly even if nested in the D OM tree.
20 The test passes if you see no red rectangles and see 3 rectangles stacked in the following order (from bottom to top): yellow, blue, green. 20 The test passes if you see no red rectangles and see 3 rectangles stacked in the following order (from bottom to top): yellow, blue, green.
21 21
22 <div class="pseudodialog" style="top: 100px; background-color: yellow"></div> 22 <div class="pseudodialog" style="top: 100px; background-color: yellow"></div>
23 <div class="pseudodialog" style="top: 150px; left: 50px; background-color: blue" ></div> 23 <div class="pseudodialog" style="top: 150px; left: 50px; background-color: blue" ></div>
24 <div class="pseudodialog" style="top: 200px; left: 100px; background-color: gree n"></div> 24 <div class="pseudodialog" style="top: 200px; left: 100px; background-color: gree n"></div>
25 </body> 25 </body>
26 </html> 26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698