Skip to content

Commit

Permalink
feat(compiler-dom): treat inert as boolean attribute (#8209)
Browse files Browse the repository at this point in the history
close #8208
  • Loading branch information
userquin committed May 2, 2023
1 parent 4e2607a commit 918ec8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/shared/src/domAttrConfig.ts
Expand Up @@ -20,7 +20,7 @@ export const isSpecialBooleanAttr = /*#__PURE__*/ makeMap(specialBooleanAttrs)
export const isBooleanAttr = /*#__PURE__*/ makeMap(
specialBooleanAttrs +
`,async,autofocus,autoplay,controls,default,defer,disabled,hidden,` +
`loop,open,required,reversed,scoped,seamless,` +
`inert,loop,open,required,reversed,scoped,seamless,` +
`checked,muted,multiple,selected`
)

Expand Down Expand Up @@ -67,7 +67,7 @@ export const isKnownHtmlAttr = /*#__PURE__*/ makeMap(
`coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,` +
`disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,` +
`formaction,formenctype,formmethod,formnovalidate,formtarget,headers,` +
`height,hidden,high,href,hreflang,http-equiv,icon,id,importance,integrity,` +
`height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,` +
`ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,` +
`manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,` +
`open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,` +
Expand Down

0 comments on commit 918ec8a

Please sign in to comment.