diff --git a/test/unit/shady-unscoped-style.html b/test/unit/shady-unscoped-style.html index 62712d94c1..744c837263 100644 --- a/test/unit/shady-unscoped-style.html +++ b/test/unit/shady-unscoped-style.html @@ -99,6 +99,11 @@ var el1 = document.querySelector('my-element'); var el2 = document.querySelector('my-element2'); + test('unscoped styles apply', function() { + assertComputed(el1.$.fromStyle, '1px'); + assertComputed(el2.$.fromStyle, '1px'); + }); + test('shared and @apply apply when used with unscoped styles', function() { assertComputed(el1.$.fromStyle, '10px', 'padding-top'); assertComputed(el1.$.normal, '3px');