4 ms·
My most recent issue was with the ElementInternals API: https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals https://developer.mozilla.org/en-US/do
by jjcm 5y ago
My most recent issue was with the ElementInternals API: https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals https://developer.mozilla.org/en-US/docs/Web/API/ElementInte...
They still don’t have it implemented despite giving their “strong support” a few years ago when the API was in the final spec stage. That’s really the crux of the issue - they always seem a few years behind in implementing any new spec.
- robertoandred 5y agoFirefox hasn't exactly implemented it either.
- jjcm 5y agoNo, but at the very least Firefox has the bare minimum needed not to crash js execution when it encounters usage of the API. Safari doesn't recognize the syntax (or at least didn't when I tested this ~5 months ago, though it looks like nothing has changed on the safari side).
- lloydatkinson 5y agoWow thats terrible actually. I remember looking into how to get web components to work with forms and decided to put it off for a while. Didn't know Safari doesn't implement it yet. Is there a polyfill?
- jjcm 5y agoThere is: https://github.com/calebdwilliams/element-internals-polyfill https://github.com/calebdwilliams/element-internals-polyfill
- asddubs 5y agowebp also took them ages and hopefully avif won't take as long as webp did