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

Side by Side Diff: chrome/browser/test_presubmit.py

Issue 772203003: Fix presubmit @2x recognized as @at-keyword. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tbreisacher@ nit Created 6 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
« no previous file with comments | « no previous file | chrome/browser/web_dev_style/css_checker.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Unit tests for Web Development Style Guide checker.""" 6 """Unit tests for Web Development Style Guide checker."""
7 7
8 import os 8 import os
9 import re 9 import re
10 import sys 10 import sys
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 width: 0px; 760 width: 0px;
761 } 761 }
762 10% { 762 10% {
763 width: 10px; 763 width: 10px;
764 } 764 }
765 100% { 765 100% {
766 width: 100px; 766 width: 100px;
767 } 767 }
768 } 768 }
769 769
770 #logo {
771 background-image: url(images/google_logo.png@2x);
772 }
773
774 body.alternate-logo #logo {
775 -webkit-mask-image: url(images/google_logo.png@2x);
776 }
777
770 /* http://crbug.com/359682 */ 778 /* http://crbug.com/359682 */
771 #spinner-container #spinner { 779 #spinner-container #spinner {
772 -webkit-animation-duration: 1.0s; 780 -webkit-animation-duration: 1.0s;
773 } 781 }
774 782
775 .media-button.play > .state0.active, 783 .media-button.play > .state0.active,
776 .media-button[state='0'] > .state0.normal /* blah */, /* blee */ 784 .media-button[state='0'] > .state0.normal /* blah */, /* blee */
777 .media-button[state='0']:not(.disabled):hover > .state0.hover { 785 .media-button[state='0']:not(.disabled):hover > .state0.hover {
778 -webkit-animation: anim 0s; 786 -webkit-animation: anim 0s;
779 -webkit-animation-duration: anim 0ms; 787 -webkit-animation-duration: anim 0ms;
(...skipping 30 matching lines...) Expand all
810 opacity: .0; 818 opacity: .0;
811 opacity: 0.0; 819 opacity: 0.0;
812 opacity: 0.; 820 opacity: 0.;
813 border-width: 0mm; 821 border-width: 0mm;
814 height: 0cm; 822 height: 0cm;
815 width: 0in; 823 width: 0in;
816 """) 824 """)
817 825
818 if __name__ == '__main__': 826 if __name__ == '__main__':
819 unittest.main() 827 unittest.main()
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/web_dev_style/css_checker.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698