OLD | NEW |
---|---|
1 <!doctype html> | 1 <!doctype html> |
2 <html i18n-values="dir:textdirection;"> | 2 <html> |
jungshik at Google
2015/01/10 00:54:04
You have to keep this because 'dir' attribute in H
Bernhard Bauer
2015/01/12 15:47:17
Oh, ok. That does mean a few things though:
1. W
Bernhard Bauer
2015/01/14 18:14:23
Jungshik, ping?
Dan Beam
2015/01/21 19:21:41
this pattern is common:
default styles {
ma
Bernhard Bauer
2015/01/21 22:47:50
We could still do:
[dir='rtl'] {
direction:
Dan Beam
2015/01/22 00:58:48
^ how does this selector match?
Dan Beam
2015/01/22 01:14:05
to be more specific (and less rhetorical), current
Bernhard Bauer
2015/01/22 10:12:35
Sorry, I meant moving the `direction: $1;` line fr
Dan Beam
2015/01/22 17:08:41
some things I think are clear but I just want to m
Dan Beam
2015/01/22 17:09:29
which you *were*
Bernhard Bauer
2015/01/22 17:36:17
Gotcha, thanks for the explanation!
Once we have
| |
3 <head> | 3 <head> |
4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
5 <meta name="viewport" | 5 <meta name="viewport" |
6 content="initial-scale=1, minimum-scale=1, width=device-width"> | 6 content="initial-scale=1, minimum-scale=1, width=device-width"> |
7 <title i18n-content="tabTitle"></title> | 7 <title i18n-content="tabTitle"></title> |
8 <link rel="stylesheet" href="interstitial_v2.css"> | 8 <link rel="stylesheet" href="interstitial_v2.css"> |
9 <script src="../../../../ui/webui/resources/js/util.js"></script> | 9 <script src="../../../../ui/webui/resources/js/util.js"></script> |
10 <script src="ssl.js"></script> | 10 <script src="ssl.js"></script> |
11 <script src="safe_browsing.js"></script> | 11 <script src="safe_browsing.js"></script> |
12 <script src="interstitial_v2.js"></script> | 12 <script src="interstitial_v2.js"></script> |
13 </head> | 13 </head> |
14 <!-- TODO(jshin): Get rid of i18n-values and import default_text.css instead | 14 <body id="body"> |
15 once interstitial page loading does not use data url any more. --> | |
16 <body id="body" i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsi ze"> | |
17 <div class="interstitial-wrapper"> | 15 <div class="interstitial-wrapper"> |
18 <div class="icon" id="icon"></div> | 16 <div class="icon" id="icon"></div> |
19 <div id="main-message"> | 17 <div id="main-message"> |
20 <h1 i18n-content="heading"></h1> | 18 <h1 i18n-content="heading"></h1> |
21 <p i18n-values=".innerHTML:primaryParagraph"></p> | 19 <p i18n-values=".innerHTML:primaryParagraph"></p> |
22 </div> | 20 </div> |
23 <div id="malware-opt-in" class="hidden"> | 21 <div id="malware-opt-in" class="hidden"> |
24 <div class="styled-checkbox"> | 22 <div class="styled-checkbox"> |
25 <input type="checkbox" id="opt-in-checkbox"> | 23 <input type="checkbox" id="opt-in-checkbox"> |
26 <label for="opt-in-checkbox"></label> | 24 <label for="opt-in-checkbox"></label> |
27 </div> | 25 </div> |
28 <div id="opt-in-label"></div> | 26 <div id="opt-in-label"></div> |
29 </div> | 27 </div> |
30 <div class="nav-wrapper"> | 28 <div class="nav-wrapper"> |
31 <button i18n-content="primaryButtonText" id="primary-button"></button> | 29 <button i18n-content="primaryButtonText" id="primary-button"></button> |
32 <a href="#" id="details-button" class="small-link" | 30 <a href="#" id="details-button" class="small-link" |
33 i18n-content="openDetails"></a> | 31 i18n-content="openDetails"></a> |
34 </div> | 32 </div> |
35 <div id="details" class="hidden"> | 33 <div id="details" class="hidden"> |
36 <p i18n-values=".innerHTML:explanationParagraph"></p> | 34 <p i18n-values=".innerHTML:explanationParagraph"></p> |
37 <p i18n-values=".innerHTML:finalParagraph" id="final-paragraph"></p> | 35 <p i18n-values=".innerHTML:finalParagraph" id="final-paragraph"></p> |
38 </div> | 36 </div> |
39 <div id="debugging"> | 37 <div id="debugging"> |
40 <p id="error-code"></p> | 38 <p id="error-code"></p> |
41 <div id="error-debugging-info" class="hidden"></div> | 39 <div id="error-debugging-info" class="hidden"></div> |
42 </div> | 40 </div> |
43 </div> | 41 </div> |
44 </body> | 42 </body> |
45 </html> | 43 </html> |
OLD | NEW |