W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

Re: Notes from a component model pow-wow

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 20 Sep 2011 23:13:53 -0400
Message-ID: <4E795671.7000103@mit.edu>
To: Erik Arvidsson <arv@chromium.org>
CC: public-webapps@w3.org
On 9/20/11 11:10 PM, Erik Arvidsson wrote:
> This is what we often refer to as the decorator pattern. The decorator
> pattern in XBL has the problem that it changes the interface of the
> element at runtime

To be clear, I am NOT proposing anything involving interface changes. 
In the case I described, the DOM will see an HTMLTableElement.  There 
will be an anonymous canvas or <svg> in the shadow tree which is not 
visible from the DOM.  The discussion is just about what CSS boxes are 
created and how the component can affect that, not about interfaces or 
anything else observable from script...

Received on Wednesday, 21 September 2011 03:14:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:24 UTC