diff --git a/test/unit/shady-unscoped-style.html b/test/unit/shady-unscoped-style.html index fb2af89514..4b2db71c0f 100644 --- a/test/unit/shady-unscoped-style.html +++ b/test/unit/shady-unscoped-style.html @@ -100,6 +100,9 @@ var el2 = document.querySelector('my-element2'); test('unscoped styles apply', function() { + if (window.HTMLImports && window.HTMLImports.useNative) { + this.skip() + } assertComputed(el1.$.fromStyle, '1px'); assertComputed(el1.$.fromImport, '2px'); assertComputed(el2.$.fromStyle, '1px'); @@ -107,13 +110,14 @@ }); test('shared and @apply apply when used with unscoped styles', function() { + debugger; assertComputed(el1.$.fromStyle, '10px', 'padding-top'); assertComputed(el1.$.normal, '3px'); assertComputed(el2.$.normal, '3px'); }); test('unscoped styling de-duped in ShadyDOM', function() { - if (!window.ShadyDOM) { + if (!window.ShadyDOM || (window.HTMLImports && window.HTMLImports.useNative)) { this.skip(); } assert.equal(document.head.querySelectorAll('style[shady-unscoped]').length, 2);