bug 961818 - use presence of NS_EVENT_STATE_MOZ_READWRITE to determine if elements are editable r=surkov