mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Include more styling tests under ShadowDOM.
Fix custom-style media query test to work under both shadow/shady.
This commit is contained in:
parent
555252b6b6
commit
33a24bb8e8
@ -56,10 +56,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
'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',
|
||||
|
@ -155,7 +155,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
|
||||
<div class="foo"></div>
|
||||
|
||||
<div class="foo--bar style-scope"></div>
|
||||
<div class="foo--bar"></div>
|
||||
|
||||
<dom-module id="x-baz">
|
||||
<style>
|
||||
@ -489,7 +489,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
});
|
||||
|
||||
test('BEM-like CSS selectors under media queries', function() {
|
||||
assertComputed(document.querySelector('.foo--bar'), '3px');
|
||||
assertComputed(document.querySelector('.foo--bar'), '20px');
|
||||
});
|
||||
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user