|
|
|
|
@ -1,29 +1,29 @@
|
|
|
|
|
const _boolean_attributes = [
|
|
|
|
|
'allowfullscreen',
|
|
|
|
|
'allowpaymentrequest',
|
|
|
|
|
'async',
|
|
|
|
|
'autofocus',
|
|
|
|
|
'autoplay',
|
|
|
|
|
'checked',
|
|
|
|
|
'controls',
|
|
|
|
|
'default',
|
|
|
|
|
'defer',
|
|
|
|
|
'disabled',
|
|
|
|
|
'formnovalidate',
|
|
|
|
|
'hidden',
|
|
|
|
|
'inert',
|
|
|
|
|
'ismap',
|
|
|
|
|
'loop',
|
|
|
|
|
'multiple',
|
|
|
|
|
'muted',
|
|
|
|
|
'nomodule',
|
|
|
|
|
'novalidate',
|
|
|
|
|
'open',
|
|
|
|
|
'playsinline',
|
|
|
|
|
'readonly',
|
|
|
|
|
'required',
|
|
|
|
|
'reversed',
|
|
|
|
|
'selected'
|
|
|
|
|
'allowfullscreen',
|
|
|
|
|
'allowpaymentrequest',
|
|
|
|
|
'async',
|
|
|
|
|
'autofocus',
|
|
|
|
|
'autoplay',
|
|
|
|
|
'checked',
|
|
|
|
|
'controls',
|
|
|
|
|
'default',
|
|
|
|
|
'defer',
|
|
|
|
|
'disabled',
|
|
|
|
|
'formnovalidate',
|
|
|
|
|
'hidden',
|
|
|
|
|
'inert',
|
|
|
|
|
'ismap',
|
|
|
|
|
'loop',
|
|
|
|
|
'multiple',
|
|
|
|
|
'muted',
|
|
|
|
|
'nomodule',
|
|
|
|
|
'novalidate',
|
|
|
|
|
'open',
|
|
|
|
|
'playsinline',
|
|
|
|
|
'readonly',
|
|
|
|
|
'required',
|
|
|
|
|
'reversed',
|
|
|
|
|
'selected'
|
|
|
|
|
];
|
|
|
|
|
/**
|
|
|
|
|
* List of HTML boolean attributes (e.g. `<input disabled>`).
|
|
|
|
|
@ -32,6 +32,4 @@ const _boolean_attributes = [
|
|
|
|
|
*/
|
|
|
|
|
export const boolean_attributes = new Set([..._boolean_attributes]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** @typedef {Class<_boolean_attributes>} BooleanAttributes */
|
|
|
|
|
|
|
|
|
|
|