Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html.global_attributes.autocomplete - the attribute should not regard as a global html attribute #21790

Closed
skyclouds2001 opened this issue Dec 31, 2023 · 0 comments · Fixed by #21929
Labels
data:html 📄 Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML

Comments

@skyclouds2001
Copy link
Contributor

skyclouds2001 commented Dec 31, 2023

What type of issue is this?

Other

What information was incorrect, unhelpful, or incomplete?

the autocomplete attribute should not regard as a global html attribute, as it can only applied to <input> <select> <textarea> elements, see spec https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete

For api, the HTMLElement does not has a autocomplete member

What browsers does this problem apply to, if applicable?

No response

What did you expect to see?

remove the one in global attributes

Did you test this? If so, how?

no

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

some relates issues:

#18186
#17628
#20812
#22792

Do you have anything more you want to share?

remove for html.elements.button.autocomplete - #21876
add for html.elements.{input,select}.autocomplete - #21895
remove for html.global_attributes.autocomplete - #21929

MDN URL

No response

MDN metadata

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:html 📄 Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML
Projects
None yet
2 participants