-
Notifications
You must be signed in to change notification settings - Fork 1.7k
dart2js - extended td shows nothing in other browsers #21466
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
Comments
Sorry for not replying sooner to this bug report. Unfortunately, it was filed under the "Try Dart" area and I failed to assign it to dart2js sooner. Removed Area-TryDart label. |
Looks like a Polymer issue. Inside _registerCustomElement there is a check that document.createElement(extendsTagName) instanceof window[baseClassName]. The fields are: The object returned from Removed Area-Dart2JS label. |
Submitted a bug to the js polyfills about this, webcomponents/webcomponentsjs#80. It looks like this is actually related to a browser bug, so there aren't any good options to fix this that I know of at this time :(. |
This comment was originally written by [email protected] Since extended tds did not work for me i remove the inheritance from td and just used it as a normal polymer element with display: table-cell. Next problem was that my polymer table row does extend from tr. Sadly I had to remove all Inheritance from td / tr / th. |
Unfortunately there are a lot of issues with extending table elements because of limitations on how browsers parse tables and what is allowed or not inside tables by the HTML5 spec :-( See for example another related problem with tr: Polymer/polymer#266 |
This issue has been moved to dart-archive/polymer-dart#334. |
This issue was originally filed by [email protected]
What steps will reproduce the problem?
http://pastebin.com/2EqxcvUQ
Here is the Code to reproduce the Problem
What is the expected outcome?
We build a table with some functions and everything worked fine in Dartium/Chrome. Then we noticed that FF/IE show nothing of the table. So we tried finding the error. Apparently the import of the extended td element causes this.
Attachments:
e1.png (68.44 KB)
e2.png (67.09 KB)
The text was updated successfully, but these errors were encountered: