Re: State of subclassing and tag names in the component model

2011-11-08 Thread Boris Zbarsky
On 11/8/11 10:32 AM, Dominic Cooney wrote: There are two kinds of components—ones that are a refinement of something in HTML, like a select element or a button; and ones that have no genuine peer in HTML. This is the litmus test: If you were writing this today, would you start with a div or span

Re: State of subclassing and tag names in the component model

2011-11-08 Thread Dominic Cooney
Hi Boris, This is my current thinking, although this blends/steals a lot of ideas from TPAC: There are two kinds of components—ones that are a refinement of something in HTML, like a select element or a button; and ones that have no genuine peer in HTML. This is the litmus test: If you were writ

State of subclassing and tag names in the component model

2011-11-07 Thread Boris Zbarsky
All, At this I've lost track of what the current proposals are on tag names in the component model. I've been thinking about this a bit, and I would like us to look at a particular use case: subclassing and adding some behavior to it. An obvious question: Should the localName/tagName of th