Bug 279503

Summary: :user-invalid is not triggered on blur when not edited
Product: WebKit Reporter: Alex <alexander>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: agafvv, akeerthi, cdumez, koivisto, ntim, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Alex 2024-09-11 03:11:56 PDT
# Steps to reproduce the problem

1. Make a required input
2. Focus it
3. Blur it without editing

# Problem Description
:user-invalid should match this case but it doesn't, it only matches when user types anything and removed the value. Chrome behaves the same way, but Firefox works properly. When I tab through required inputs — I should be notified that those inputs are necessary when I leave them unedited. Filed a bug for Chrome too:
https://issues.chromium.org/issues/365802576
Comment 1 Radar WebKit Bug Importer 2024-09-18 03:12:15 PDT
<rdar://problem/136212280>