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

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

Issue 1076093002: Minimize flicker by adding a   to nodes that will have (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/css/widgets.css
diff --git a/ui/webui/resources/css/widgets.css b/ui/webui/resources/css/widgets.css
index 2ab881aa5e286c7a88fc6e040f3c6a9b4230866a..d475261edc42c3a6f2cad4ce5ac7241e0dd5be1f 100644
--- a/ui/webui/resources/css/widgets.css
+++ b/ui/webui/resources/css/widgets.css
@@ -117,6 +117,13 @@ input[type='search']::-webkit-textfield-decoration-container {
direction: inherit;
}
+[i18n-content]:empty,
+[i18n-values*=".innerHTML:"]:empty {
Dan Beam 2015/04/10 02:32:59 so, what's the chance that even after i18nTemplate
Evan Stade 2015/04/10 14:14:41 hum, ida know. You could always add a class to the
Dan Beam 2015/04/10 23:42:52 Done.
+ /* Minimize flicker by increasing height to at least 1 line of text before
+ * i18n_process.js has a chance to run. */
+ min-height: 1em;
Evan Stade 2015/04/10 14:14:41 is 1 em really guaranteed to be the height of a li
Dan Beam 2015/04/10 23:42:52 Done.
+}
+
/* Checked ********************************************************************/
input[type='checkbox']:checked::before {
@@ -314,4 +321,4 @@ extensionview {
display: inline-block;
height: 300px;
width: 300px;
-}
+}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698