diff options
author | webbeef <me@webbeef.org> | 2025-01-12 20:09:02 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-13 04:09:02 +0000 |
commit | c936dd6c4e80ac6e6f188fe629cc999f121e452d (patch) | |
tree | 92dbf9ab0e22cd285187d829986c90a345cd0b99 /tests/wpt/meta/html/canvas | |
parent | 90c5685d61946d489ec8ab54d84980298c12ee09 (diff) | |
download | servo-c936dd6c4e80ac6e6f188fe629cc999f121e452d.tar.gz servo-c936dd6c4e80ac6e6f188fe629cc999f121e452d.zip |
Implement HTMLCanvasElement.transferControlToOffscreen (#34959)
This follows the spec by introducing a new "Placeholder" canvas context
mode. The underlying offscreen canvas is kept accessible from the DOM
element to allow for the drawImage() implementation to work with canvases
that have transfered their control.
Signed-off-by: webbeef <me@webbeef.org>
Diffstat (limited to 'tests/wpt/meta/html/canvas')
3 files changed, 0 insertions, 22 deletions
diff --git a/tests/wpt/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.resize.html.ini b/tests/wpt/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.resize.html.ini index 0f0ce8f08e8..56771e2c3f4 100644 --- a/tests/wpt/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.resize.html.ini +++ b/tests/wpt/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.resize.html.ini @@ -8,14 +8,5 @@ [Verify that resizing an OffscreenCanvas with a 2d context propagates the new size to its placeholder canvas asynchronously.] expected: FAIL - [Verify that drawImage uses the size of the frame as the intinsic size of a placeholder canvas.] - expected: FAIL - [Verify that writing to the width and height attributes of an OffscreenCanvas works when there is a webgl context attached.] expected: FAIL - - [Verify that writing to the width or height attribute of a placeholder canvas throws an exception] - expected: FAIL - - [Verify that writing to the width or height attribute of a placeholder canvas throws an exception even when not changing the value of the attribute.] - expected: FAIL diff --git a/tests/wpt/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer.lowlatency.nocrash.html.ini b/tests/wpt/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer.lowlatency.nocrash.html.ini deleted file mode 100644 index 2592d8b2a72..00000000000 --- a/tests/wpt/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfer.lowlatency.nocrash.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[offscreencanvas.transfer.lowlatency.nocrash.html] - [Tests that transferring a low latency canvas does not cause a crash. See crbug.com/1255153] - expected: FAIL diff --git a/tests/wpt/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfercontrol.to.offscreen.html.ini b/tests/wpt/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfercontrol.to.offscreen.html.ini deleted file mode 100644 index c103d8d158b..00000000000 --- a/tests/wpt/meta/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfercontrol.to.offscreen.html.ini +++ /dev/null @@ -1,10 +0,0 @@ -[offscreencanvas.transfercontrol.to.offscreen.html] - [Test that calling transferControlToOffscreen twice throws an exception] - expected: FAIL - - [Test that an OffscreenCanvas generated by transferControlToOffscreen gets correct width and height] - expected: FAIL - - [Test that calling getContext on a placeholder canvas that has already transferred its control throws an exception] - expected: FAIL - |