-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
What is the issue with the HTML Standard?
Constraint validation: If the readonly attribute is specified on an input element, the element is barred from constraint validation.
The thing is that this constraint validation does not correspond to reality. The specification specifies it for any input elements.
And here's what I discovered:
For chrome, elements: input, button, select, form-associated custom elements - when adding the readonly attribute, the willValidate getter changes to false.
For firefox, elements: input, form-associated custom elements - when adding the readonly attribute, the willValidate getter changes to false (the unspecified elements that were in chrome obviously didn't change the state of the willValidate getter).
That is, we see that there are inconsistencies between implementations, but not only do the implementations not correspond to each other, but none of the implementations corresponds to the specification.
It feels like the specification needs to be edited. But in which direction? Chrome or Firefox?