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

Consider issuing a warning when a polymer-element's shadowRoot contains un-upgraded custom elements #258

Closed
sorvell opened this issue Aug 26, 2013 · 1 comment

Comments

@sorvell
Copy link
Contributor

sorvell commented Aug 26, 2013

Polymer attempts to guarantee that custom elements inside another custom element's shadowRoots are upgraded when it is created. This allows the binding system to depend on interacting with upgraded elements. It also allows users to be able to interact with upgraded elements are create time.

Polymer requires that element definitions are registered at upgrade time to be able to enforce this guarantee. As a debugging aide, when this is not the case, polymer should issue a warning that a custom element contains an un-upgraded custom element in its shadowRoot.

@ghost ghost assigned sorvell Aug 26, 2013
@ghost ghost assigned ebidel Sep 25, 2013
@sorvell
Copy link
Contributor Author

sorvell commented Aug 11, 2014

We've decided against this.

@sorvell sorvell closed this as completed Aug 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants