- From: Dimitri Glazkov <dglazkov@google.com>
- Date: Wed, 20 Feb 2013 10:02:06 -0800
- To: Scott Miles <sjmiles@google.com>
- Cc: Daniel Buchner <daniel@mozilla.com>, Anne van Kesteren <annevk@annevk.nl>, Boris Zbarsky <bzbarsky@mit.edu>, Erik Arvidsson <arv@chromium.org>, public-webapps <public-webapps@w3.org>
On Wed, Feb 20, 2013 at 9:58 AM, Scott Miles <sjmiles@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<
Received on Wednesday, 20 February 2013 18:02:34 UTC