Skip to content

Commit

Permalink
Add missing attributes to video element.
Browse files Browse the repository at this point in the history
Closes #32.
  • Loading branch information
bodil committed Mar 16, 2019
1 parent 359a7a6 commit bf3f5a4
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion typed-html/src/elements.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bf3f5a4

Please sign in to comment.