mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Media element duration param
This commit is contained in:
parent
6904535865
commit
f4ba7e503b
4 changed files with 30 additions and 10 deletions
|
@ -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>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue