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

Re: Behavior Attachment Redux, was Re: HTML element content models vs. components

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 28 Sep 2011 14:30:35 -0400
Message-ID: <4E8367CB.2070600@mit.edu>
To: Dimitri Glazkov <dglazkov@google.com>
CC: public-webapps@w3.org
On 9/28/11 2:24 PM, Dimitri Glazkov wrote:
> Can you help me understand what the issues with fallback are?

Sure.  If I want to attach a component to a <table> and to do that I 
have to write:

   <x-my-table>
     <tr><td>Content</td></tr>
   <x-my-table>

and somewhere before that point register that x-my-table should be 
treated as a table, then the whole thing falls apart in a UA that 
doesn't understand that registration.

That is, this approach works if components are only used for situations 
that absolutely cannot work without the component available, as far as I 
can tell.

-Boris
Received on Wednesday, 28 September 2011 18:31:04 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:47 GMT