Bug 148868

Summary: Value sanitization algorithms for month and week don't conform to HTML5 spec
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: akeerthi, cdumez, karlcow, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=200416

Description Ryosuke Niwa 2015-09-04 19:01:46 PDT
See
https://html.spec.whatwg.org/multipage/forms.html#month-state-(type=month)
https://html.spec.whatwg.org/multipage/forms.html#week-state-(type=week)

We don't seem to implement the sanitization algorithm properly according to
/html/semantics/forms/the-input-element/number.html
/html/semantics/forms/the-input-element/week.html
Comment 1 Radar WebKit Bug Importer 2015-09-04 19:02:43 PDT
<rdar://problem/22589724>
Comment 2 Sam Sneddon [:gsnedders] 2022-06-14 08:57:19 PDT
Is this just Bug 200416, where we don't support either (at least on macOS)?
Comment 3 Aditya Keerthi 2022-06-14 18:44:31 PDT
I think it might be worth keeping this as a separate bug until we validate our existing (partial) implementation.

Month/week inputs are currently off-by-default experimental features on macOS, there is some code in the tree for them.