- From: Joshua Peek <josh@joshpeek.com>
- Date: Tue, 11 Feb 2014 22:41:08 -0600
- To: Ryosuke Niwa <rniwa@apple.com>
- Cc: "public-webapps@w3.org WG" <public-webapps@w3.org>, Erik Arvidsson <arv@google.com>, Anne van Kesteren <annevk@annevk.nl>, Jonas Sicking <jonas@sicking.cc>
Are you proposing new mutation record type? I think that could handle most of the enter/leave requirements. observer.observe(target, { element: 'x-foo' }); If MutationObservers are an open topic for extension, I'd love to see generic css selector support. observer.observe(target, { selector: 'foo' }); observer.observe(target, { selector: '.foo' }); That'd cover element name "enter" and "leaves" as well. On Tue, Feb 11, 2014 at 7:41 PM, Ryosuke Niwa <rniwa@apple.com> wrote: > Hi, > > I’m bringing this up out of: > > [Custom]: enteredView and leftView callbacks are still confusing > https://www.w3.org/Bugs/Public/show_bug.cgi?id=24314 > > Could someone clarify exactly why mutation observers can’t satisfy use cases for custom elements? > > I strongly believe that we should extend mutation observers (e.g. add some flag to fire more eagerly) so that we could *explain* these callbacks in terms of mutation observers. > > - R. Niwa > >
Received on Wednesday, 12 February 2014 04:41:35 UTC