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

Side by Side Diff: chrome/browser/resources/net_internals/hsts_view.js

Issue 2535573002: Reduce usage of webkit CSS prefixes in chrome/browser/resources (Closed)
Patch Set: CSSOM Created 4 years 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 /** 5 /**
6 * HSTS is HTTPS Strict Transport Security: a way for sites to elect to always 6 * HSTS is HTTPS Strict Transport Security: a way for sites to elect to always
7 * use HTTPS. See http://dev.chromium.org/sts 7 * use HTTPS. See http://dev.chromium.org/sts
8 * 8 *
9 * This UI allows a user to query and update the browser's list of HSTS domains. 9 * This UI allows a user to query and update the browser's list of HSTS domains.
10 * It also allows users to query and update the browser's list of public key 10 * It also allows users to query and update the browser's list of public key
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 if (m == 0) { 173 if (m == 0) {
174 return 'STRICT'; 174 return 'STRICT';
175 } else if (m == 1) { 175 } else if (m == 1) {
176 return 'OPPORTUNISTIC'; 176 return 'OPPORTUNISTIC';
177 } else { 177 } else {
178 return 'UNKNOWN'; 178 return 'UNKNOWN';
179 } 179 }
180 } 180 }
181 181
182 function yellowFade(element) { 182 function yellowFade(element) {
183 element.style.webkitTransitionProperty = 'background-color'; 183 element.style.transitionProperty = 'background-color';
184 element.style.webkitTransitionDuration = '0'; 184 element.style.transitionDuration = '0';
185 element.style.backgroundColor = '#fffccf'; 185 element.style.backgroundColor = '#fffccf';
Eric Willigers 2016/11/30 02:06:52 I have left these unsorted.
186 setTimeout(function() { 186 setTimeout(function() {
187 element.style.webkitTransitionDuration = '1000ms'; 187 element.style.transitionDuration = '1000ms';
188 element.style.backgroundColor = '#fff'; 188 element.style.backgroundColor = '#fff';
189 }, 0); 189 }, 0);
190 } 190 }
191 191
192 return HSTSView; 192 return HSTSView;
193 })(); 193 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698