Revert style properties change from fd57784705

This broke a number of tests on an internal project.
This commit is contained in:
Peter Burns 2016-01-22 19:17:53 -08:00
parent 55b91b3db7
commit 0a0b580981
2 changed files with 3 additions and 9 deletions

View File

@ -87,7 +87,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
var parts = cssText.split(';');
for (var i=0, p; i<parts.length; i++) {
p = parts[i];
customCssText += p + ';\n';
if (p.match(this.rx.MIXIN_MATCH) || p.match(this.rx.VAR_MATCH)) {
customCssText += p + ';\n';
}
}
return customCssText;
},

View File

@ -273,14 +273,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
test('specificity of ::content > :not(template) selector', function() {
assertComputed(document.querySelector('[is=x-specificity-nested]'), '10px');
});
test('overwriting mixin properties', function() {
var root = document.querySelector('x-overriding');
assertComputed(root.querySelector('.red'), '1px');
assertComputed(root.querySelector('.green'), '2px');
assertComputed(root.querySelector('.red-2'), '1px');
assertComputed(root.querySelector('.blue'), '3px');
});
});
test('svg classes are dynamically scoped correctly', function() {