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

Demix invalid event from GlobalEventHandlers #16657

Merged
merged 9 commits into from Jul 18, 2022

Conversation

queengooborg
Copy link
Collaborator

This PR demixes the invalid event from the GlobalEventHandlers mixin.

@github-actions github-actions bot added the data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Jun 14, 2022
@queengooborg queengooborg added the needs content update 📝 This PR needs a corresponding update to mdn/content to update the documentation label Jun 14, 2022
@github-actions
Copy link

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions
Copy link

This pull request has merge conflicts that must be resolved before it can be merged.

Copy link
Collaborator

@foolip foolip left a comment

Choose a reason for hiding this comment

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

These are events for form controls, and are fired in 3 different places in the spec:
https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#statically-validate-the-constraints
https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#check-validity-steps
https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#report-validity-steps

I think we should have these events on the same 9 interfaces that have checkValidity() and reportValidity() methods. So far they're only on HTMLInputElement.

The additions made so far in this PR should be reverted.

@github-actions
Copy link

github-actions bot commented Jul 9, 2022

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions
Copy link

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions
Copy link

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions
Copy link

This pull request has merge conflicts that must be resolved before it can be merged.

@queengooborg queengooborg merged commit bded8da into mdn:main Jul 18, 2022
@queengooborg queengooborg deleted the api/GlobalEventHandlers/invalid branch July 25, 2022 11:12
@Elchi3 Elchi3 removed the needs content update 📝 This PR needs a corresponding update to mdn/content to update the documentation label Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants