<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>148868</bug_id>
          
          <creation_ts>2015-09-04 19:01:46 -0700</creation_ts>
          <short_desc>Value sanitization algorithms for month and week don&apos;t conform to HTML5 spec</short_desc>
          <delta_ts>2023-04-02 17:00:51 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Forms</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=200416</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>akeerthi</cc>
    
    <cc>cdumez</cc>
    
    <cc>karlcow</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1123806</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2015-09-04 19:01:46 -0700</bug_when>
    <thetext>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&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1123807</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2015-09-04 19:02:43 -0700</bug_when>
    <thetext>&lt;rdar://problem/22589724&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1875782</commentid>
    <comment_count>2</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2022-06-14 08:57:19 -0700</bug_when>
    <thetext>Is this just Bug 200416, where we don&apos;t support either (at least on macOS)?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1875942</commentid>
    <comment_count>3</comment_count>
    <who name="Aditya Keerthi">akeerthi</who>
    <bug_when>2022-06-14 18:44:31 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>