diff --git a/src/standard/utils.html b/src/standard/utils.html
index 4311f32357..5d4488f464 100644
--- a/src/standard/utils.html
+++ b/src/standard/utils.html
@@ -158,7 +158,7 @@
},
queryAllEffectiveChildren: function(slctr) {
- return Polymer.dom(this).queryAllDistributedElements(slctr);
+ return Polymer.dom(this).queryDistributedElements(slctr);
},
/**
diff --git a/test/unit/utils-content.html b/test/unit/utils-content.html
index 61b17552a6..ba82594e5b 100644
--- a/test/unit/utils-content.html
+++ b/test/unit/utils-content.html
@@ -124,6 +124,18 @@
assert.equal(text.replace(/\s/g, ''), 'abcde');
});
+ test('queryAllEffectiveChildren', function() {
+ var nodes = elt7.$.content.queryAllEffectiveChildren('div:not(.a)');
+ var aNode = elt7.$.content.queryAllEffectiveChildren('.a');
+ assert.equal(nodes.length, 4);
+ assert.equal(aNode.length, 1);
+ assert.ok(nodes[0].classList.contains('b'));
+ assert.ok(nodes[1].classList.contains('c'));
+ assert.ok(nodes[2].classList.contains('d'));
+ assert.ok(nodes[3].classList.contains('e'));
+ });
+
+
});
suite('isLight/Local descendant utils', function() {