Bug 835280 Calling nsIMEStateManager::OnChangeFocus() for DOM document should be called only when designMode document gets focus r=enndeakin, a=akeybl