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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>25473</bug_id>
          
          <creation_ts>2014-04-26 00:04:43 +0000</creation_ts>
          <short_desc>[Custom]: Add support for focus navigation similar to input type=date</short_desc>
          <delta_ts>2015-07-06 08:18:07 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>HISTORICAL - Component Model</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>14968</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Steve Orvell">sorvell</reporter>
          <assigned_to name="Takayoshi Kochi">kochi</assigned_to>
          <cc>annevk</cc>
    
    <cc>hayato</cc>
    
    <cc>kochi</cc>
    
    <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>104482</commentid>
    <comment_count>0</comment_count>
    <who name="Steve Orvell">sorvell</who>
    <bug_when>2014-04-26 00:04:43 +0000</bug_when>
    <thetext>See the following example (in Chrome):

http://jsbin.com/wiqutiku/1/quiet

Imagine if &lt;input type=&quot;date&quot;&gt; element was implemented as a custom element. The author would need to create the custom focus behavior this element has.

Special behavior occurs when focus enters and leaves the element. When focus enters the element in the forward navigation direction, the element needs to focus the month field. When the focus enters the element in the backward direction, the element needs to focus the year field. When the focus leaves the month field in the backwards direction, the element needs to shift focus from itself to the previous element in the focus flow. When the focus leaves the year field in the forward direction, the element can simply let the focus naturally flow to the next element.

Here&apos;s a strawman for one way this could work:

 - add willFocusCallback and willBlurCallback custom element callbacks and provide the focus navigation direction and currently focused element as arguments.
 - add a way to tell the platform to focus the &apos;next&apos; or &apos;previous&apos; element in the focus flow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117996</commentid>
    <comment_count>1</comment_count>
    <who name="Takayoshi Kochi">kochi</who>
    <bug_when>2015-02-18 07:59:23 +0000</bug_when>
    <thetext>This is in progress in Blink implementation - design doc at
https://docs.google.com/a/chromium.org/document/d/1k93Ez6yNSyWQDtGjdJJqTBPmljk9l2WS3JTe5OHHB50/edit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121760</commentid>
    <comment_count>2</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2015-07-06 08:18:07 +0000</bug_when>
    <thetext>Moved to https://github.com/w3c/webcomponents/issues/150</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>