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 |
index b74527a08f2c9f34c6dc6e0b406070eaa531d537..ee92c6027896056053e89b8b7ee937d20b7dcee4 100644 |
--- a/ui/webui/resources/css/i18n_process.css |
+++ b/ui/webui/resources/css/i18n_process.css |
@@ -3,15 +3,21 @@ |
* found in the LICENSE file. */ |
[i18n-content]::before, |
-[i18n-values*=".innerHTML:"]::before { |
- /* Insert a non-breaking space into nodes that have i18n'd content. */ |
+[i18n-values*=".innerHTML:"]::before, |
+::shadow [i18n-content]::before, |
+::shadow [i18n-values*=".innerHTML:"]::before { |
+ /* Insert a non-breaking space into nodes that have i18n content. */ |
content: '\00a0'; |
} |
[i18n-processed][i18n-content]::before, |
[i18n-processed] [i18n-content]::before, |
[i18n-processed][i18n-values*=".innerHTML:"]::before, |
-[i18n-processed] [i18n-values*=".innerHTML:"]::before { |
- /* Undo the non-breaking space hack after i18n-processing has run. */ |
+[i18n-processed] [i18n-values*=".innerHTML:"]::before, |
+::shadow [i18n-processed][i18n-content]::before, |
+::shadow [i18n-processed] [i18n-content]::before, |
+::shadow [i18n-processed][i18n-values*=".innerHTML:"]::before, |
+::shadow [i18n-processed] [i18n-values*=".innerHTML:"]::before { |
+ /* Undo the non-breaking space hack after i18n processing has run. */ |
content: normal; |
} |