mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Revert style properties change from fd57784705
This broke a number of tests on an internal project.
This commit is contained in:
parent
55b91b3db7
commit
0a0b580981
@ -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;
|
||||
},
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user