diff --git a/source b/source index 1d179a3c075..9edba6c4be5 100644 --- a/source +++ b/source @@ -41359,7 +41359,7 @@ interface HTMLTableCellElement : HTMLElement { data-x="attr-col-span">span attribute, or if trying to parse the attribute's value resulted in an error or zero, then let span be 1.

-

If span is greater than 1000, let it be 1000 instead.

+

If span is greater than 1000, let it be 1000 instead.

@@ -41418,7 +41418,7 @@ interface HTMLTableCellElement : HTMLElement { data-x="attr-colgroup-span">span attribute, or if trying to parse the attribute's value resulted in an error or zero, then let span be 1.

-

If span is greater than 1000, let it be 1000 instead.

+

If span is greater than 1000, let it be 1000 instead.

@@ -65219,10 +65219,10 @@ function AddCloud(data, x, y) { ... }
The ImageBitmapRenderingContext interface
-
[Exposed=Window]
+  
[Exposed=(Window,Worker)]
 interface ImageBitmapRenderingContext {
-  readonly attribute HTMLCanvasElement canvas;
-  void transferFromImageBitmap(ImageBitmap? bitmap);
+  readonly attribute (HTMLCanvasElement or OffscreenCanvas) canvas;
+  void transferFromImageBitmap(ImageBitmap? bitmap);
 };
 
 dictionary ImageBitmapRenderingContextSettings {
@@ -65266,8 +65266,7 @@ dictionary ImageBitmapRenderingContextSettings {
    
 
    
context . transferFromImageBitmap( - null)
+ data-x="dom-ImageBitmapRenderingContext-transferFromImageBitmap">transferFromImageBitmap
(null)
@@ -65382,8 +65381,7 @@ dictionary ImageBitmapRenderingContextSettings {

The ImageBitmapRenderingContext creation algorithm, which is passed a - target (a canvas element) and options, consists of running - these steps:

+ target and options, consists of running these steps:

  1. Let settings be the result of ImageBitmapRenderingContextSettings {

    The OffscreenCanvas interface
    -
    typedef (OffscreenCanvasRenderingContext2D or WebGLRenderingContext or WebGL2RenderingContext) OffscreenRenderingContext;
    +  
    typedef (OffscreenCanvasRenderingContext2D or ImageBitmapRenderingContext or WebGLRenderingContext or WebGL2RenderingContext) OffscreenRenderingContext;
     
     dictionary ImageEncodeOptions {
       DOMString type = "image/png";
       unrestricted double quality;
     };
     
    -enum OffscreenRenderingContextId { "2d", "webgl", "webgl2" };
    +enum OffscreenRenderingContextId { "2d", "bitmaprenderer, "webgl", "webgl2" };
     
     [Constructor([EnforceRange] unsigned long long width, [EnforceRange] unsigned long long height), Exposed=(Window,Worker), Transferable]
     interface OffscreenCanvas : EventTarget {
    @@ -65516,6 +65514,7 @@ interface OffscreenCanvas : EventTarget {
         

    Returns an object that exposes an API for drawing on the OffscreenCanvas object. contextId specifies the desired API: "2d", "bitmaprenderer", "webgl", or "webgl2". options is handled by that API.

    @@ -65547,6 +65546,7 @@ interface OffscreenCanvas : EventTarget { has a context mode, which is initially none but can be changed to either 2d, bitmaprenderer, webgl, webgl2, or detached by algorithms defined in this @@ -65625,6 +65625,7 @@ interface OffscreenCanvas : EventTarget { none 2d + bitmaprenderer webgl or webgl2 detached @@ -65632,8 +65633,8 @@ interface OffscreenCanvas : EventTarget { "2d" - Follow the steps to create an - offscreen 2D context defined in the section below, passing it this + Follow the offscreen 2D context + creation algorithm defined in the section below, passing it this OffscreenCanvas object and options, to obtain an OffscreenCanvasRenderingContext2D object; if this does not throw an exception, then set this OffscreenCanvas object's OffscreenCanvas : EventTarget { first argument. Return null. + + Return null. + + Throw an "InvalidStateError" DOMException. + + "bitmaprenderer" + + Follow the ImageBitmapRenderingContext creation algorithm + defined in the section above, passing it this + OffscreenCanvas object and options, + to obtain an ImageBitmapRenderingcontext object; if this does not throw + an exception, then set this OffscreenCanvas object's context mode to bitmaprenderer, and return the new + ImageBitmapRenderingcontext object. + + Return null. + + Return the same object as was returned the last time the method was invoked with this same + first argument. + + Return null. Throw an "InvalidStateError" DOMException. @@ -65661,6 +65684,8 @@ interface OffscreenCanvas : EventTarget { spec=WEBGL> Return null. + + Return null. Return the same value as was returned the last time the method was invoked with this same first argument. @@ -122706,6 +122731,7 @@ INSERT INTERFACES HERE Joshua Bell, Joshua Randall, Juan Olvera, + Juanmi Huertas, Jukka K. Korpela, Jules Clément-Ripoche, Julian Reschke,