W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2013

Re: [webcomponents]: What callbacks do custom elements need?

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 11 Mar 2013 20:45:45 -0400
Message-ID: <513E7AB9.6090404@mit.edu>
To: public-webapps@w3.org
On 3/11/13 5:18 PM, Elliott Sprehn wrote:
> "inserted" and "removed" can probably be end of micro task, but
> attributeChanged definitely needs to be synchronous to model the
> behavior of <input type> where changing it from X to Y has an immediate
> effect on the APIs available (like stepUp).

Hmm.  That's a good point.  We should rope in Jonas and Olli on this bit.

As long as it's ok to call attributeChanged right before the return from 
the attribute mutator, this seems to be a reasonable thing to me.

-Boris
Received on Tuesday, 12 March 2013 00:46:13 GMT

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