We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d913614 commit 180a92fCopy full SHA for 180a92f
test/unit/shady-unscoped-style.html
@@ -99,6 +99,11 @@
99
var el1 = document.querySelector('my-element');
100
var el2 = document.querySelector('my-element2');
101
102
+ test('unscoped styles apply', function() {
103
+ assertComputed(el1.$.fromStyle, '1px');
104
+ assertComputed(el2.$.fromStyle, '1px');
105
+ });
106
+
107
test('shared and @apply apply when used with unscoped styles', function() {
108
assertComputed(el1.$.fromStyle, '10px', 'padding-top');
109
assertComputed(el1.$.normal, '3px');
0 commit comments