Skip to content

Commit

Permalink
Update Type-Extensions.md
Browse files Browse the repository at this point in the history
Add why is= is disappointing.
  • Loading branch information
markgif committed Jun 15, 2015
1 parent 9eb9b6c commit 112cfee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions proposals/Type-Extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ The [current proposal](http://www.w3.org/TR/custom-elements/#dfn-type-extension)

### Drawbacks

* **If you base your web component on a native element, you cannot have a custom tag name** -
If I want to base my new button on `<button>`, I cannot use `<my-button>` as my
tag name. Instead I must use something awkward like `<button is="my-button">` and this
disappoints part of the idea of custom elements in web components.

* **Stands inheritance on its head** - The main issue with the `is=` proposal is
takes the concept of inheritance developers are familiar with and stands it
on its head.
Expand Down

0 comments on commit 112cfee

Please sign in to comment.