mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 01:56:38 +00:00
LibWeb: Implement HTMLImageElement.loading
Removes some console noise while loading mmu.ac.uk :)
This commit is contained in:
parent
c484625631
commit
9ee061ea14
Notes:
sideshowbarker
2024-07-17 00:23:42 +09:00
Author: https://github.com/jamierocks
Commit: 9ee061ea14
Pull-request: https://github.com/SerenityOS/serenity/pull/24425
Reviewed-by: https://github.com/tcl3
3 changed files with 25 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
#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)]
|
||||
|
@ -21,7 +22,7 @@ interface HTMLImageElement : HTMLElement {
|
|||
[FIXME] readonly attribute USVString currentSrc;
|
||||
[FIXME, CEReactions] attribute DOMString referrerPolicy;
|
||||
[FIXME, CEReactions] attribute DOMString decoding;
|
||||
[FIXME, CEReactions] attribute DOMString loading;
|
||||
[CEReactions, Enumerated=LazyLoadingAttribute, Reflect] attribute DOMString loading;
|
||||
[FIXME, CEReactions] attribute DOMString fetchPriority;
|
||||
|
||||
[FIXME] Promise<undefined> decode();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue