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

Unified Diff: Source/WebCore/css/html.css

Issue 13792002: Fix <dialog> centering (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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: Source/WebCore/css/html.css
diff --git a/Source/WebCore/css/html.css b/Source/WebCore/css/html.css
index c9b7023a0be990bab97acf3384264a4275f17c86..67d9cc690aa3bc9c75f74a5dd549adb69a0315b0 100644
--- a/Source/WebCore/css/html.css
+++ b/Source/WebCore/css/html.css
@@ -147,6 +147,7 @@ map {
#if defined(ENABLE_DIALOG_ELEMENT) && ENABLE_DIALOG_ELEMENT
dialog:not([open]) { display: none; }
dialog {
+ display: block;
falken 2013/04/08 13:07:35 A hack for now. If it's inline it generates an ano
position: absolute;
left: 0; right: 0;
margin: auto;

Powered by Google App Engine
This is Rietveld 408576698