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

Unified Diff: tools/web_dev_style/css_checker_test.py

Issue 2889113002: web_dev_style: Fix errors in new directories and enable PRESUBMIT (Closed)
Patch Set: merge+fix Created 3 years, 7 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: tools/web_dev_style/css_checker_test.py
diff --git a/tools/web_dev_style/css_checker_test.py b/tools/web_dev_style/css_checker_test.py
index ac1b43635c43efb21f55cd179c5d2390e4626996..b7fcb7dcbae3f5ca69231697679b2b32b71e2ca6 100755
--- a/tools/web_dev_style/css_checker_test.py
+++ b/tools/web_dev_style/css_checker_test.py
@@ -185,13 +185,14 @@ blah /* hey! */
.className,
.ClassName,
.class-name /* We should not catch this. */,
-.class_name {
+.class_name,
+[i18n-values*='.innerHTML:'] {
display: block;
}""", """
- Classes use .dash-form.
.className,
.ClassName,
- .class_name {""")
+ .class_name,""")
def testCssCloseBraceOnNewLine(self):
self.VerifyContentsProducesOutput("""
@@ -409,6 +410,7 @@ b:before,
10% {
width: 10px;
}
+ 50% { background-image: url(blah.svg); }
100% {
width: 100px;
}
@@ -425,6 +427,7 @@ body.alternate-logo #logo {
/* http://crbug.com/359682 */
#spinner-container #spinner {
-webkit-animation-duration: 1.0s;
+ background-image: url(images/google_logo0.svg);
}
.media-button.play > .state0.active,

Powered by Google App Engine
This is Rietveld 408576698