Skip to content

Commit f86ca91

Browse files
committed
Add loading attribute for HTMLIframeElement
1 parent 897695c commit f86ca91

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

baselines/dom.generated.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -6602,6 +6602,8 @@ interface HTMLIFrameElement extends HTMLElement {
66026602
frameBorder: string;
66036603
/** Sets or retrieves the height of the object. */
66046604
height: string;
6605+
/** Sets or retrieves the policy for loading iframe elements that are outside the viewport. */
6606+
loading: "eager" | "lazy";
66056607
/**
66066608
* Sets or retrieves a URI to a long description of the object.
66076609
* @deprecated

inputfiles/addedTypes.jsonc

+5-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@
309309
"hue",
310310
"saturation",
311311
"color",
312-
"luminosity"
312+
"luminosity"
313313
]
314314
}
315315
}
@@ -729,6 +729,10 @@
729729
"property": {
730730
"referrerPolicy": {
731731
"type": "ReferrerPolicy"
732+
},
733+
"loading": {
734+
"name": "loading",
735+
"overrideType": "\"eager\" | \"lazy\""
732736
}
733737
}
734738
}

inputfiles/comments.json

+3
Original file line numberDiff line numberDiff line change
@@ -1012,6 +1012,9 @@
10121012
"contentDocument": {
10131013
"comment": "Retrieves the document object of the page or frame."
10141014
},
1015+
"loading": {
1016+
"comment": "Sets or retrieves the policy for loading iframe elements that are outside the viewport."
1017+
},
10151018
"longDesc": {
10161019
"comment": "Sets or retrieves a URI to a long description of the object."
10171020
}

0 commit comments

Comments
 (0)