mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
Everywhere: Hoist the Libraries folder to the top-level
This commit is contained in:
parent
950e819ee7
commit
93712b24bf
Notes:
github-actions[bot]
2024-11-10 11:51:52 +00:00
Author: https://github.com/trflynn89
Commit: 93712b24bf
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2256
Reviewed-by: https://github.com/sideshowbarker
4547 changed files with 104 additions and 113 deletions
45
Libraries/LibWeb/HTML/HTMLImageElement.idl
Normal file
45
Libraries/LibWeb/HTML/HTMLImageElement.idl
Normal file
|
@ -0,0 +1,45 @@
|
|||
#import <Fetch/Request.idl>
|
||||
#import <HTML/HTMLElement.idl>
|
||||
#import <HTML/Scripting/Fetching.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/embedded-content.html#htmlimageelement
|
||||
[Exposed=Window, LegacyFactoryFunction=Image(optional unsigned long width, optional unsigned long height)]
|
||||
interface HTMLImageElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
||||
[CEReactions, Reflect] attribute DOMString alt;
|
||||
[CEReactions, Reflect, URL] attribute USVString src;
|
||||
[CEReactions, Reflect] attribute DOMString srcset;
|
||||
[CEReactions, Reflect] attribute DOMString sizes;
|
||||
[CEReactions, Enumerated=CORSSettingsAttribute, Reflect=crossorigin] attribute DOMString? crossOrigin;
|
||||
[CEReactions, Reflect=usemap] attribute DOMString useMap;
|
||||
[CEReactions, Reflect=ismap] attribute boolean isMap;
|
||||
[CEReactions] attribute unsigned long width;
|
||||
[CEReactions] attribute unsigned long height;
|
||||
readonly attribute unsigned long naturalWidth;
|
||||
readonly attribute unsigned long naturalHeight;
|
||||
readonly attribute boolean complete;
|
||||
readonly attribute USVString currentSrc;
|
||||
[CEReactions, Reflect=referrerpolicy, Enumerated=ReferrerPolicy] attribute DOMString referrerPolicy;
|
||||
[CEReactions] attribute DOMString decoding;
|
||||
[CEReactions, Enumerated=LazyLoadingAttribute, Reflect] attribute DOMString loading;
|
||||
[CEReactions, Enumerated=FetchPriorityAttribute, Reflect=fetchpriority] attribute DOMString fetchPriority;
|
||||
|
||||
Promise<undefined> decode();
|
||||
|
||||
// Obsolete
|
||||
[CEReactions, Reflect] attribute DOMString name;
|
||||
[CEReactions, Reflect, URL] attribute USVString lowsrc;
|
||||
[CEReactions, Reflect] attribute DOMString align;
|
||||
[CEReactions, Reflect] attribute unsigned long hspace;
|
||||
[CEReactions, Reflect] attribute unsigned long vspace;
|
||||
[CEReactions, Reflect=longdesc, URL] attribute USVString longDesc;
|
||||
|
||||
[CEReactions, LegacyNullToEmptyString, Reflect] attribute DOMString border;
|
||||
|
||||
// https://drafts.csswg.org/cssom-view/#extensions-to-the-htmlimageelement-interface
|
||||
[FIXME] readonly attribute long x;
|
||||
[FIXME] readonly attribute long y;
|
||||
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue