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

Unified Diff: chrome/browser/resources/security_warnings/interstitial_v2.html

Issue 830743003: Directly inline shared WebUI CSS declarations into the security and supervised user interstitials. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/security_warnings/interstitial_v2.html
diff --git a/chrome/browser/resources/security_warnings/interstitial_v2.html b/chrome/browser/resources/security_warnings/interstitial_v2.html
index cc81404920fc4634f7a7b335f35ed04aa0a89883..1fb16d1e8201ce46b152ba7a49f66ff8686dbe56 100644
--- a/chrome/browser/resources/security_warnings/interstitial_v2.html
+++ b/chrome/browser/resources/security_warnings/interstitial_v2.html
@@ -1,5 +1,5 @@
<!doctype html>
-<html i18n-values="dir:textdirection;">
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
+<html>
<head>
<meta charset="utf-8">
<meta name="viewport"
@@ -11,9 +11,7 @@
<script src="safe_browsing.js"></script>
<script src="interstitial_v2.js"></script>
</head>
-<!-- TODO(jshin): Get rid of i18n-values and import default_text.css instead
- once interstitial page loading does not use data url any more. -->
-<body id="body" i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
+<body id="body">
<div class="interstitial-wrapper">
<div class="icon" id="icon"></div>
<div id="main-message">

Powered by Google App Engine
This is Rietveld 408576698