Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 13 additions & 15 deletions features/constraint-validation.dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,21 @@ spec: https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#th
group: forms
caniuse: constraint-validation
status:
baseline: low
baseline_low_date: 2023-03-27
baseline: high
baseline_low_date: 2018-12-11
baseline_high_date: 2021-06-11
support:
chrome: "77"
chrome_android: "77"
edge: "79"
firefox: "98"
firefox_android: "98"
safari: "16.4"
safari_ios: "16.4"
chrome: "40"
chrome_android: "40"
edge: "18"
firefox: "51"
firefox_android: "64"
safari: "10.1"
safari_ios: "10.3"
# TODO: Align with https://caniuse.com/constraint-validation by updating either
# BCD of caniuse. According to caniuse, this is supported since Edge 17 and
# Safari 10, while our generated status says Edge 18 and Safari 10.1.
compat_features:
- api.ElementInternals.checkValidity
- api.ElementInternals.reportValidity
- api.ElementInternals.setValidity
- api.ElementInternals.validationMessage
- api.ElementInternals.validity
- api.ElementInternals.willValidate
- api.HTMLButtonElement.checkValidity
- api.HTMLButtonElement.reportValidity
- api.HTMLButtonElement.setCustomValidity
Expand Down
60 changes: 60 additions & 0 deletions features/constraint-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,63 @@ description: Methods that validate form controls before submission, such as `che
spec: https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#the-constraint-validation-api
group: forms
caniuse: constraint-validation
# TODO: Align with https://caniuse.com/constraint-validation by updating either
# BCD of caniuse. According to caniuse, this is supported since Edge 17 and
# Safari 10, while our generated status says Edge 18 and Safari 10.1.
compat_features:
- api.HTMLButtonElement.checkValidity
- api.HTMLButtonElement.reportValidity
- api.HTMLButtonElement.setCustomValidity
- api.HTMLButtonElement.validationMessage
- api.HTMLButtonElement.validity
- api.HTMLButtonElement.willValidate
- api.HTMLFieldSetElement.checkValidity
- api.HTMLFieldSetElement.reportValidity
- api.HTMLFieldSetElement.setCustomValidity
- api.HTMLFieldSetElement.validationMessage
- api.HTMLFieldSetElement.validity
- api.HTMLFieldSetElement.willValidate
- api.HTMLFormElement.checkValidity
- api.HTMLFormElement.reportValidity
- api.HTMLInputElement.checkValidity
- api.HTMLInputElement.reportValidity
- api.HTMLInputElement.setCustomValidity
- api.HTMLInputElement.validationMessage
- api.HTMLInputElement.validity
- api.HTMLInputElement.willValidate
- api.HTMLObjectElement.checkValidity
- api.HTMLObjectElement.reportValidity
- api.HTMLObjectElement.setCustomValidity
- api.HTMLObjectElement.validationMessage
- api.HTMLObjectElement.validity
- api.HTMLObjectElement.willValidate
- api.HTMLOutputElement.checkValidity
- api.HTMLOutputElement.reportValidity
- api.HTMLOutputElement.setCustomValidity
- api.HTMLOutputElement.validationMessage
- api.HTMLOutputElement.validity
- api.HTMLOutputElement.willValidate
- api.HTMLSelectElement.checkValidity
- api.HTMLSelectElement.reportValidity
- api.HTMLSelectElement.setCustomValidity
- api.HTMLSelectElement.validationMessage
- api.HTMLSelectElement.validity
- api.HTMLSelectElement.willValidate
- api.HTMLTextAreaElement.checkValidity
- api.HTMLTextAreaElement.reportValidity
- api.HTMLTextAreaElement.setCustomValidity
- api.HTMLTextAreaElement.validationMessage
- api.HTMLTextAreaElement.validity
- api.HTMLTextAreaElement.willValidate
- api.ValidityState
- api.ValidityState.badInput
- api.ValidityState.customError
- api.ValidityState.patternMismatch
- api.ValidityState.rangeOverflow
- api.ValidityState.rangeUnderflow
- api.ValidityState.stepMismatch
- api.ValidityState.tooLong
- api.ValidityState.tooShort
- api.ValidityState.typeMismatch
- api.ValidityState.valid
- api.ValidityState.valueMissing