Add missing attributes to video element.

Closes #32.
This commit is contained in:
Bodil Stokke 2019-03-16 21:38:03 +00:00
parent 359a7a66ed
commit bf3f5a4e2a
1 changed files with 13 additions and 1 deletions

View File

@ -347,7 +347,19 @@ declare_elements!{
} in [FlowContent, PhrasingContent] with PhrasingContent;
ul in [FlowContent] with li;
var in [FlowContent, PhrasingContent] with PhrasingContent;
video in [FlowContent, PhrasingContent, EmbeddedContent] with MediaContent;
video {
autoplay: Bool,
controls: Bool,
crossorigin: CrossOrigin,
height: usize,
loop: Bool,
muted: Bool,
preload: Preload,
playsinline: Bool,
poster: Uri,
src: Uri,
width: usize,
} in [FlowContent, PhrasingContent, EmbeddedContent] with MediaContent;
wbr in [FlowContent, PhrasingContent];
// Non-group elements