Skip to content

Commit cb971b2

Browse files
authored
Merge branch 'microsoft:main' into 1032
2 parents 3d83efb + 4a6d7cb commit cb971b2

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
@@ -11501,8 +11501,12 @@ interface HTMLIFrameElement extends HTMLElement {
1150111501
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/height)
1150211502
*/
1150311503
height: string;
11504-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading) */
11505-
loading: string;
11504+
/**
11505+
* Sets or retrieves the policy for loading iframe elements that are outside the viewport.
11506+
*
11507+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading)
11508+
*/
11509+
loading: "eager" | "lazy";
1150611510
/**
1150711511
* Sets or retrieves a URI to a long description of the object.
1150811512
* @deprecated
@@ -29705,7 +29709,7 @@ type AnimationReplaceState = "active" | "persisted" | "removed";
2970529709
type AppendMode = "segments" | "sequence";
2970629710
type AttestationConveyancePreference = "direct" | "enterprise" | "indirect" | "none";
2970729711
type AudioContextLatencyCategory = "balanced" | "interactive" | "playback";
29708-
type AudioContextState = "closed" | "running" | "suspended";
29712+
type AudioContextState = "closed" | "interrupted" | "running" | "suspended";
2970929713
type AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar";
2971029714
type AuthenticatorAttachment = "cross-platform" | "platform";
2971129715
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
@@ -11488,8 +11488,12 @@ interface HTMLIFrameElement extends HTMLElement {
1148811488
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/height)
1148911489
*/
1149011490
height: string;
11491-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading) */
11492-
loading: string;
11491+
/**
11492+
* Sets or retrieves the policy for loading iframe elements that are outside the viewport.
11493+
*
11494+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading)
11495+
*/
11496+
loading: "eager" | "lazy";
1149311497
/**
1149411498
* Sets or retrieves a URI to a long description of the object.
1149511499
* @deprecated
@@ -29683,7 +29687,7 @@ type AnimationReplaceState = "active" | "persisted" | "removed";
2968329687
type AppendMode = "segments" | "sequence";
2968429688
type AttestationConveyancePreference = "direct" | "enterprise" | "indirect" | "none";
2968529689
type AudioContextLatencyCategory = "balanced" | "interactive" | "playback";
29686-
type AudioContextState = "closed" | "running" | "suspended";
29690+
type AudioContextState = "closed" | "interrupted" | "running" | "suspended";
2968729691
type AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar";
2968829692
type AuthenticatorAttachment = "cross-platform" | "platform";
2968929693
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)