W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2013

Re: [webcomponents] Making the shadow root an Element

From: Anne van Kesteren <annevk@annevk.nl>
Date: Fri, 15 Feb 2013 11:13:28 +0000
Message-ID: <CADnb78jG+cYVmg7xER07ouEx7TawpQJj6MOFL-_+jzRSiDLsfg@mail.gmail.com>
To: Jonas Sicking <jonas@sicking.cc>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, public-webapps <public-webapps@w3.org>
On Fri, Feb 15, 2013 at 7:12 AM, Jonas Sicking <jonas@sicking.cc> wrote:
> Adding API to *some* DocumentFragment will likely mean that
> people will need to check just what type of DocumentFragment they
> have.

Although not exposed, because of <template>.contents we now
effectively have a special type of DocumentFragment. Those with a
"host" concept defined.

A third option by the way is making this its own node type. That has
its own issues of course, but would allow it to be more cleanly
integrated with existing algorithms (one of the issues being that all
those algorithms would have to be updated).

Received on Friday, 15 February 2013 11:13:58 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:52 UTC