Fix new failing test.

This commit is contained in:
Jürg Lehni 2013-06-11 13:57:28 -07:00
parent b512532d23
commit 72082bdcff

View file

@ -176,7 +176,7 @@ var Style = Base.extend(new function() {
}
for (var i = 0, l = children.length; i < l; i++) {
var childValue = children[i]._style[get]();
if (!value) {
if (i === 0) {
value = childValue;
} else if (!Base.equals(value, childValue)) {
// If there is another item with a different