<?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>27264</bug_id>
          
          <creation_ts>2014-11-07 02:26:09 +0000</creation_ts>
          <short_desc>Scrolling behaviour is too prescriptive. Should follow behaviour of other focusable elements.</short_desc>
          <delta_ts>2014-12-12 17:30:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>CR HTML Canvas 2D Context</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Sadecki">mark.sadecki+w3c</reporter>
          <assigned_to name="Rik Cabanier">cabanier</assigned_to>
          <cc>cabanier</cc>
    
    <cc>public-html-admin</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>114635</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Sadecki">mark.sadecki+w3c</who>
    <bug_when>2014-11-07 02:26:09 +0000</bug_when>
    <thetext>When a canvas is not displayed in the viewport and focus is moved to a focusable child element of the canvas, the spec says that the canvas should scroll so that it aligns with the top of the screen.  This is the expected behaviour if the canvas is above the viewport.  However, if it is below, one would expect the page to scroll just enough so that the canvas is visible at the bottom of the viewport, much like the behaviour expected when one moves focus to any other focusable element that is beyond the bounds of the viewport.

Recommend changing the following:

If the focus area is not on the screen, then scroll the focus outline into view by aligning it to the top when it receives focus. 

to:

If the focus area is not on the screen, then scroll the focus outline into view  when it receives focus.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116227</commentid>
    <comment_count>1</comment_count>
    <who name="rcabanie">cabanier</who>
    <bug_when>2014-12-12 17:30:36 +0000</bug_when>
    <thetext>Submitted with https://github.com/w3c/html/commit/cff56d6a7c26c95f48bb695e3a5e30c69e7ddd23</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>