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

Unified Diff: LayoutTests/dialog/resources/dialog.css

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, 4 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/dialog/resources/dialog.css
diff --git a/LayoutTests/dialog/resources/dialog.css b/LayoutTests/dialog/resources/dialog.css
new file mode 100644
index 0000000000000000000000000000000000000000..e96969f47585081cb95a751195981d324381e4a2
--- /dev/null
+++ b/LayoutTests/dialog/resources/dialog.css
@@ -0,0 +1,11 @@
+.pseudodialog {
+ position: absolute;
+ left: 0; right: 0;
+ width: -webkit-fit-content;
+ height: -webkit-fit-content;
+ margin: auto;
+ border: solid;
+ padding: 1em;
+ background: white;
+ color: black;
+}

Powered by Google App Engine
This is Rietveld 408576698