- From: Anne van Kesteren <notifications@github.com>
- Date: Mon, 15 Jun 2015 04:58:28 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Monday, 15 June 2015 11:58:59 UTC
> @@ -102,3 +102,13 @@ The [current proposal](http://www.w3.org/TR/custom-elements/#dfn-type-extension) > they have in mind (anecdotical evidence confirms this is already an issue). > > ## Alternative proposals > + > +In "drawbacks' above, the objections to the syntax that inheritence is turned on its head an it's error prone could be ameliorated by changing the syntax, eg > + > + <button extendedby=my-button> > + > +The objection that it's hard to scan is equally the case with > + > + <my-button tabindex="-1" some-unknown-attribute="7829" and-another-one="hkha"> > + > + That requires delving into some JS to see what it actually does. (I assume it's trivial for browser devtools/ syntax-highlighter to highlight an element with an extendedby/ is arribute to draw a developer's attention to it). I don't get this argument. Either way you have to delve into some JS to see what it actually does. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/pull/120/files#r32412311
Received on Monday, 15 June 2015 11:58:59 UTC