OLD | NEW |
1 /* Copyright 2015 The Chromium Authors. All rights reserved. | 1 /* Copyright 2015 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 | 4 |
5 [i18n-content]::before, | 5 [i18n-content]::before, |
6 [i18n-values*=".innerHTML:"]::before { | 6 [i18n-values*=".innerHTML:"]::before, |
7 /* Insert a non-breaking space into nodes that have i18n'd content. */ | 7 ::shadow [i18n-content]::before, |
| 8 ::shadow [i18n-values*=".innerHTML:"]::before { |
| 9 /* Insert a non-breaking space into nodes that have i18n content. */ |
8 content: '\00a0'; | 10 content: '\00a0'; |
9 } | 11 } |
10 | 12 |
11 [i18n-processed][i18n-content]::before, | 13 [i18n-processed][i18n-content]::before, |
12 [i18n-processed] [i18n-content]::before, | 14 [i18n-processed] [i18n-content]::before, |
13 [i18n-processed][i18n-values*=".innerHTML:"]::before, | 15 [i18n-processed][i18n-values*=".innerHTML:"]::before, |
14 [i18n-processed] [i18n-values*=".innerHTML:"]::before { | 16 [i18n-processed] [i18n-values*=".innerHTML:"]::before, |
15 /* Undo the non-breaking space hack after i18n-processing has run. */ | 17 ::shadow [i18n-processed][i18n-content]::before, |
| 18 ::shadow [i18n-processed] [i18n-content]::before, |
| 19 ::shadow [i18n-processed][i18n-values*=".innerHTML:"]::before, |
| 20 ::shadow [i18n-processed] [i18n-values*=".innerHTML:"]::before { |
| 21 /* Undo the non-breaking space hack after i18n processing has run. */ |
16 content: normal; | 22 content: normal; |
17 } | 23 } |
OLD | NEW |