W3C home > Mailing lists > Public > public-html@w3.org > October 2009

RE: ISSUE-41/ACTION-97 decentralized-extensibility

From: Adrian Bateman <adrianba@microsoft.com>
Date: Sun, 18 Oct 2009 16:00:48 +0000
To: Tab Atkins Jr. <jackalmage@gmail.com>
CC: Jonas Sicking <jonas@sicking.cc>, Tony Ross <tross@microsoft.com>, "public-html@w3.org" <public-html@w3.org>
Message-ID: <104E6B5B6535E849970CDFBB1C5216EB061F0D56@TK5EX14MBXC140.redmond.corp.microsoft.com>
On Sunday, October 18, 2009 8:53 AM, Tab Atkins Jr. wrote:
> On Sun, Oct 18, 2009 at 10:30 AM, Adrian Bateman <adrianba@microsoft.com>
> wrote:
> > On Saturday, October 17, 2009 11:34 PM, Jonas Sicking wrote:
> >> On Sat, Oct 17, 2009 at 4:54 PM, Tony Ross <tross@microsoft.com>
> wrote:
> >> > Another use case would be the ability to easily and
> >> > efficiently select the list of all elements in the document that the
> >> > library should act upon.
> >>
> > [snip]
> >>
> >> Not sure I understand the list-of-elements example.
> >
> > The scenario is that a library wants to process all elements in its
> namespace.
> 
> Why would it want to do so, though?  What sort of work can be done
> symmetrically on every element in a namespace?  Wouldn't it be more
> common to want to do particular types of work on particular elements
> instead?

For example, on page load a library needs to enumerate all the widgets on the page and set them up. Searching the whole document once for each element that the library supports is less efficient.
Received on Sunday, 18 October 2009 16:02:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:50 GMT