diff options
author | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2018-09-21 12:58:03 +0200 |
---|---|---|
committer | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2018-10-08 16:12:03 +0200 |
commit | f4ba7e503bfa89805950e29cd9bd729e99264bda (patch) | |
tree | cfc3b48bd5ae10dd661255b006e5c24f7d9339dc /components/script/dom/htmlvideoelement.rs | |
parent | 6904535865c3d7edebfdfc5919bc9207013d4cf8 (diff) | |
download | servo-f4ba7e503bfa89805950e29cd9bd729e99264bda.tar.gz servo-f4ba7e503bfa89805950e29cd9bd729e99264bda.zip |
Media element duration param
Diffstat (limited to 'components/script/dom/htmlvideoelement.rs')
-rw-r--r-- | components/script/dom/htmlvideoelement.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/htmlvideoelement.rs b/components/script/dom/htmlvideoelement.rs index 5ce8d941b61..142887a855e 100644 --- a/components/script/dom/htmlvideoelement.rs +++ b/components/script/dom/htmlvideoelement.rs @@ -15,7 +15,9 @@ use std::cell::Cell; #[dom_struct] pub struct HTMLVideoElement { htmlmediaelement: HTMLMediaElement, + /// https://html.spec.whatwg.org/multipage/media.html#dom-video-videowidth video_width: Cell<u32>, + /// https://html.spec.whatwg.org/multipage/media.html#dom-video-videoheight video_height: Cell<u32>, } |