mirror of https://github.com/sveltejs/svelte
Merge pull request #459 from sveltejs/gh-189
don't create whitespace nodes inside elements like <select>pull/464/head
commit
9c166a86f0
@ -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