-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Blank screen and no error if custom element is not registered #705
Comments
cc @jmuk |
We've added a couple basic tools that can help debug this situation. This is not enough, but it can help. The current plan is to integrate these low level tools into the Polymer dev tools extension to enable convenient debugging.
|
Closing this issue due to age and the release of version 1 of Polymer - please feel free to re-open if this is incorrect. |
Creating a new element
without declaring it with
causes the entire page to fail to render. No errors are displayed in the console, and while the correct DOM tree is present, nothing is visible. Native elements like
div
andh1
have the correct dimensions and position, when highlighted with the Chrome inspector, whereas all custom elements have height and width zero, regardless of their styling.Ideally, other elements on the page should be immune to this, leaving only the undefined element unrendered. At the very least, however, an error should be logged to the console warning that a custom element has been declared in the HTML but not registered in JS.
The text was updated successfully, but these errors were encountered: