- From: Tomek Wytrębowicz <notifications@github.com>
- Date: Mon, 05 Dec 2016 04:09:59 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Monday, 5 December 2016 12:10:38 UTC
Regarding: > it wouldn’t be immediately clear by the looking at the tag name that `<my-foo extends="table">` would act as a table and the problems with handling the attribute (`is`, or `extends`) in some special way, with CE reactions in place Maybe we could think of just another syntax, like `<table+my-foo>...</table>`, then ```js element.attributes // [] element.localName // my-foo element.tagName // table ``` Pros: - does not require any exception regarding `is` attribute in constructor - puts `attributeChangedCallback` for `is` out of question - does not mix concepts of element names and attributes - it's immediately clear by the looking at the tag name, how it will act Cons: - Probably requires parser changes -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/509#issuecomment-264838854
Received on Monday, 5 December 2016 12:10:38 UTC