WebKit Bugzilla
Attachment 371520 Details for
Bug 198527
: HTMLImageElement.decode() method doesn't work for SVG files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
decode-svg
decode-svg.html (text/html), 297 bytes, created by
Said Abou-Hallawa
on 2019-06-06 12:25:24 PDT
(
hide
)
Description:
decode-svg
Filename:
MIME Type:
Creator:
Said Abou-Hallawa
Created:
2019-06-06 12:25:24 PDT
Size:
297 bytes
patch
obsolete
><body> > <script> > const img = new Image(); > img.src = 'https://unpkg.com/@mapbox/maki@4.0.0/icons/fuel-15.svg'; > img.decode() > .then(() => { > alert('loaded'); > }) > .catch(() => { > alert('error'); > }); > </script> ></body>
<body> <script> const img = new Image(); img.src = 'https://unpkg.com/@mapbox/maki@4.0.0/icons/fuel-15.svg'; img.decode() .then(() => { alert('loaded'); }) .catch(() => { alert('error'); }); </script> </body>
View Attachment As Raw
Actions:
View
Attachments on
bug 198527
: 371520