This is actually not so good, because getContentEditableElement() will traverse all parents up to the documentElement, and could be a performance issue.