Skip to content

Commit

Permalink
Include more styling tests under ShadowDOM.
Browse files Browse the repository at this point in the history
Fix custom-style media query test to work under both shadow/shady.
  • Loading branch information
Steven Orvell committed Jan 5, 2016
1 parent 555252b commit 33a24bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions test/runner.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,8 @@
'unit/styling-remote.html',
'unit/styling-cross-scope-var.html',
'unit/styling-cross-scope-apply.html',
// TODO(sorvell): disable until this Chrome bug is addressed:
// https://code.google.com/p/chromium/issues/detail?id=525280
// 'unit/styling-cross-scope-var.html?dom=shadow',
// 'unit/styling-cross-scope-apply.html?dom=shadow',
'unit/styling-cross-scope-var.html?dom=shadow',
'unit/styling-cross-scope-apply.html?dom=shadow',
'unit/styling-cross-scope-unknown-host.html',
'unit/custom-style.html',
'unit/custom-style.html?dom=shadow',
Expand Down
4 changes: 2 additions & 2 deletions test/unit/custom-style.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@

<div class="foo"></div>

<div class="foo--bar style-scope"></div>
<div class="foo--bar"></div>

<dom-module id="x-baz">
<style>
Expand Down Expand Up @@ -489,7 +489,7 @@
});

test('BEM-like CSS selectors under media queries', function() {
assertComputed(document.querySelector('.foo--bar'), '3px');
assertComputed(document.querySelector('.foo--bar'), '20px');
});

});
Expand Down

0 comments on commit 33a24bb

Please sign in to comment.