Merge pull request #187 from sveltejs/gh-178

use setAttribute() for list attributes
pull/198/head
Rich Harris 8 years ago committed by GitHub
commit 9f04d46ffe

@ -60,7 +60,6 @@ const lookup = {
label: { appliesTo: [ 'track' ] }, label: { appliesTo: [ 'track' ] },
lang: {}, lang: {},
language: { appliesTo: [ 'script' ] }, language: { appliesTo: [ 'script' ] },
list: { appliesTo: [ 'input' ] },
loop: { appliesTo: [ 'audio', 'bgsound', 'marquee', 'video' ] }, loop: { appliesTo: [ 'audio', 'bgsound', 'marquee', 'video' ] },
low: { appliesTo: [ 'meter' ] }, low: { appliesTo: [ 'meter' ] },
manifest: { appliesTo: [ 'html' ] }, manifest: { appliesTo: [ 'html' ] },

@ -0,0 +1,8 @@
export default {
html: `
<input list='suggestions'>
<datalist id='suggestions'>
<option value='foo'/><option value='bar'/><option value='baz'/>
</datalist>
`
};

@ -0,0 +1,4 @@
<input list='suggestions'>
<datalist id='suggestions'>
<option value='foo'/><option value='bar'/><option value='baz'/>
</datalist>
Loading…
Cancel
Save