update polymer components

This commit is contained in:
Luke Pulverenti 2015-10-28 16:56:25 -04:00
parent 0320ad7256
commit 3c08769c6c
29 changed files with 961 additions and 844 deletions

View file

@ -66,6 +66,20 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
assert.equal(mq.queryMatches, true);
});
suite('`full` attribute', function() {
test('media features without wrapping parentheses no longer match', function() {
mq.full = true;
mq.query = 'min-width: 1px';
assert.equal(mq.queryMatches, false);
});
test('media queries with both types and features match', function() {
mq.full = true;
mq.query = 'all and (min-width: 1px)';
assert.equal(mq.queryMatches, true);
});
});
suite('query does not activate on empty string or null', function() {
test('empty string', function() {