1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:38:11 +00:00

LibWeb: Reorder and add missing HTML elements IDL items

This commit is contained in:
Bastiaan van der Plaat 2023-10-25 17:26:24 +02:00 committed by Andreas Kling
parent 54cdcd0d06
commit fc46def2f5
42 changed files with 220 additions and 48 deletions

View file

@ -6,22 +6,34 @@ interface HTMLImageElement : HTMLElement {
[HTMLConstructor] constructor();
[CEReactions, Reflect] attribute DOMString src;
[CEReactions, Reflect] attribute DOMString alt;
[CEReactions, Reflect] attribute DOMString src;
[CEReactions, Reflect] attribute DOMString srcset;
[CEReactions, Reflect] attribute DOMString sizes;
// FIXME: [CEReactions] attribute DOMString? crossOrigin;
[CEReactions, Reflect=usemap] attribute DOMString useMap;
[CEReactions, Reflect=ismap] attribute boolean isMap;
[CEReactions, Reflect] attribute DOMString name;
[CEReactions, Reflect] attribute DOMString align;
[CEReactions, LegacyNullToEmptyString, Reflect] attribute DOMString border;
[CEReactions] attribute unsigned long width;
[CEReactions] attribute unsigned long height;
readonly attribute unsigned long naturalWidth;
readonly attribute unsigned long naturalHeight;
readonly attribute boolean complete;
// FIXME: readonly attribute USVString currentSrc;
// FIXME: [CEReactions] attribute DOMString referrerPolicy;
// FIXME: [CEReactions] attribute DOMString decoding;
// FIXME: [CEReactions] attribute DOMString loading;
// FIXME: [CEReactions] attribute DOMString fetchPriority;
// FIXME: Promise<undefined> decode();
// Obsolete
[CEReactions, Reflect] attribute DOMString name;
// FIXME: [CEReactions] attribute USVString lowsrc;
[CEReactions, Reflect] attribute DOMString align;
// FIXME: [CEReactions] attribute unsigned long hspace;
// FIXME: [CEReactions] attribute unsigned long vspace;
// FIXME: [CEReactions] attribute USVString longDesc;
[CEReactions, LegacyNullToEmptyString, Reflect] attribute DOMString border;
};