HTMLImageElement: Improve decoding stub

Add an enum and warn when setting to sync/async.
This commit is contained in:
Johan Dahlin 2024-09-02 13:46:27 +02:00 committed by Andreas Kling
commit 977e77bd4a
Notes: github-actions[bot] 2024-09-04 07:56:27 +00:00
3 changed files with 40 additions and 1 deletions

View file

@ -22,7 +22,7 @@ interface HTMLImageElement : HTMLElement {
readonly attribute boolean complete;
readonly attribute USVString currentSrc;
[CEReactions, Reflect=referrerpolicy, Enumerated=ReferrerPolicy] attribute DOMString referrerPolicy;
[FIXME, CEReactions] attribute DOMString decoding;
[CEReactions] attribute DOMString decoding;
[CEReactions, Enumerated=LazyLoadingAttribute, Reflect] attribute DOMString loading;
[CEReactions, Enumerated=FetchPriorityAttribute, Reflect=fetchpriority] attribute DOMString fetchPriority;