Skip to content
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

Support for Shadow Dom v1 in PIEs #5

Open
evaneus opened this issue Oct 7, 2016 · 1 comment
Open

Support for Shadow Dom v1 in PIEs #5

evaneus opened this issue Oct 7, 2016 · 1 comment

Comments

@evaneus
Copy link
Contributor

evaneus commented Oct 7, 2016

This is an open question.

As of today: "Chrome 53 (status), Opera 40, and Safari 10 are shipping shadow DOM v1. Edge is under consideration with high priority. Mozilla has an open bug to implement."

Shady Dom and Shady CSS polyfills are available currently.

See: https://developers.google.com/web/fundamentals/getting-started/primers/shadowdom

There are some benefits for encapsulation and possibly theming capabilities through using this within PIEs.

Adding optional support for this to PIE Framework would require that PIE developers can specify that their PIE needs this feature. The PIE player would need to test for the presence of shadow dom or load polyfill.

@evaneus
Copy link
Contributor Author

evaneus commented Oct 7, 2016

See also: https://github.com/Wildhoney/ReactShadow for React support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant