Re: Notes from a component model pow-wow

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...

-Boris

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