| Index: chrome/browser/web_dev_style/css_checker_test.py
|
| diff --git a/chrome/browser/web_dev_style/css_checker_test.py b/chrome/browser/web_dev_style/css_checker_test.py
|
| index 461cc2b381c5000aa2948736983434958dfa7320..4b1cd3e9bcdec1134038293f25c695ff7425f861 100755
|
| --- a/chrome/browser/web_dev_style/css_checker_test.py
|
| +++ b/chrome/browser/web_dev_style/css_checker_test.py
|
| @@ -277,6 +277,16 @@ img {
|
| - Don't use data URIs in source files. Use grit instead.
|
| background: url( data:image/jpeg,4\/\/350|\/|3|2 );""")
|
|
|
| + def testCssNoMixinShims(self):
|
| + self.VerifyContentsProducesOutput("""
|
| +:host {
|
| + --good-property: red;
|
| + --not-okay-mixin_-_not-okay-property: green;
|
| +}""", """
|
| +- Don't override custom properties created by Polymer's mixin shim. Set \
|
| +mixins or documented custom properties directly.
|
| + --not-okay-mixin_-_not-okay-property: green;""")
|
| +
|
| def testCssNoQuotesInUrl(self):
|
| self.VerifyContentsProducesOutput("""
|
| img {
|
|
|