-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document browser support #30
Comments
The library itself doesn't polyfill anything, but there's a really good polyfill for Web Components that will provide basic support for Shadow DOM in other browsers. I've updated the example to use the polyfill, so you can see how it behaves in other browsers. |
Thanks for the quick reply, and for updating the example! Yeah I was looking at that polyfill this morning, I wasn't sure if it would just work out of the box or would require any sort of retooling. I know the ShadowDom specifically can be really really hard to polyfill. |
It definitely is, but the polyfill does a fairly good job. However there are certainly outstanding difficulties, especially when it comes to embedding CSS in your shadow boundary. We're not quite at the stage where Shadow DOM is ready for the main stage, but we're heading in the right direction at least. For the moment I'd consider Shadow DOM — and |
Would be great to have that in the main README.md @Wildhoney |
You can check the browser support of shadow dom here. It keeps getting better 🎉 |
I'm excited to try out the lib, but I know shadow dom is not widely supported yet.
Are you polyfilling older versions, or does this only work in Chrome and Safari?
The text was updated successfully, but these errors were encountered: