mirror of https://github.com/sveltejs/svelte
commit
8814460fae
@ -0,0 +1,7 @@
|
||||
// JSDOM makes this test pass when it should fail. weird
|
||||
export default {
|
||||
test ( assert, component, target, window ) {
|
||||
const p = target.querySelector( 'p' );
|
||||
assert.equal( window.getComputedStyle( p ).color, 'red' );
|
||||
}
|
||||
};
|
@ -0,0 +1,11 @@
|
||||
<p>red</p>
|
||||
|
||||
<style>
|
||||
/*
|
||||
div {}
|
||||
*/
|
||||
|
||||
p {
|
||||
color: red;
|
||||
}
|
||||
</style>
|
Loading…
Reference in new issue