ibm-js / delite

HTML Custom Element / Widget infrastructure
http://ibm-js.github.io/delite/
Other
68 stars 28 forks source link

support native properties on Android 4.2 #396

Open wkeese opened 9 years ago

wkeese commented 9 years ago

On Android 4.2 (tested on Android 4.2.2 emulator), has("setter-on-native-prop") is false yet neither MutationObserver nor WebKitMutationObserver is defined, so the code in CustomElement#createdCallback() fails.

I'd like to fallback to using the DOMAttrModified event, but apparently that doesn't work on Webkit (to track attribute changes), so maybe something like http://engineering.silk.co/post/31921750832/mutation-events-what-happens.