|
|
@ -19,8 +19,8 @@ const lookup = {
|
|
|
|
'tfoot',
|
|
|
|
'tfoot',
|
|
|
|
'th',
|
|
|
|
'th',
|
|
|
|
'thead',
|
|
|
|
'thead',
|
|
|
|
'tr'
|
|
|
|
'tr',
|
|
|
|
]
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
allowfullscreen: { propertyName: 'allowFullscreen', appliesTo: ['iframe'] },
|
|
|
|
allowfullscreen: { propertyName: 'allowFullscreen', appliesTo: ['iframe'] },
|
|
|
|
alt: { appliesTo: ['applet', 'area', 'img', 'input'] },
|
|
|
|
alt: { appliesTo: ['applet', 'area', 'img', 'input'] },
|
|
|
@ -41,8 +41,8 @@ const lookup = {
|
|
|
|
'tfoot',
|
|
|
|
'tfoot',
|
|
|
|
'td',
|
|
|
|
'td',
|
|
|
|
'th',
|
|
|
|
'th',
|
|
|
|
'tr'
|
|
|
|
'tr',
|
|
|
|
]
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
border: { appliesTo: ['img', 'object', 'table'] },
|
|
|
|
border: { appliesTo: ['img', 'object', 'table'] },
|
|
|
|
buffered: { appliesTo: ['audio', 'video'] },
|
|
|
|
buffered: { appliesTo: ['audio', 'video'] },
|
|
|
@ -77,8 +77,8 @@ const lookup = {
|
|
|
|
'optgroup',
|
|
|
|
'optgroup',
|
|
|
|
'option',
|
|
|
|
'option',
|
|
|
|
'select',
|
|
|
|
'select',
|
|
|
|
'textarea'
|
|
|
|
'textarea',
|
|
|
|
]
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
download: { appliesTo: ['a', 'area'] },
|
|
|
|
download: { appliesTo: ['a', 'area'] },
|
|
|
|
draggable: {},
|
|
|
|
draggable: {},
|
|
|
@ -97,13 +97,13 @@ const lookup = {
|
|
|
|
'output',
|
|
|
|
'output',
|
|
|
|
'progress',
|
|
|
|
'progress',
|
|
|
|
'select',
|
|
|
|
'select',
|
|
|
|
'textarea'
|
|
|
|
'textarea',
|
|
|
|
]
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
formaction: { appliesTo: ['input', 'button'] },
|
|
|
|
formaction: { appliesTo: ['input', 'button'] },
|
|
|
|
headers: { appliesTo: ['td', 'th'] },
|
|
|
|
headers: { appliesTo: ['td', 'th'] },
|
|
|
|
height: {
|
|
|
|
height: {
|
|
|
|
appliesTo: ['canvas', 'embed', 'iframe', 'img', 'input', 'object', 'video']
|
|
|
|
appliesTo: ['canvas', 'embed', 'iframe', 'img', 'input', 'object', 'video'],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
hidden: {},
|
|
|
|
hidden: {},
|
|
|
|
high: { appliesTo: ['meter'] },
|
|
|
|
high: { appliesTo: ['meter'] },
|
|
|
@ -143,8 +143,8 @@ const lookup = {
|
|
|
|
'textarea',
|
|
|
|
'textarea',
|
|
|
|
'map',
|
|
|
|
'map',
|
|
|
|
'meta',
|
|
|
|
'meta',
|
|
|
|
'param'
|
|
|
|
'param',
|
|
|
|
]
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
novalidate: { propertyName: 'noValidate', appliesTo: ['form'] },
|
|
|
|
novalidate: { propertyName: 'noValidate', appliesTo: ['form'] },
|
|
|
|
open: { appliesTo: ['details'] },
|
|
|
|
open: { appliesTo: ['details'] },
|
|
|
@ -181,8 +181,8 @@ const lookup = {
|
|
|
|
'script',
|
|
|
|
'script',
|
|
|
|
'source',
|
|
|
|
'source',
|
|
|
|
'track',
|
|
|
|
'track',
|
|
|
|
'video'
|
|
|
|
'video',
|
|
|
|
]
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
srcdoc: { appliesTo: ['iframe'] },
|
|
|
|
srcdoc: { appliesTo: ['iframe'] },
|
|
|
|
srclang: { appliesTo: ['track'] },
|
|
|
|
srclang: { appliesTo: ['track'] },
|
|
|
@ -204,8 +204,8 @@ const lookup = {
|
|
|
|
'script',
|
|
|
|
'script',
|
|
|
|
'source',
|
|
|
|
'source',
|
|
|
|
'style',
|
|
|
|
'style',
|
|
|
|
'menu'
|
|
|
|
'menu',
|
|
|
|
]
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
usemap: { propertyName: 'useMap', appliesTo: ['img', 'input', 'object'] },
|
|
|
|
usemap: { propertyName: 'useMap', appliesTo: ['img', 'input', 'object'] },
|
|
|
|
value: {
|
|
|
|
value: {
|
|
|
@ -218,13 +218,13 @@ const lookup = {
|
|
|
|
'progress',
|
|
|
|
'progress',
|
|
|
|
'param',
|
|
|
|
'param',
|
|
|
|
'select',
|
|
|
|
'select',
|
|
|
|
'textarea'
|
|
|
|
'textarea',
|
|
|
|
]
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
width: {
|
|
|
|
width: {
|
|
|
|
appliesTo: ['canvas', 'embed', 'iframe', 'img', 'input', 'object', 'video']
|
|
|
|
appliesTo: ['canvas', 'embed', 'iframe', 'img', 'input', 'object', 'video'],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
wrap: { appliesTo: ['textarea'] }
|
|
|
|
wrap: { appliesTo: ['textarea'] },
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
Object.keys(lookup).forEach(name => {
|
|
|
|
Object.keys(lookup).forEach(name => {
|
|
|
|