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

Side by Side Diff: LayoutTests/dialog/removed-element-is-removed-from-top-layer-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 position: absolute;
7 left: 0; right: 0;
8 margin: auto;
9 border: solid;
10 padding: 1em;
11 background: white;
12 color: black;
13 height: 100px; 7 height: 100px;
14 width: 100px; 8 width: 100px;
15 } 9 }
16 10
17 #bottomDialog { 11 #bottomDialog {
18 background-color: blue; 12 background-color: blue;
19 top: 100px; 13 top: 100px;
20 } 14 }
21 15
22 #topDialog { 16 #topDialog {
23 background-color: green; 17 background-color: green;
24 top: 150px; 18 top: 150px;
25 left: 50px; 19 left: 50px;
26 } 20 }
27 </style> 21 </style>
28 </head> 22 </head>
29 <body> 23 <body>
30 <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 24 <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
31 <p>The test passes if you see a green rectangle stacked on top of a blue rectang le. 25 <p>The test passes if you see a green rectangle stacked on top of a blue rectang le.
32 <div id="bottomDialog" class="pseudodialog"></div> 26 <div id="bottomDialog" class="pseudodialog"></div>
33 <div id="topDialog" class="pseudodialog"></div> 27 <div id="topDialog" class="pseudodialog"></div>
34 </body> 28 </body>
35 </html> 29 </html>
36 30
OLDNEW
« no previous file with comments | « LayoutTests/dialog/non-modal-dialog-containing-block-expected.html ('k') | LayoutTests/dialog/resources/dialog.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698