Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix willValidate tests for <fieldset> and <output>
Per https://html.spec.whatwg.org/multipage/#dom-cva-willvalidate "The *willValidate* attribute's getter must return true, if this element is a **candidate for constraint validation**, and false otherwise" Per https://html.spec.whatwg.org/multipage/#candidate-for-constraint-validation "A *submittable element* is a **candidate for constraint validation** except when [...]" Per https://html.spec.whatwg.org/multipage/#category-submit "Submittable elements: button, input, object, select, textarea" Since <fieldset> and <output> are not *submittable elements*, they are never *candidates for constraint validation*, and therefore their willValidate properties must always return false.
- Loading branch information