Summary: | Fix :user-invalid/:user-valid interactions with form reset & submission | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Simon Welsh <simon> | ||||
Component: | CSS | Assignee: | Tim Nguyen (:ntim) <ntim> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | ntim, simon.fraser, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | Safari Technology Preview | ||||||
Hardware: | Mac (Intel) | ||||||
OS: | macOS 12 | ||||||
See Also: | https://github.com/web-platform-tests/wpt/pull/41378 | ||||||
Attachments: |
|
*** Bug 257989 has been marked as a duplicate of this bug. *** Pull request: https://github.com/WebKit/WebKit/pull/16465 Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/41378 Committed 266702@main (b148a49fc1bd): <https://commits.webkit.org/266702@main> Reviewed commits have been landed. Closing PR #16465 and removing active labels. |
Created attachment 466672 [details] Example.html When submitting a form that has required inputs, :user-invalid is not triggered for these required inputs. In the attached example, I'd expect all inputs to have a red border when submitting the form without providing any values.