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

Side by Side Diff: LayoutTests/dialog/top-layer-stacking-correct-order-remove-readd-expected.html

Issue 23060031: Set <dialog> width and height to 'fit-content'. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: give dialog height auto for dialog-autoheight test Created 7 years, 3 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <link rel="stylesheet" href="resources/dialog.css">
4 <style> 5 <style>
5 .pseudodialog { 6 .pseudodialog {
6 height: 100px; 7 height: 100px;
7 width: 100px; 8 width: 100px;
8 position: absolute;
9 left: 0; right: 0;
10 margin: auto;
11 border: solid;
12 padding: 1em;
13 background: white;
14 color: black;
15 } 9 }
16 </style> 10 </style>
17 </head> 11 </head>
18 <body> 12 <body>
19 <p>Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=105489">105489</a>: Elem ents must be reattached when inserted/removed from top layer 13 <p>Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=105489">105489</a>: Elem ents must be reattached when inserted/removed from top layer
20 <p>The test passes if you see a green rectangle stacked on top of a blue rectang le. 14 <p>The test passes if you see a green rectangle stacked on top of a blue rectang le.
21 15
22 <div class="pseudodialog" style="top: 100px; background-color: blue"></div> 16 <div class="pseudodialog" style="top: 100px; background-color: blue"></div>
23 <div class="pseudodialog" style="top: 150px; left: 50px; background-color: green "></div> 17 <div class="pseudodialog" style="top: 150px; left: 50px; background-color: green "></div>
24 </body> 18 </body>
25 </html> 19 </html>
OLDNEW
« no previous file with comments | « LayoutTests/dialog/top-layer-display-none-expected.html ('k') | LayoutTests/dialog/top-layer-stacking-dynamic-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698