On Wed, Feb 20, 2013 at 9:58 AM, Scott Miles <sjmi...@google.com> wrote: > Since many of these cases are 'semantic' elements, whose only raison d'ĂȘtre > (afaik) is having a particular localName, I'm not sure how we get around > this without being able to specify an 'extends' option. > > document.register('fancy-header', { > prototype: FancyHeaderPrototype, > extends: 'header' > ...
Can you help me understand why we need to do this? Since there is no HTMLHeaderPrototype, we will never have an issue with forming the wrong prototype chain. So <header is="fancy-header"> should work just as well as <section is="fancy-header">, and so would <fancy-header>. :DG<