Files
serenity/Userland/Libraries/LibWeb/HTML/HTMLSourceElement.idl
Tim Ledbetter df8eec7786 LibWeb: Change attribute type to USVString where applicable
Also mark USVString attributes as containing a URL, where applicable.

(cherry picked from commit 1369fc5069598644842defabbfbf3d30d2f3e647)
2024-10-17 21:31:52 -04:00

18 lines
608 B
Plaintext

#import <HTML/HTMLElement.idl>
// https://html.spec.whatwg.org/multipage/embedded-content.html#htmlsourceelement
[Exposed=Window]
interface HTMLSourceElement : HTMLElement {
[HTMLConstructor] constructor();
[CEReactions, Reflect, URL] attribute USVString src;
[CEReactions, Reflect] attribute DOMString type;
[CEReactions, Reflect] attribute USVString srcset;
[CEReactions, Reflect] attribute DOMString sizes;
[CEReactions, Reflect] attribute DOMString media;
[CEReactions, Reflect] attribute unsigned long width;
[CEReactions, Reflect] attribute unsigned long height;
};