mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-16 23:39:44 +00:00
LibWeb: Implement CanvasRenderingContext2D.createImageData(ImageData)
Fixes at least one WPT test. https://wpt.live/html/canvas/element/pixel-manipulation/2d.imageData.create1.basic.html
This commit is contained in:
parent
6ffe83c9da
commit
0522e514a9
Notes:
github-actions[bot]
2024-10-14 08:34:45 +00:00
Author: https://github.com/tmapes
Commit: 0522e514a9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1779
Reviewed-by: https://github.com/AtkinsSJ ✅
6 changed files with 30 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
// https://html.spec.whatwg.org/multipage/canvas.html#canvasimagedata
|
||||
interface mixin CanvasImageData {
|
||||
ImageData createImageData([EnforceRange] long sw, [EnforceRange] long sh, optional ImageDataSettings settings = {});
|
||||
[FIXME] ImageData createImageData(ImageData imagedata);
|
||||
ImageData createImageData(ImageData imagedata);
|
||||
|
||||
ImageData getImageData([EnforceRange] long sx, [EnforceRange] long sy, [EnforceRange] long sw, [EnforceRange] long sh, optional ImageDataSettings settings = {});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue