// This is a Tristate return to allow us to override name matching when // the attribute is expressly requested for a field. Default indicates // that the setting is On which is the default but not expressly requested // for the element being checked. On indicates that it is directly added // to the element. AttributeState elementSupportsAutocorrect(const Element* element) { DEFINE_STATIC_LOCAL(QualifiedName, autocorrectAttr, (nullAtom, "autocorrect", nullAtom)); return elementAttributeState(element, autocorrectAttr); }
AttributeState elementSupportsAutocomplete(const Element* element) { return elementAttributeState(element, HTMLNames::autocompleteAttr); }
AttributeState elementSupportsSpellCheck(const Element* element) { return elementAttributeState(element, HTMLNames::spellcheckAttr); }