NEW125499
canvas-toDataURL-webp.html layout test is failing
https://bugs.webkit.org/show_bug.cgi?id=125499
Summary canvas-toDataURL-webp.html layout test is failing
Lukasz Krok
Reported 2013-12-10 05:02:12 PST
After enabling WebP support in WebKit EFL port the canvas-toDataURL-webp.html test is failing. It looks like webp image format is not specified as supported image MIMEType for encoding. --- /home/lkrok/checkout/LocalWebKitOrg/WebKit/WebKitBuild/Debug/layout-test-results/fast/canvas/canvas-toDataURL-webp-expected.txt +++ /home/lkrok/checkout/LocalWebKitOrg/WebKit/WebKitBuild/Debug/layout-test-results/fast/canvas/canvas-toDataURL-webp-actual.txt @@ -1 +1,2 @@ +FAIL: canvas.toDataURL('image/webp') not supported
Attachments
James
Comment 1 2026-03-26 06:04:57 PDT
Chiming in to say that this would be very useful to have. Support was added to Gecko/Firefox in January 2022, meaning that WebKit is the only engine not implementing this now (see https://caniuse.com/?search=todataurl+webp). Cryptee Docs (https://crypt.ee/docs) uses this method for working with photos locally on the user's devices, and so is unable to support webp images on any browser because of WebKit's missing support for it.
ik
Comment 2 2026-03-26 13:20:14 PDT
+1. Webp is essential for transparent images with reasonable file size.
Note You need to log in before you can comment on or make changes to this bug.