aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlvideoelement.rs
diff options
context:
space:
mode:
authorFernando Jiménez Moreno <ferjmoreno@gmail.com>2018-09-21 12:58:03 +0200
committerFernando Jiménez Moreno <ferjmoreno@gmail.com>2018-10-08 16:12:03 +0200
commitf4ba7e503bfa89805950e29cd9bd729e99264bda (patch)
treecfc3b48bd5ae10dd661255b006e5c24f7d9339dc /components/script/dom/htmlvideoelement.rs
parent6904535865c3d7edebfdfc5919bc9207013d4cf8 (diff)
downloadservo-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.rs2
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>,
}