Skip to content

Commit

Permalink
add sill-relevant, deleted tests back in
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliott Marquez committed Apr 19, 2018
1 parent d913614 commit 180a92f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/unit/shady-unscoped-style.html
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 180a92f

Please sign in to comment.