Skip to content

Commit

Permalink
chore(runtime): correctly render the embed attribute allowfullscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
gebilaoxiong committed Jul 25, 2017
1 parent c628103 commit 79e2468
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/platforms/web/util/attrs.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ export const mustUseProp = (tag: string, type: ?string, attr: string): boolean =
)
}

export const isEnumeratedAttr = makeMap('contenteditable,draggable,spellcheck')
export const isEnumeratedAttr = makeMap(
'allowfullscreen,contenteditable,draggable,spellcheck'
)

export const isBooleanAttr = makeMap(
'allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,' +
'async,autofocus,autoplay,checked,compact,controls,declare,' +
'default,defaultchecked,defaultmuted,defaultselected,defer,disabled,' +
'enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,' +
'muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,' +
Expand Down

0 comments on commit 79e2468

Please sign in to comment.