mirror of https://github.com/sveltejs/svelte
handle multiline comments in CSS - fixes #252
parent
d5648df509
commit
12a088b1ca
@ -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