Bug 125499
| Summary: | canvas-toDataURL-webp.html layout test is failing | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Lukasz Krok <l.krok> |
| Component: | WebKit EFL | Assignee: | Lukasz Krok <l.krok> |
| Status: | NEW | ||
| Severity: | Normal | CC: | formularsumo, ik, lucas.de.marchi, me, mpakulavelrutka, woodlxf00 |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Lukasz Krok
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
James
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
+1. Webp is essential for transparent images with reasonable file size.