LibWeb: Add IDL enum for lazy loading attribute

This commit is contained in:
Jamie Mansfield 2024-05-26 18:58:02 +01:00 committed by Andreas Kling
parent f989ebe180
commit c484625631
Notes: sideshowbarker 2024-07-17 10:08:28 +09:00

View file

@ -4,3 +4,10 @@ enum CORSSettingsAttribute {
"anonymous",
"use-credentials"
};
// https://html.spec.whatwg.org/multipage/urls-and-fetching.html#lazy-loading-attribute
[MissingValueDefault=eager, InvalidValueDefault=eager]
enum LazyLoadingAttribute {
"lazy",
"eager"
};