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

Remove html.elements.meter.form #22136

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

skyclouds2001
Copy link
Contributor

@skyclouds2001 skyclouds2001 commented Feb 1, 2024

Summary

the <meter> element dose not has a form attribute, see the spec https://html.spec.whatwg.org/multipage/form-elements.html#the-meter-element


and per the spec of the form attribute:

A form-associated element is, by default, associated with its nearest ancestor form element (as described below), but, if it is listed, may have a form attribute specified to override this.

also:

A number of the elements are form-associated elements, which means they can have a form owner. button fieldset input object output select textarea img form-associated custom elements

the <meter> element is not in the list and should not has the form attribute

Test results and supporting details

Related issues

@github-actions github-actions bot added the data:html 📄 Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML label Feb 1, 2024
@skyclouds2001 skyclouds2001 marked this pull request as ready for review February 1, 2024 15:31
Copy link
Member

@Elchi3 Elchi3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 👍

@Elchi3 Elchi3 merged commit b90a31a into mdn:main Feb 6, 2024
5 checks passed
@skyclouds2001 skyclouds2001 deleted the html.elements.meter.form branch February 6, 2024 14:03
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
Development

Successfully merging this pull request may close these issues.

None yet

2 participants