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

Side by Side Diff: ui/webui/resources/css/i18n_process.css

Issue 1246253002: Convert i18n_process.css to use /deep/ instead of ::shadow and add tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: thestig@ review Created 5 years, 5 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 unified diff | Download patch
« no previous file with comments | « tools/gritsettings/resource_ids ('k') | ui/webui/resources/js/webui_resource_test.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 ::shadow [i18n-content]::before, 7 * /deep/ [i18n-content]::before,
8 ::shadow [i18n-values*=".innerHTML:"]::before { 8 * /deep/ [i18n-values*=".innerHTML:"]::before {
9 /* Insert a non-breaking space into nodes that have i18n content. */ 9 /* Insert a non-breaking space into nodes that have i18n content. */
10 content: '\00a0'; 10 content: '\00a0';
11 } 11 }
12 12
13 [i18n-processed][i18n-content]::before, 13 [i18n-processed][i18n-content]::before,
14 [i18n-processed] [i18n-content]::before, 14 [i18n-processed] [i18n-content]::before,
15 [i18n-processed][i18n-values*=".innerHTML:"]::before, 15 [i18n-processed][i18n-values*=".innerHTML:"]::before,
16 [i18n-processed] [i18n-values*=".innerHTML:"]::before, 16 [i18n-processed] [i18n-values*=".innerHTML:"]::before,
17 ::shadow [i18n-processed][i18n-content]::before, 17 * /deep/ [i18n-processed][i18n-content]::before,
18 ::shadow [i18n-processed] [i18n-content]::before, 18 * /deep/ [i18n-processed] [i18n-content]::before,
19 ::shadow [i18n-processed][i18n-values*=".innerHTML:"]::before, 19 * /deep/ [i18n-processed][i18n-values*=".innerHTML:"]::before,
20 ::shadow [i18n-processed] [i18n-values*=".innerHTML:"]::before { 20 * /deep/ [i18n-processed] [i18n-values*=".innerHTML:"]::before {
21 /* Undo the non-breaking space hack after i18n processing has run. */ 21 /* Undo the non-breaking space hack after i18n processing has run. */
22 content: normal; 22 content: normal;
23 } 23 }
OLDNEW
« no previous file with comments | « tools/gritsettings/resource_ids ('k') | ui/webui/resources/js/webui_resource_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698