Skip to content

Expose form control constraint validation - #604

Merged
wieslawsoltes merged 1 commit into
mainfrom
feature/form-constraint-validation-257
Sep 19, 2026
Merged

wieslawsoltes merged 1 commit into
mainfrom
feature/form-constraint-validation-257

Conversation

@wieslawsoltes

Copy link
Copy Markdown
Collaborator

Closes #603. Advances #257.

This exposes live SameObject ValidityState, all eleven validity flags, validation messages, willValidate, custom validity, checkValidity, and reportValidity on the supported controls. Failed validation dispatches a cancelable non-bubbling invalid event, while custom-error changes recascade :valid/:invalid only when selector state changes. Generated bindings and focused browser/native/profile contracts are included.

Form/fieldset aggregation, submission-time validation and interactive validation UI remain separate work.

Validation: git diff --cached --check passed. Builds, WPT, benchmarks, product acceptance and computer-use remain deferred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose form control constraint-validation APIs

1 participant