<?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>13391</bug_id>
          
          <creation_ts>2011-07-27 16:53:14 +0000</creation_ts>
          <short_desc>Add a ScrollElementIntoView function</short_desc>
          <delta_ts>2011-09-22 16:33:03 +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>LC1 HTML Canvas 2D Context</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>a11y, a11ytf, a11y_canvas</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Rich Schwerdtfeger">schwer</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ayg</cc>
    
    <cc>chuck</cc>
    
    <cc>eoconnor</cc>
    
    <cc>ian</cc>
    
    <cc>jonas</cc>
    
    <cc>laura.lee.carlson</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-a11y</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</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>51562</commentid>
    <comment_count>0</comment_count>
    <who name="Rich Schwerdtfeger">schwer</who>
    <bug_when>2011-07-27 16:53:14 +0000</bug_when>
    <thetext>Canvas drawing elements are associated with elements in fallback content to support accessibility. These elements may be keyboard accessible and they are designed to provide semantics to platform accessibility API in the user agent. Also, these elements must have associated bounds within the canvas drawing space. Native  (in-browser) assistive technologies may wish to zoom these elements into view such that when coupled with the built in magnification features of today&apos;s browsers an in browser magnifier would be able to use this function to assist in zooming to the location of an entire drawing object that does not have focus.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51581</commentid>
    <comment_count>1</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-07-27 22:06:30 +0000</bug_when>
    <thetext>Is there something wrong with the existing scrollIntoView method defined by CSSOM View?

http://dev.w3.org/csswg/cssom-view/#dom-element-scrollintoview</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51630</commentid>
    <comment_count>2</comment_count>
    <who name="Rich Schwerdtfeger">schwer</who>
    <bug_when>2011-07-28 13:18:42 +0000</bug_when>
    <thetext>Aryeh,

Thanks for the question. This is dependent on these two bugs having a change proposal written which I have not submitted yet:

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13181
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13176

Where I plan to write a change proposal based on Jonas&apos; post:
http://lists.w3.org/Archives/Public/public-canvas-api/2011JulSep/0195.html

Here we would be assigning drawing paths to elements. Do you think that the CSS layout will support bound drawing paths? If you think so then we may not need this. If you are sure that it will then I can close this.


Rich</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52629</commentid>
    <comment_count>3</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:03:17 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55450</commentid>
    <comment_count>4</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2011-08-18 23:19:01 +0000</bug_when>
    <thetext>If we add the API that I proposed in
http://lists.w3.org/Archives/Public/public-canvas-api/2011JulSep/0195.html
then no more API would be needed. The normal scrollIntoView API from CSSOM View would be sufficient.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55453</commentid>
    <comment_count>5</comment_count>
    <who name="Charles Pritchard">chuck</who>
    <bug_when>2011-08-18 23:58:38 +0000</bug_when>
    <thetext>Do we want to address CSSOM further? It seems getBoundingClientRect / getClientRects would work as well, with Jonah&apos;s proposal.

http://www.w3.org/TR/cssom-view/#the-getclientrects-and-getboundingclientrect-methods</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55454</commentid>
    <comment_count>6</comment_count>
    <who name="Charles Pritchard">chuck</who>
    <bug_when>2011-08-19 00:00:28 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; Do we want to address CSSOM further? It seems getBoundingClientRect /
&gt; getClientRects would work as well, with Jonah&apos;s proposal.
&gt; 
&gt; http://www.w3.org/TR/cssom-view/#the-getclientrects-and-getboundingclientrect-methods


I meant Jonas&apos; proposal.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55479</commentid>
    <comment_count>7</comment_count>
    <who name="Rich Schwerdtfeger">schwer</who>
    <bug_when>2011-08-19 13:08:07 +0000</bug_when>
    <thetext>Jonas, so you believe the paths can be tied into the CSS layout engine? ... I don&apos;t know the lower layers of the browsers to answer this. ... If they can that is fantastic and yes I agree we would not need this added API.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55667</commentid>
    <comment_count>8</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2011-08-23 06:50:16 +0000</bug_when>
    <thetext>Yes they can.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55694</commentid>
    <comment_count>9</comment_count>
    <who name="Rich Schwerdtfeger">schwer</who>
    <bug_when>2011-08-23 14:08:08 +0000</bug_when>
    <thetext>Alright, then this can be closed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57077</commentid>
    <comment_count>10</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-09-21 17:24:17 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Did Not Understand Request
Change Description: no spec change
Rationale: Marking closed per reporter.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57081</commentid>
    <comment_count>11</comment_count>
    <who name="Rich Schwerdtfeger">schwer</who>
    <bug_when>2011-09-21 17:46:38 +0000</bug_when>
    <thetext>See thread.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57161</commentid>
    <comment_count>12</comment_count>
    <who name="Charles Pritchard">chuck</who>
    <bug_when>2011-09-22 16:33:03 +0000</bug_when>
    <thetext>(In reply to comment #10)
&gt; Status: Did Not Understand Request
&gt; Change Description: no spec change
&gt; Rationale: Marking closed per reporter.


The request is similar to the WHATWG proposed method scrollPathIntoView():
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#dom-context-2d-scrollpathintoview

scrollPathIntoView() works with the current path. scrollIntoView(element) would work with an element present in the Canvas subtree. This is already covered by CSSOM, we simply need to improve UA handling of DOM elements in the Canvas subtree. That work will likely move forward as development of Web Components (and the shadow tree) moves forward.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>