Index: ui/webui/resources/css/i18n_process.css |
diff --git a/ui/webui/resources/css/i18n_process.css b/ui/webui/resources/css/i18n_process.css |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bed65ccd66c418632ae39feb67e132e82960b537 |
--- /dev/null |
+++ b/ui/webui/resources/css/i18n_process.css |
@@ -0,0 +1,9 @@ |
+/* Copyright 2015 The Chromium Authors. All rights reserved. |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. */ |
+ |
+html:not(.i18n-processed) [i18n-content]:empty::after, |
Evan Stade
2015/04/10 23:56:59
do you still need the :empty?
Dan Beam
2015/04/11 00:48:32
I guess not.
|
+html:not(.i18n-processed) [i18n-values*=".innerHTML:"]:empty::after { |
+ /* Insert a non-breaking space into empty nodes until i18n processing runs. */ |
+ content: '\00a0'; |
+} |