Re: ARIA should require DOM mutation event support for compliance.

Boris Zbarsky wrote:
>
> Aaron M Leventhal wrote:
>> Hi Boris, what other standard besides mutation events can fill this
>> purpose for page scripts today?
>
> There could be a custom event for this one situation dispatched by the
> UA, for example.  What the event would be would need to be
> standardized, of course.
>
> Alternately, page authors could poll the attribute value, without
> relying on mutation events at all.
>
> Even more alternately, authors could ignore the SHOULD-level requirement.
>
> The point being that none of this actually requires mutation events.
>

Yes.  Hmmm.

Since the DOM event model is reentrant and synchronous, this must be
quite a performance hit for mutation event compliant browsers. Is there
any larger solution to all this?  I imagine the mutation event engine is
switched on only when needed, via the lazy instantiation pattern already.

I could imagine a javascript toolkit providing some nice conveniences
(and hiding) the polling method you refer to above... not sure they will
though...

cheers,
David

Received on Tuesday, 9 December 2008 20:59:35 UTC