
NewAKString is effectively the default for any new IDL interface, so let's mark this as the default behavior. It also makes it much easier to figure out whatever interfaces are still left to port over to new AK String.
17 lines
646 B
Text
17 lines
646 B
Text
#import <HTML/HTMLElement.idl>
|
|
|
|
// https://html.spec.whatwg.org/multipage/embedded-content.html#htmlsourceelement
|
|
[Exposed=Window, UseDeprecatedAKString]
|
|
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;
|
|
// FIXME: [CEReactions, Reflect] attribute unsigned long width;
|
|
// FIXME: [CEReactions, Reflect] attribute unsigned long height;
|
|
|
|
};
|