<?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>9061</bug_id>
          
          <creation_ts>2010-02-18 10:46:37 +0000</creation_ts>
          <short_desc>allow image maps on the canvas element.</short_desc>
          <delta_ts>2012-11-15 17:16:15 +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>pre-LC1 HTML Canvas 2D Context (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>a11y, a11ytf, a11y_canvas, NE, TrackerIssue</keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="steve faulkner">faulkner.steve</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>cooper</cc>
    
    <cc>dbolter</cc>
    
    <cc>faulkner.steve</cc>
    
    <cc>ian</cc>
    
    <cc>laura.lee.carlson</cc>
    
    <cc>lwatson</cc>
    
    <cc>mike</cc>
    
    <cc>mjs</cc>
    
    <cc>public-html-a11y</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>stevej</cc>
    
    <cc>w3c</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>32389</commentid>
    <comment_count>0</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2010-02-18 10:46:37 +0000</bug_when>
    <thetext>Allow image maps to be added to the canvas element:
&lt;canvas usemap=&quot;#test&quot;&gt;

This will make it easy for developers to add focusable interactive regions to canvas.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32468</commentid>
    <comment_count>1</comment_count>
    <who name="Laura Carlson">laura.lee.carlson</who>
    <bug_when>2010-02-20 10:12:28 +0000</bug_when>
    <thetext>Related References: 

Minutes from the canvas group
http://lists.w3.org/Archives/Public/public-canvas-api/2010JanMar/0148.html
Re: minutes: Canvas sub-group HTML A11y Task Force telecon, 2010-02-15
http://lists.w3.org/Archives/Public/public-canvas-api/2010JanMar/0160.html

Greg Houston:
http://demos.greghoustondesign.com/piechart/
http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-March/014136.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34276</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-03-31 21:29:38 +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: Rejected
Change Description: no spec change
Rationale: Unfortunately if we provide this we will be causing authors huge headaches, because while it would be possible to use canvas with image maps for the most trivial of pictures (pictures much better rendered on the server side), it becomes vastly more complicated to use image maps to do the slightest dynamic work once the canvas is made in any way more advanced. For example, any use of transforms, any use of large strokes, anything animated, etc, quickly makes it inordinately difficult to use image maps. In the meantime, all the use cases of image maps are trivially handled today using the API.

Therefore I think it would be a design mistake to do this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34282</commentid>
    <comment_count>3</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2010-03-31 21:54:24 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are
&gt; satisfied with this response, please change the state of this bug to CLOSED. If
&gt; you have additional information and would like the editor to reconsider, please
&gt; reopen this bug. If you would like to escalate the issue to the full HTML
&gt; Working Group, please add the TrackerRequest keyword to this bug, and suggest
&gt; title and text for the tracker issue; or you may create a tracker issue
&gt; yourself, if you are able to do so. For more details, see this document:
&gt;    http://dev.w3.org/html5/decision-policy/decision-policy.html
&gt; 
&gt; Status: Rejected
&gt; Change Description: no spec change
&gt; Rationale: Unfortunately if we provide this we will be causing authors huge
&gt; headaches, because while it would be possible to use canvas with image maps for
&gt; the most trivial of pictures (pictures much better rendered on the server
&gt; side), it becomes vastly more complicated to use image maps to do the slightest
&gt; dynamic work once the canvas is made in any way more advanced. For example, any
&gt; use of transforms, any use of large strokes, anything animated, etc, quickly
&gt; makes it inordinately difficult to use image maps. In the meantime, all the use
&gt; cases of image maps are trivially handled today using the API.
&gt; 
&gt; Therefore I think it would be a design mistake to do this.
&gt; 

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34285</commentid>
    <comment_count>4</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2010-03-31 22:17:21 +0000</bug_when>
    <thetext>http://www.w3.org/html/wg/tracker/issues/105</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34286</commentid>
    <comment_count>5</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2010-03-31 22:20:44 +0000</bug_when>
    <thetext>For what it&apos;s worth: I don&apos;t believe the WebKit project would object to allowing image maps on &lt;canvas&gt;. However, we would likely suggest in that case that &lt;area&gt; should be extended with a new shape that can specify an arbitrary bezier path.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35370</commentid>
    <comment_count>6</comment_count>
    <who name="Steve Jorgensen">stevej</who>
    <bug_when>2010-05-03 07:53:49 +0000</bug_when>
    <thetext>I disagree with the rejection response.  Just because there are many complex cases to which image maps would be hard to apply does not mean there are not a plethora of simple cases for which image maps would be extremely handy.

Using a mouse click to zoom in is a great example of where this would be handy.  Since browser-interoperable mouse position determination is so incredibly complicated, an image map makes a nice, simple solution, especially where (as is likely the case) the precision of the click position need not be extremely precise.

The only potentially convincing counterargument I can think of to adding image maps to canvas elements is that the same thing can be accomplished by overlaying transparent, absolutely-positioned anchors.  That is, however, a very kludgey way to handle it, and does not trivially deal with non-rectangular areas.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35509</commentid>
    <comment_count>7</comment_count>
    <who name="David Bolter">dbolter</who>
    <bug_when>2010-05-07 15:57:10 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; The only potentially convincing counterargument I can think of to adding image
&gt; maps to canvas elements is that the same thing can be accomplished by
&gt; overlaying transparent, absolutely-positioned anchors.  That is, however, a
&gt; very kludgey way to handle it, and does not trivially deal with non-rectangular
&gt; areas.

Yeah that has been bounced around.
E.g. http://lists.w3.org/Archives/Public/public-html/2010Feb/0186.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38325</commentid>
    <comment_count>8</comment_count>
    <who name="Michael Cooper">cooper</who>
    <bug_when>2010-08-31 14:06:03 +0000</bug_when>
    <thetext>http://lists.w3.org/Archives/Public/public-html-a11y/2010Aug/0124.html

The bug triage sub-team believes the HTML A11Y TF should take up this bug. Additional notes may follow in a separate comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39011</commentid>
    <comment_count>9</comment_count>
    <who name="Michael Cooper">cooper</who>
    <bug_when>2010-09-14 16:01:32 +0000</bug_when>
    <thetext>bug triage sub-team understands this is open for counter-proposals and needs no further tracking at TF level at this time</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42894</commentid>
    <comment_count>10</comment_count>
    <who name="Martin Kliehm">w3c</who>
    <bug_when>2010-11-30 12:12:55 +0000</bug_when>
    <thetext>This bug has been escaleted in ISSUE 105</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78359</commentid>
    <comment_count>11</comment_count>
    <who name="Léonie Watson">lwatson</who>
    <bug_when>2012-11-15 17:16:15 +0000</bug_when>
    <thetext>Comment via Rich Schwerdtfeger: We are not using this for canvas.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>