From f4ba7e503bfa89805950e29cd9bd729e99264bda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Jim=C3=A9nez=20Moreno?= Date: Fri, 21 Sep 2018 12:58:03 +0200 Subject: Media element duration param --- components/script/dom/htmlvideoelement.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'components/script/dom/htmlvideoelement.rs') 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, + /// https://html.spec.whatwg.org/multipage/media.html#dom-video-videoheight video_height: Cell, } -- cgit v1.2.3