@webref/idl 3.75.2 → 3.76.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/SVG.idl CHANGED
@@ -13,7 +13,6 @@ interface SVGElement : Element {
13
13
  };
14
14
 
15
15
  SVGElement includes GlobalEventHandlers;
16
- SVGElement includes SVGElementInstance;
17
16
  SVGElement includes HTMLOrSVGElement;
18
17
 
19
18
  dictionary SVGBoundingBoxOptions {
@@ -309,11 +308,6 @@ SVGUseElement includes SVGURIReference;
309
308
  interface SVGUseElementShadowRoot : ShadowRoot {
310
309
  };
311
310
 
312
- interface mixin SVGElementInstance {
313
- [SameObject] readonly attribute SVGElement? correspondingElement;
314
- [SameObject] readonly attribute SVGUseElement? correspondingUseElement;
315
- };
316
-
317
311
  [Exposed=Window]
318
312
  interface ShadowAnimation : Animation {
319
313
  constructor(Animation source, (Element or CSSPseudoElement) newTarget);
@@ -3,6 +3,15 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: CSS Animations Module Level 2 (https://drafts.csswg.org/css-animations-2/)
5
5
 
6
+ [Exposed=Window]
7
+ partial interface AnimationEvent {
8
+ readonly attribute CSSAnimation? animation;
9
+ };
10
+
11
+ partial dictionary AnimationEventInit {
12
+ CSSAnimation? animation = null;
13
+ };
14
+
6
15
  [Exposed=Window]
7
16
  interface CSSAnimation : Animation {
8
17
  readonly attribute CSSOMString animationName;
@@ -0,0 +1,8 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: CSS Box Sizing Module Level 4 (https://drafts.csswg.org/css-sizing-4/)
5
+
6
+ partial interface Window {
7
+ undefined requestResize();
8
+ };
@@ -7,6 +7,15 @@
7
7
  interface CSSStartingStyleRule : CSSGroupingRule {
8
8
  };
9
9
 
10
+ [Exposed=Window]
11
+ partial interface TransitionEvent {
12
+ readonly attribute CSSTransition? animation;
13
+ };
14
+
15
+ partial dictionary TransitionEventInit {
16
+ CSSTransition? animation = null;
17
+ };
18
+
10
19
  [Exposed=Window]
11
20
  interface CSSTransition : Animation {
12
21
  readonly attribute CSSOMString transitionProperty;
package/html.idl CHANGED
@@ -447,6 +447,7 @@ interface HTMLImageElement : HTMLElement {
447
447
  [CEReactions] attribute DOMString? crossOrigin;
448
448
  [CEReactions, Reflect] attribute DOMString useMap;
449
449
  [CEReactions, Reflect] attribute boolean isMap;
450
+ [CEReactions, Reflect] attribute boolean controls;
450
451
  [CEReactions, ReflectSetter] attribute unsigned long width;
451
452
  [CEReactions, ReflectSetter] attribute unsigned long height;
452
453
  readonly attribute unsigned long naturalWidth;
@@ -1275,6 +1276,7 @@ interface HTMLTemplateElement : HTMLElement {
1275
1276
  readonly attribute DocumentFragment content;
1276
1277
  [CEReactions] attribute DOMString shadowRootMode;
1277
1278
  [CEReactions, Reflect] attribute boolean shadowRootDelegatesFocus;
1279
+ [CEReactions] attribute DOMString shadowRootSlotAssignment;
1278
1280
  [CEReactions, Reflect] attribute boolean shadowRootClonable;
1279
1281
  [CEReactions, Reflect] attribute boolean shadowRootSerializable;
1280
1282
  [CEReactions, Reflect] attribute DOMString shadowRootCustomElementRegistry;
@@ -12,6 +12,8 @@ interface MediaStreamTrackHandle {
12
12
  interface MediaStreamTrackProcessor {
13
13
  constructor(MediaStreamTrackProcessorInit init);
14
14
  readonly attribute ReadableStream readable;
15
+ readonly attribute unsigned long long discardedFrames;
16
+ readonly attribute unsigned long long totalFrames;
15
17
  };
16
18
 
17
19
  typedef (MediaStreamTrack or MediaStreamTrackHandle) MediaStreamTrackOrHandle;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/idl",
3
3
  "description": "Web IDL definitions of the web platform",
4
- "version": "3.75.2",
4
+ "version": "3.76.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/sanitizer-api.idl CHANGED
@@ -22,6 +22,8 @@ interface Sanitizer {
22
22
  boolean allowElement(SanitizerElementWithAttributes element);
23
23
  boolean removeElement(SanitizerElement element);
24
24
  boolean replaceElementWithChildren(SanitizerElement element);
25
+ boolean allowProcessingInstruction(SanitizerPI pi);
26
+ boolean removeProcessingInstruction(SanitizerPI pi);
25
27
  boolean allowAttribute(SanitizerAttribute attribute);
26
28
  boolean removeAttribute(SanitizerAttribute attribute);
27
29
  boolean setComments(boolean allow);
@@ -45,6 +47,12 @@ dictionary SanitizerElementNamespaceWithAttributes : SanitizerElementNamespace {
45
47
  typedef (DOMString or SanitizerElementNamespace) SanitizerElement;
46
48
  typedef (DOMString or SanitizerElementNamespaceWithAttributes) SanitizerElementWithAttributes;
47
49
 
50
+ dictionary SanitizerProcessingInstruction {
51
+ required DOMString target;
52
+ };
53
+
54
+ typedef (DOMString or SanitizerProcessingInstruction) SanitizerPI;
55
+
48
56
  dictionary SanitizerAttributeNamespace {
49
57
  required DOMString name;
50
58
  DOMString? _namespace = null;
@@ -56,6 +64,9 @@ dictionary SanitizerConfig {
56
64
  sequence<SanitizerElement> removeElements;
57
65
  sequence<SanitizerElement> replaceWithChildrenElements;
58
66
 
67
+ sequence<SanitizerPI> processingInstructions;
68
+ sequence<SanitizerPI> removeProcessingInstructions;
69
+
59
70
  sequence<SanitizerAttribute> attributes;
60
71
  sequence<SanitizerAttribute> removeAttributes;
61
72
 
package/streams.idl CHANGED
@@ -114,7 +114,7 @@ interface ReadableByteStreamController {
114
114
 
115
115
  [Exposed=*]
116
116
  interface ReadableStreamBYOBRequest {
117
- readonly attribute ArrayBufferView? view;
117
+ readonly attribute Uint8Array? view;
118
118
 
119
119
  undefined respond([EnforceRange] unsigned long long bytesWritten);
120
120
  undefined respondWithNewView(ArrayBufferView view);
package/webmcp.idl CHANGED
@@ -14,6 +14,9 @@ interface ModelContext {
14
14
 
15
15
  dictionary ModelContextTool {
16
16
  required DOMString name;
17
+ // Because `title` is for display in possibly native UIs, this must be a `USVString`.
18
+ // See https://w3ctag.github.io/design-principles/#idl-string-types.
19
+ USVString title;
17
20
  required DOMString description;
18
21
  object inputSchema;
19
22
  required ToolExecuteCallback execute;
@@ -22,6 +25,7 @@ dictionary ModelContextTool {
22
25
 
23
26
  dictionary ToolAnnotations {
24
27
  boolean readOnlyHint = false;
28
+ boolean untrustedContentHint = false;
25
29
  };
26
30
 
27
31
  callback ToolExecuteCallback = Promise<any> (object input, ModelContextClient client);
@@ -15,13 +15,16 @@ partial interface RTCRtpReceiver {
15
15
  attribute RTCRtpReceiverTransform? transform;
16
16
  };
17
17
 
18
- // List of supported cipher suites, as defined in [[RFC9605]] section 4.5.
18
+ // List of supported cipher suites, as defined in [[RFC9605]] section 4.5 and in https://datatracker.ietf.org/doc/draft-barnes-sframe-iana-256/.
19
19
  enum SFrameCipherSuite {
20
20
  "AES_128_CTR_HMAC_SHA256_80",
21
21
  "AES_128_CTR_HMAC_SHA256_64",
22
22
  "AES_128_CTR_HMAC_SHA256_32",
23
23
  "AES_128_GCM_SHA256_128",
24
- "AES_256_GCM_SHA512_128"
24
+ "AES_256_GCM_SHA512_128",
25
+ "AES_256_CTR_HMAC_SHA512_80",
26
+ "AES_256_CTR_HMAC_SHA512_64",
27
+ "AES_256_CTR_HMAC_SHA512_32"
25
28
  };
26
29
 
27
30
  dictionary SFrameTransformOptions {
@@ -52,26 +55,26 @@ interface mixin SFrameDecrypterManager {
52
55
 
53
56
  [Exposed=Window]
54
57
  interface RTCSFrameSenderTransform {
55
- constructor(optional RTCSFrameSenderTransformOptions options = {});
58
+ constructor(RTCSFrameSenderTransformOptions options);
56
59
  };
57
60
  RTCSFrameSenderTransform includes SFrameEncrypterManager;
58
61
 
59
62
  [Exposed=Window]
60
63
  interface RTCSFrameReceiverTransform : EventTarget {
61
- constructor(optional SFrameTransformOptions options = {});
64
+ constructor(SFrameTransformOptions options);
62
65
  };
63
66
  RTCSFrameReceiverTransform includes SFrameDecrypterManager;
64
67
 
65
68
  [Exposed=(Window,DedicatedWorker)]
66
69
  interface SFrameEncrypterStream : EventTarget {
67
- constructor(optional SFrameTransformOptions options = {});
70
+ constructor(SFrameTransformOptions options);
68
71
  };
69
72
  SFrameEncrypterStream includes GenericTransformStream;
70
73
  SFrameEncrypterStream includes SFrameEncrypterManager;
71
74
 
72
75
  [Exposed=(Window,DedicatedWorker)]
73
76
  interface SFrameDecrypterStream : EventTarget {
74
- constructor(optional SFrameTransformOptions options = {});
77
+ constructor(SFrameTransformOptions options);
75
78
  };
76
79
  SFrameDecrypterStream includes GenericTransformStream;
77
80
  SFrameDecrypterStream includes SFrameDecrypterManager;
@@ -21,6 +21,7 @@ interface Summarizer {
21
21
  readonly attribute SummarizerType type;
22
22
  readonly attribute SummarizerFormat format;
23
23
  readonly attribute SummarizerLength length;
24
+ // **EXPERIMENTAL**: Only available in extension and experimental contexts.
24
25
  readonly attribute PerformancePreference preference;
25
26
 
26
27
  readonly attribute FrozenArray<DOMString>? expectedInputLanguages;
@@ -39,6 +40,7 @@ dictionary SummarizerCreateCoreOptions {
39
40
  SummarizerType type = "key-points";
40
41
  SummarizerFormat format = "markdown";
41
42
  SummarizerLength length = "short";
43
+ // **EXPERIMENTAL**: Only available in extension and experimental contexts.
42
44
  PerformancePreference preference = "auto";
43
45
 
44
46
  sequence<DOMString> expectedInputLanguages;