@types/web 0.0.306 → 0.0.308

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/README.md CHANGED
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
47
47
 
48
48
  ## Deploy Metadata
49
49
 
50
- You can read what changed in version 0.0.306 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.306.
50
+ You can read what changed in version 0.0.308 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.308.
package/index.d.ts CHANGED
@@ -978,6 +978,8 @@ interface Keyframe {
978
978
 
979
979
  interface KeyframeAnimationOptions extends KeyframeEffectOptions {
980
980
  id?: string;
981
+ rangeEnd?: TimelineRangeOffset | CSSNumericValue | CSSKeywordValue | string;
982
+ rangeStart?: TimelineRangeOffset | CSSNumericValue | CSSKeywordValue | string;
981
983
  timeline?: AnimationTimeline | null;
982
984
  }
983
985
 
@@ -1559,6 +1561,7 @@ interface PointerLockOptions {
1559
1561
  }
1560
1562
 
1561
1563
  interface PopStateEventInit extends EventInit {
1564
+ hasUAVisualTransition?: boolean;
1562
1565
  state?: any;
1563
1566
  }
1564
1567
 
@@ -2377,6 +2380,11 @@ interface TextEncoderEncodeIntoResult {
2377
2380
  written: number;
2378
2381
  }
2379
2382
 
2383
+ interface TimelineRangeOffset {
2384
+ offset?: CSSNumericValue;
2385
+ rangeName?: string | null;
2386
+ }
2387
+
2380
2388
  interface ToggleEventInit extends EventInit {
2381
2389
  newState?: string;
2382
2390
  oldState?: string;
@@ -2664,6 +2672,7 @@ interface WebGLContextAttributes {
2664
2672
  premultipliedAlpha?: boolean;
2665
2673
  preserveDrawingBuffer?: boolean;
2666
2674
  stencil?: boolean;
2675
+ xrCompatible?: boolean;
2667
2676
  }
2668
2677
 
2669
2678
  interface WebGLContextEventInit extends EventInit {
@@ -5888,6 +5897,7 @@ interface CSSRule {
5888
5897
  readonly MEDIA_RULE: 4;
5889
5898
  readonly FONT_FACE_RULE: 5;
5890
5899
  readonly PAGE_RULE: 6;
5900
+ readonly MARGIN_RULE: 9;
5891
5901
  readonly NAMESPACE_RULE: 10;
5892
5902
  readonly KEYFRAMES_RULE: 7;
5893
5903
  readonly KEYFRAME_RULE: 8;
@@ -5905,6 +5915,7 @@ declare var CSSRule: {
5905
5915
  readonly MEDIA_RULE: 4;
5906
5916
  readonly FONT_FACE_RULE: 5;
5907
5917
  readonly PAGE_RULE: 6;
5918
+ readonly MARGIN_RULE: 9;
5908
5919
  readonly NAMESPACE_RULE: 10;
5909
5920
  readonly KEYFRAMES_RULE: 7;
5910
5921
  readonly KEYFRAME_RULE: 8;
@@ -28363,7 +28374,7 @@ interface Range extends AbstractRange {
28363
28374
  */
28364
28375
  comparePoint(node: Node, offset: number): number;
28365
28376
  /**
28366
- * The **`Range.createContextualFragment()`** method returns a DocumentFragment by invoking the HTML fragment parsing algorithm or the XML fragment parsing algorithm with the start of the range (the parent of the selected node) as the context node. The HTML fragment parsing algorithm is used if the range belongs to a Document whose HTMLness bit is set. In the HTML case, if the context node would be html, for historical reasons the fragment parsing algorithm is invoked with body as the context instead.
28377
+ * The **`Range.createContextualFragment()`** method of the Range interface returns a DocumentFragment representing the parsed input HTML or XML.
28367
28378
  *
28368
28379
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/createContextualFragment)
28369
28380
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.306",
3
+ "version": "0.0.308",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -975,6 +975,8 @@ interface Keyframe {
975
975
 
976
976
  interface KeyframeAnimationOptions extends KeyframeEffectOptions {
977
977
  id?: string;
978
+ rangeEnd?: TimelineRangeOffset | CSSNumericValue | CSSKeywordValue | string;
979
+ rangeStart?: TimelineRangeOffset | CSSNumericValue | CSSKeywordValue | string;
978
980
  timeline?: AnimationTimeline | null;
979
981
  }
980
982
 
@@ -1556,6 +1558,7 @@ interface PointerLockOptions {
1556
1558
  }
1557
1559
 
1558
1560
  interface PopStateEventInit extends EventInit {
1561
+ hasUAVisualTransition?: boolean;
1559
1562
  state?: any;
1560
1563
  }
1561
1564
 
@@ -2374,6 +2377,11 @@ interface TextEncoderEncodeIntoResult {
2374
2377
  written: number;
2375
2378
  }
2376
2379
 
2380
+ interface TimelineRangeOffset {
2381
+ offset?: CSSNumericValue;
2382
+ rangeName?: string | null;
2383
+ }
2384
+
2377
2385
  interface ToggleEventInit extends EventInit {
2378
2386
  newState?: string;
2379
2387
  oldState?: string;
@@ -2661,6 +2669,7 @@ interface WebGLContextAttributes {
2661
2669
  premultipliedAlpha?: boolean;
2662
2670
  preserveDrawingBuffer?: boolean;
2663
2671
  stencil?: boolean;
2672
+ xrCompatible?: boolean;
2664
2673
  }
2665
2674
 
2666
2675
  interface WebGLContextEventInit extends EventInit {
@@ -5878,6 +5887,7 @@ interface CSSRule {
5878
5887
  readonly MEDIA_RULE: 4;
5879
5888
  readonly FONT_FACE_RULE: 5;
5880
5889
  readonly PAGE_RULE: 6;
5890
+ readonly MARGIN_RULE: 9;
5881
5891
  readonly NAMESPACE_RULE: 10;
5882
5892
  readonly KEYFRAMES_RULE: 7;
5883
5893
  readonly KEYFRAME_RULE: 8;
@@ -5895,6 +5905,7 @@ declare var CSSRule: {
5895
5905
  readonly MEDIA_RULE: 4;
5896
5906
  readonly FONT_FACE_RULE: 5;
5897
5907
  readonly PAGE_RULE: 6;
5908
+ readonly MARGIN_RULE: 9;
5898
5909
  readonly NAMESPACE_RULE: 10;
5899
5910
  readonly KEYFRAMES_RULE: 7;
5900
5911
  readonly KEYFRAME_RULE: 8;
@@ -28339,7 +28350,7 @@ interface Range extends AbstractRange {
28339
28350
  */
28340
28351
  comparePoint(node: Node, offset: number): number;
28341
28352
  /**
28342
- * The **`Range.createContextualFragment()`** method returns a DocumentFragment by invoking the HTML fragment parsing algorithm or the XML fragment parsing algorithm with the start of the range (the parent of the selected node) as the context node. The HTML fragment parsing algorithm is used if the range belongs to a Document whose HTMLness bit is set. In the HTML case, if the context node would be html, for historical reasons the fragment parsing algorithm is invoked with body as the context instead.
28353
+ * The **`Range.createContextualFragment()`** method of the Range interface returns a DocumentFragment representing the parsed input HTML or XML.
28343
28354
  *
28344
28355
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/createContextualFragment)
28345
28356
  */
package/ts5.6/index.d.ts CHANGED
@@ -975,6 +975,8 @@ interface Keyframe {
975
975
 
976
976
  interface KeyframeAnimationOptions extends KeyframeEffectOptions {
977
977
  id?: string;
978
+ rangeEnd?: TimelineRangeOffset | CSSNumericValue | CSSKeywordValue | string;
979
+ rangeStart?: TimelineRangeOffset | CSSNumericValue | CSSKeywordValue | string;
978
980
  timeline?: AnimationTimeline | null;
979
981
  }
980
982
 
@@ -1556,6 +1558,7 @@ interface PointerLockOptions {
1556
1558
  }
1557
1559
 
1558
1560
  interface PopStateEventInit extends EventInit {
1561
+ hasUAVisualTransition?: boolean;
1559
1562
  state?: any;
1560
1563
  }
1561
1564
 
@@ -2374,6 +2377,11 @@ interface TextEncoderEncodeIntoResult {
2374
2377
  written: number;
2375
2378
  }
2376
2379
 
2380
+ interface TimelineRangeOffset {
2381
+ offset?: CSSNumericValue;
2382
+ rangeName?: string | null;
2383
+ }
2384
+
2377
2385
  interface ToggleEventInit extends EventInit {
2378
2386
  newState?: string;
2379
2387
  oldState?: string;
@@ -2661,6 +2669,7 @@ interface WebGLContextAttributes {
2661
2669
  premultipliedAlpha?: boolean;
2662
2670
  preserveDrawingBuffer?: boolean;
2663
2671
  stencil?: boolean;
2672
+ xrCompatible?: boolean;
2664
2673
  }
2665
2674
 
2666
2675
  interface WebGLContextEventInit extends EventInit {
@@ -5885,6 +5894,7 @@ interface CSSRule {
5885
5894
  readonly MEDIA_RULE: 4;
5886
5895
  readonly FONT_FACE_RULE: 5;
5887
5896
  readonly PAGE_RULE: 6;
5897
+ readonly MARGIN_RULE: 9;
5888
5898
  readonly NAMESPACE_RULE: 10;
5889
5899
  readonly KEYFRAMES_RULE: 7;
5890
5900
  readonly KEYFRAME_RULE: 8;
@@ -5902,6 +5912,7 @@ declare var CSSRule: {
5902
5912
  readonly MEDIA_RULE: 4;
5903
5913
  readonly FONT_FACE_RULE: 5;
5904
5914
  readonly PAGE_RULE: 6;
5915
+ readonly MARGIN_RULE: 9;
5905
5916
  readonly NAMESPACE_RULE: 10;
5906
5917
  readonly KEYFRAMES_RULE: 7;
5907
5918
  readonly KEYFRAME_RULE: 8;
@@ -28360,7 +28371,7 @@ interface Range extends AbstractRange {
28360
28371
  */
28361
28372
  comparePoint(node: Node, offset: number): number;
28362
28373
  /**
28363
- * The **`Range.createContextualFragment()`** method returns a DocumentFragment by invoking the HTML fragment parsing algorithm or the XML fragment parsing algorithm with the start of the range (the parent of the selected node) as the context node. The HTML fragment parsing algorithm is used if the range belongs to a Document whose HTMLness bit is set. In the HTML case, if the context node would be html, for historical reasons the fragment parsing algorithm is invoked with body as the context instead.
28374
+ * The **`Range.createContextualFragment()`** method of the Range interface returns a DocumentFragment representing the parsed input HTML or XML.
28364
28375
  *
28365
28376
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/createContextualFragment)
28366
28377
  */
package/ts5.9/index.d.ts CHANGED
@@ -975,6 +975,8 @@ interface Keyframe {
975
975
 
976
976
  interface KeyframeAnimationOptions extends KeyframeEffectOptions {
977
977
  id?: string;
978
+ rangeEnd?: TimelineRangeOffset | CSSNumericValue | CSSKeywordValue | string;
979
+ rangeStart?: TimelineRangeOffset | CSSNumericValue | CSSKeywordValue | string;
978
980
  timeline?: AnimationTimeline | null;
979
981
  }
980
982
 
@@ -1556,6 +1558,7 @@ interface PointerLockOptions {
1556
1558
  }
1557
1559
 
1558
1560
  interface PopStateEventInit extends EventInit {
1561
+ hasUAVisualTransition?: boolean;
1559
1562
  state?: any;
1560
1563
  }
1561
1564
 
@@ -2374,6 +2377,11 @@ interface TextEncoderEncodeIntoResult {
2374
2377
  written: number;
2375
2378
  }
2376
2379
 
2380
+ interface TimelineRangeOffset {
2381
+ offset?: CSSNumericValue;
2382
+ rangeName?: string | null;
2383
+ }
2384
+
2377
2385
  interface ToggleEventInit extends EventInit {
2378
2386
  newState?: string;
2379
2387
  oldState?: string;
@@ -2661,6 +2669,7 @@ interface WebGLContextAttributes {
2661
2669
  premultipliedAlpha?: boolean;
2662
2670
  preserveDrawingBuffer?: boolean;
2663
2671
  stencil?: boolean;
2672
+ xrCompatible?: boolean;
2664
2673
  }
2665
2674
 
2666
2675
  interface WebGLContextEventInit extends EventInit {
@@ -5885,6 +5894,7 @@ interface CSSRule {
5885
5894
  readonly MEDIA_RULE: 4;
5886
5895
  readonly FONT_FACE_RULE: 5;
5887
5896
  readonly PAGE_RULE: 6;
5897
+ readonly MARGIN_RULE: 9;
5888
5898
  readonly NAMESPACE_RULE: 10;
5889
5899
  readonly KEYFRAMES_RULE: 7;
5890
5900
  readonly KEYFRAME_RULE: 8;
@@ -5902,6 +5912,7 @@ declare var CSSRule: {
5902
5912
  readonly MEDIA_RULE: 4;
5903
5913
  readonly FONT_FACE_RULE: 5;
5904
5914
  readonly PAGE_RULE: 6;
5915
+ readonly MARGIN_RULE: 9;
5905
5916
  readonly NAMESPACE_RULE: 10;
5906
5917
  readonly KEYFRAMES_RULE: 7;
5907
5918
  readonly KEYFRAME_RULE: 8;
@@ -28360,7 +28371,7 @@ interface Range extends AbstractRange {
28360
28371
  */
28361
28372
  comparePoint(node: Node, offset: number): number;
28362
28373
  /**
28363
- * The **`Range.createContextualFragment()`** method returns a DocumentFragment by invoking the HTML fragment parsing algorithm or the XML fragment parsing algorithm with the start of the range (the parent of the selected node) as the context node. The HTML fragment parsing algorithm is used if the range belongs to a Document whose HTMLness bit is set. In the HTML case, if the context node would be html, for historical reasons the fragment parsing algorithm is invoked with body as the context instead.
28374
+ * The **`Range.createContextualFragment()`** method of the Range interface returns a DocumentFragment representing the parsed input HTML or XML.
28364
28375
  *
28365
28376
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/createContextualFragment)
28366
28377
  */