Merge pull request #2670 from MikeMatrix/fix-readonly-form-attribute

Applying read only property form onto elements using `attr` instead
pull/2675/head
Rich Harris 6 years ago committed by GitHub
commit 411752c5bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -308,21 +308,6 @@ const attribute_lookup = {
dropzone: {}, dropzone: {},
enctype: { applies_to: ['form'] }, enctype: { applies_to: ['form'] },
for: { property_name: 'htmlFor', applies_to: ['label', 'output'] }, for: { property_name: 'htmlFor', applies_to: ['label', 'output'] },
form: {
applies_to: [
'button',
'fieldset',
'input',
'keygen',
'label',
'meter',
'object',
'output',
'progress',
'select',
'textarea',
],
},
formaction: { applies_to: ['input', 'button'] }, formaction: { applies_to: ['input', 'button'] },
headers: { applies_to: ['td', 'th'] }, headers: { applies_to: ['td', 'th'] },
height: { height: {

Loading…
Cancel
Save