tabatkins / specs

:pencil: Spec proposals that aren't yet approved by the relevant Working Group.
179 stars 22 forks source link

[css-aliases] custom selector arguments #26

Open bkardell opened 10 years ago

bkardell commented 10 years ago

When we originally discussed this, we didn't really have MutationObservers. It does seem that MutationObserverInit would achieve similar pieces to what we were looking for --- almost (I'll open another issue about the pice where it doesn't).

It seems like having the registration of a custom selector take a mutation observer init (maybe with sensible defaults?) would be a good idea.

tabatkins commented 10 years ago

Ooh, hooking mutation observers directly like that is probably a good idea.

I think the default of "any change to descendants" works fine.