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

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

Issue 1229573003: Teach i18nTemplate.process() to handle <link rel=import> and <template> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: +cycle test 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
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 html:not(.i18n-processed) [i18n-content]::before, 5 [i18n-content]::before,
6 html:not(.i18n-processed) [i18n-values*=".innerHTML:"]::before { 6 [i18n-values*=".innerHTML:"]::before {
7 /* Insert a non-breaking space into nodes that have i18n'd content. */ 7 /* Insert a non-breaking space into nodes that have i18n'd content. */
8 content: '\00a0'; 8 content: '\00a0';
9 } 9 }
10
11 [i18n-processed][i18n-content]::before,
12 [i18n-processed] [i18n-content]::before,
13 [i18n-processed][i18n-values*=".innerHTML:"]::before,
14 [i18n-processed] [i18n-values*=".innerHTML:"]::before {
dzhioev (left Google) 2015/07/14 02:43:23 Why these selectors differ from the selectors abov
Dan Beam 2015/07/14 05:31:17 The ones with spaces are descendants. But this rul
15 /* Undo the non-breaking space hack after i18n-processing has run. */
16 content: normal;
17 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698