mirror of https://github.com/sveltejs/svelte
dont create whitespace nodes inside elements like <select> (#189)
parent
2e946e0e93
commit
182a04e8fc
@ -0,0 +1,6 @@
|
||||
export default {
|
||||
test ( assert, component, target ) {
|
||||
const select = target.querySelector( 'select' );
|
||||
assert.equal( select.childNodes.length, 3 );
|
||||
}
|
||||
};
|
@ -0,0 +1,5 @@
|
||||
<select>
|
||||
<option>a</option>
|
||||
<option>b</option>
|
||||
<option>c</option>
|
||||
</select>
|
Loading…
Reference in new issue