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

Unified Diff: ui/webui/resources/css/widgets.css

Issue 747923004: webui: minimize webui flicker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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: ui/webui/resources/css/widgets.css
diff --git a/ui/webui/resources/css/widgets.css b/ui/webui/resources/css/widgets.css
index e4c7a5976e3001f0cea9573050babdad63be1376..abefe1af9da81d6d202fb02ea60025b3f7497cdf 100644
--- a/ui/webui/resources/css/widgets.css
+++ b/ui/webui/resources/css/widgets.css
@@ -8,6 +8,13 @@
/* Default state **************************************************************/
+body {
+ /* This is the default for most locales and platforms. It exists here to
+ * minimize flicker when first showing pages. It's overriden by the actual
+ * font size (IDS_WEB_FONT_SIZE) via JS later, usually to the same value. */
+ font-size: 75%;
Evan Stade 2014/11/22 05:14:44 I don't know if this is the right file for this. "
Dan Beam 2014/11/25 19:52:34 moved to a new, smaller "text_defaults.css" that's
+}
+
:-webkit-any(button,
input[type='button'],
input[type='submit']):not(.custom-appearance),
« ui/webui/resources/css/chrome_shared.css ('K') | « ui/webui/resources/css/chrome_shared.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698