
This change adds the `width` and `height` properties to `HTMLVideoElement` and `HTMLSourceElement`. These properties reflect their respective content attribute values.
17 lines
603 B
Text
17 lines
603 B
Text
#import <HTML/HTMLElement.idl>
|
|
|
|
// https://html.spec.whatwg.org/multipage/embedded-content.html#htmlsourceelement
|
|
[Exposed=Window]
|
|
interface HTMLSourceElement : HTMLElement {
|
|
|
|
[HTMLConstructor] constructor();
|
|
|
|
[CEReactions, Reflect] attribute DOMString src;
|
|
[CEReactions, Reflect] attribute DOMString type;
|
|
[CEReactions, Reflect] attribute DOMString srcset;
|
|
[CEReactions, Reflect] attribute DOMString sizes;
|
|
[CEReactions, Reflect] attribute DOMString media;
|
|
[CEReactions, Reflect] attribute unsigned long width;
|
|
[CEReactions, Reflect] attribute unsigned long height;
|
|
|
|
};
|