Skip to content

Commit 79e2468

Browse files
committed
chore(runtime): correctly render the embed attribute allowfullscreen
vuejs#6202
1 parent c628103 commit 79e2468

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/platforms/web/util/attrs.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ export const mustUseProp = (tag: string, type: ?string, attr: string): boolean =
1717
)
1818
}
1919

20-
export const isEnumeratedAttr = makeMap('contenteditable,draggable,spellcheck')
20+
export const isEnumeratedAttr = makeMap(
21+
'allowfullscreen,contenteditable,draggable,spellcheck'
22+
)
2123

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

0 commit comments

Comments
 (0)