diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 749287a6a..62585736c 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -11501,8 +11501,12 @@ interface HTMLIFrameElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/height) */ height: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading) */ - loading: string; + /** + * Sets or retrieves the policy for loading iframe elements that are outside the viewport. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading) + */ + loading: "eager" | "lazy"; /** * Sets or retrieves a URI to a long description of the object. * @deprecated diff --git a/baselines/ts5.5/dom.generated.d.ts b/baselines/ts5.5/dom.generated.d.ts index f7cd2658c..0cb781559 100644 --- a/baselines/ts5.5/dom.generated.d.ts +++ b/baselines/ts5.5/dom.generated.d.ts @@ -11488,8 +11488,12 @@ interface HTMLIFrameElement extends HTMLElement { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/height) */ height: string; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading) */ - loading: string; + /** + * Sets or retrieves the policy for loading iframe elements that are outside the viewport. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading) + */ + loading: "eager" | "lazy"; /** * Sets or retrieves a URI to a long description of the object. * @deprecated diff --git a/inputfiles/addedTypes.jsonc b/inputfiles/addedTypes.jsonc index 3c2041999..18f695f4f 100644 --- a/inputfiles/addedTypes.jsonc +++ b/inputfiles/addedTypes.jsonc @@ -927,6 +927,10 @@ "property": { "referrerPolicy": { "type": "ReferrerPolicy" + }, + "loading": { + "name": "loading", + "overrideType": "\"eager\" | \"lazy\"" } } } diff --git a/inputfiles/comments.json b/inputfiles/comments.json index 814a5f0ed..8386e9672 100644 --- a/inputfiles/comments.json +++ b/inputfiles/comments.json @@ -1015,6 +1015,9 @@ "contentDocument": { "comment": "Retrieves the document object of the page or frame." }, + "loading": { + "comment": "Sets or retrieves the policy for loading iframe elements that are outside the viewport." + }, "longDesc": { "comment": "Sets or retrieves a URI to a long description of the object." }