Support the "autocomplete", "autocorrect", "autocapitalize" and "spellcheck" attributes (see #6316)