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

Unified Diff: pkg/unittest/html_enhanced_config.dart

Issue 10928057: Fix issue 4960 (getter syntax in html_enhanced_config). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/html_enhanced_config.dart
===================================================================
--- pkg/unittest/html_enhanced_config.dart (revision 11963)
+++ pkg/unittest/html_enhanced_config.dart (working copy)
@@ -235,13 +235,14 @@
}
- static bool get _isIE() => document.window.navigator.userAgent.contains('MSIE');
+ static bool get _isIE => document.window.navigator.userAgent.contains('MSIE');
- String get _htmlTestCSS() =>
+ String get _htmlTestCSS =>
'''
body{
font-size: 14px;
- font-family: 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
+ font-family: 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande','''
+ ''' sans-serif;
background: WhiteSmoke;
}
@@ -258,10 +259,14 @@
${_isIE ? "border-bottom:solid black 1px;": ""}
${_isIE ? "border-top:solid #777777 1px;": ""}
- background-image: -webkit-linear-gradient(bottom, rgb(50,50,50) 0%, rgb(100,100,100) 100%);
- background-image: -moz-linear-gradient(bottom, rgb(50,50,50) 0%, rgb(100,100,100) 100%);
- background-image: -ms-linear-gradient(bottom, rgb(50,50,50) 0%, rgb(100,100,100) 100%);
- background-image: linear-gradient(bottom, rgb(50,50,50) 0%, rgb(100,100,100) 100%);
+ background-image: -webkit-linear-gradient(bottom, rgb(50,50,50) 0%, '''
+ '''rgb(100,100,100) 100%);
+ background-image: -moz-linear-gradient(bottom, rgb(50,50,50) 0%, '''
+ '''rgb(100,100,100) 100%);
+ background-image: -ms-linear-gradient(bottom, rgb(50,50,50) 0%, '''
+ '''rgb(100,100,100) 100%);
+ background-image: linear-gradient(bottom, rgb(50,50,50) 0%, '''
+ '''rgb(100,100,100) 100%);
display: -webkit-box;
display: -moz-box;
@@ -289,17 +294,24 @@
.unittest-group-status-pass{
background: Green;
- background: -webkit-radial-gradient(center, ellipse cover, #AAFFAA 0%,Green 100%);
- background: -moz-radial-gradient(center, ellipse cover, #AAFFAA 0%,Green 100%);
- background: -ms-radial-gradient(center, ellipse cover, #AAFFAA 0%,Green 100%);
- background: radial-gradient(center, ellipse cover, #AAFFAA 0%,Green 100%);
+ background: '''
+ '''-webkit-radial-gradient(center, ellipse cover, #AAFFAA 0%,Green 100%);
+ background: '''
+ '''-moz-radial-gradient(center, ellipse cover, #AAFFAA 0%,Green 100%);
+ background: '''
+ '''-ms-radial-gradient(center, ellipse cover, #AAFFAA 0%,Green 100%);
+ background: '''
+ '''radial-gradient(center, ellipse cover, #AAFFAA 0%,Green 100%);
}
.unittest-group-status-fail{
background: Red;
- background: -webkit-radial-gradient(center, ellipse cover, #FFAAAA 0%,Red 100%);
- background: -moz-radial-gradient(center, ellipse cover, #FFAAAA 0%,Red 100%);
- background: -ms-radial-gradient(center, ellipse cover, #AAFFAA 0%,Green 100%);
+ background: '''
+ '''-webkit-radial-gradient(center, ellipse cover, #FFAAAA 0%,Red 100%);
+ background: '''
+ '''-moz-radial-gradient(center, ellipse cover, #FFAAAA 0%,Red 100%);
+ background: '''
+ '''-ms-radial-gradient(center, ellipse cover, #AAFFAA 0%,Green 100%);
background: radial-gradient(center, ellipse cover, #FFAAAA 0%,Red 100%);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698