Bug 279254

Summary: Add basic `SVGImageElement.prototype.decode()` support
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: ImagesAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: sabouhallawa, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar, WPTImpact
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
test case
none
green-400x400.png
none
test case 2 none

Ahmad Saleem
Reported 2024-09-06 02:54:05 PDT
Hi Team, we have tentative WPT tests, which we fail because we don't extend `decoding` from HTML Image Element to SVG Image. Web Spec: https://html.spec.whatwg.org/multipage/embedded-content.html#dom-img-decoding https://wpt.fyi/results/html/semantics/embedded-content/the-img-element/decode?label=master&label=experimental&aligned&q=svg%20safari%3Afail This was limited to HTML in Safari / WebKit implementation. Thanks!
Attachments
test case (1.08 KB, text/html)
2024-09-12 15:49 PDT, Said Abou-Hallawa
no flags
green-400x400.png (1.11 KB, image/png)
2024-09-12 15:55 PDT, Said Abou-Hallawa
no flags
test case 2 (1.12 KB, text/html)
2024-09-12 15:56 PDT, Said Abou-Hallawa
no flags
Radar WebKit Bug Importer
Comment 1 2024-09-06 02:54:15 PDT
Ahmad Saleem
Comment 2 2024-09-06 03:03:40 PDT
Ahmad Saleem
Comment 3 2024-09-06 07:33:30 PDT
(In reply to Ahmad Saleem from comment #2) > Pull request: https://github.com/WebKit/WebKit/pull/33233 Closed PR to come back in future to do full implementation or behind preference.
Said Abou-Hallawa
Comment 4 2024-09-12 15:49:48 PDT
Created attachment 472539 [details] test case
Said Abou-Hallawa
Comment 5 2024-09-12 15:55:09 PDT
Created attachment 472540 [details] green-400x400.png
Said Abou-Hallawa
Comment 6 2024-09-12 15:56:02 PDT
Created attachment 472541 [details] test case 2
EWS
Comment 7 2024-09-13 12:27:39 PDT
Committed 283643@main (f2adb8467c81): <https://commits.webkit.org/283643@main> Reviewed commits have been landed. Closing PR #33233 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.