Support element.contentEditable compatibility check, fix typos