You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WebP is a great image format but only Chrome natively supports it. A Javascript polyfill exists but (I believe) due to iron-image not populating the img element's src tag, the polyfill doesn't work.
I think this is going to be difficult to support (without making specific concessions for this polyfill) with the sizing case since this polyfill relies on directly accessing the img. Does it even work with Shadow DOM?
Description
WebP is a great image format but only Chrome natively supports it. A Javascript polyfill exists but (I believe) due to iron-image not populating the
img
element'ssrc
tag, the polyfill doesn't work.Expected outcome
https://jsfiddle.net/t03yybsm/2/ shows two images on all browsers.
Actual outcome
https://jsfiddle.net/t03yybsm/2/ shows two images on Chrome and one broken image on most other browers.
Live Demo
https://jsfiddle.net/t03yybsm/2/
Steps to reproduce
https://jsfiddle.net/t03yybsm/2/
Browsers Affected
The text was updated successfully, but these errors were encountered: