W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2012

Re: Support getElementById and other methods of ShadowRoot on DocumentFragment

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 01 Jul 2012 03:24:44 +0200
To: Dimitri Glazkov <dglazkov@chromium.org>
Cc: Jonas Sicking <jonas@sicking.cc>, Elliott Sprehn <esprehn@gmail.com>, www-dom <www-dom@w3.org>
Message-ID: <vh9vu7d2tk2q3gqe2m4ni6abtvbtp0cf76@hive.bjoern.hoehrmann.de>
* Dimitri Glazkov wrote:
>It's an interesting idea. From my perspective, ShadowRoot is nothing
>like an element in a general sense: it has no tag name or attributes.
>It has its fairly unique scoping requirements and events, and styling
>boundaries. Making it a DocumentFragment-like thing has the advantage
>of never worrying about accidentally detaching the shadow root from
>its host by an errant DOM operation:

(It's also nothing like a DocumentFragment. Maybe it should be neither.)
Received on Sunday, 1 July 2012 01:25:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 1 July 2012 01:25:20 GMT