-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Demix invalid event from GlobalEventHandlers #16657
Conversation
This pull request has merge conflicts that must be resolved before it can be merged. |
This pull request has merge conflicts that must be resolved before it can be merged. |
There was a problem hiding this 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.
This pull request has merge conflicts that must be resolved before it can be merged. |
This pull request has merge conflicts that must be resolved before it can be merged. |
This pull request has merge conflicts that must be resolved before it can be merged. |
This pull request has merge conflicts that must be resolved before it can be merged. |
This PR demixes the
invalid
event from the GlobalEventHandlers mixin.