Skip to content

Commit b3cf7d6

Browse files
authored
Merge branch 'microsoft:main' into 1937
2 parents 8868c1d + 4a6d7cb commit b3cf7d6

File tree

6 files changed

+30
-16
lines changed

6 files changed

+30
-16
lines changed

baselines/dom.generated.d.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11911,8 +11911,12 @@ interface HTMLIFrameElement extends HTMLElement {
1191111911
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/height)
1191211912
*/
1191311913
height: string;
11914-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading) */
11915-
loading: string;
11914+
/**
11915+
* Sets or retrieves the policy for loading iframe elements that are outside the viewport.
11916+
*
11917+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading)
11918+
*/
11919+
loading: "eager" | "lazy";
1191611920
/**
1191711921
* Sets or retrieves a URI to a long description of the object.
1191811922
* @deprecated
@@ -30664,7 +30668,7 @@ type AnimationReplaceState = "active" | "persisted" | "removed";
3066430668
type AppendMode = "segments" | "sequence";
3066530669
type AttestationConveyancePreference = "direct" | "enterprise" | "indirect" | "none";
3066630670
type AudioContextLatencyCategory = "balanced" | "interactive" | "playback";
30667-
type AudioContextState = "closed" | "running" | "suspended";
30671+
type AudioContextState = "closed" | "interrupted" | "running" | "suspended";
3066830672
type AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar";
3066930673
type AuthenticatorAttachment = "cross-platform" | "platform";
3067030674
type AuthenticatorTransport = "ble" | "hybrid" | "internal" | "nfc" | "usb";

baselines/ts5.5/dom.generated.d.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11898,8 +11898,12 @@ interface HTMLIFrameElement extends HTMLElement {
1189811898
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/height)
1189911899
*/
1190011900
height: string;
11901-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading) */
11902-
loading: string;
11901+
/**
11902+
* Sets or retrieves the policy for loading iframe elements that are outside the viewport.
11903+
*
11904+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading)
11905+
*/
11906+
loading: "eager" | "lazy";
1190311907
/**
1190411908
* Sets or retrieves a URI to a long description of the object.
1190511909
* @deprecated
@@ -30642,7 +30646,7 @@ type AnimationReplaceState = "active" | "persisted" | "removed";
3064230646
type AppendMode = "segments" | "sequence";
3064330647
type AttestationConveyancePreference = "direct" | "enterprise" | "indirect" | "none";
3064430648
type AudioContextLatencyCategory = "balanced" | "interactive" | "playback";
30645-
type AudioContextState = "closed" | "running" | "suspended";
30649+
type AudioContextState = "closed" | "interrupted" | "running" | "suspended";
3064630650
type AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar";
3064730651
type AuthenticatorAttachment = "cross-platform" | "platform";
3064830652
type AuthenticatorTransport = "ble" | "hybrid" | "internal" | "nfc" | "usb";

inputfiles/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
Some files in this directory are generated. Please do not edit them.
44
This specifically includes:
55

6-
* `browser.webidl.preprocessed.json`
76
* `idl/*`
87
* `mdn/*`
98

inputfiles/addedTypes.jsonc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -927,6 +927,10 @@
927927
"property": {
928928
"referrerPolicy": {
929929
"type": "ReferrerPolicy"
930+
},
931+
"loading": {
932+
"name": "loading",
933+
"overrideType": "\"eager\" | \"lazy\""
930934
}
931935
}
932936
}

inputfiles/comments.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,6 +1015,9 @@
10151015
"contentDocument": {
10161016
"comment": "Retrieves the document object of the page or frame."
10171017
},
1018+
"loading": {
1019+
"comment": "Sets or retrieves the policy for loading iframe elements that are outside the viewport."
1020+
},
10181021
"longDesc": {
10191022
"comment": "Sets or retrieves a URI to a long description of the object."
10201023
}

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)