mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibWeb: Implemented the CanvasRenderingContext2D::createImageData() spec
The only real change here is to use the absolute magnitude of the width/height when creating the ImageData. This fixes the crash on this WPT test: https://wpt.fyi/results/html/canvas/element/pixel-manipulation/2d.imageData.create2.double.html?label=master&product=ladybird
This commit is contained in:
parent
01301c374b
commit
560c3824b9
Notes:
github-actions[bot]
2024-10-14 06:26:10 +00:00
Author: https://github.com/coryvirok
Commit: 560c3824b9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1774
3 changed files with 33 additions and 1 deletions
1
Tests/LibWeb/Text/expected/canvas/convert-dims.txt
Normal file
1
Tests/LibWeb/Text/expected/canvas/convert-dims.txt
Normal file
|
@ -0,0 +1 @@
|
|||
PASS
|
Loading…
Add table
Add a link
Reference in a new issue