<?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>18117</bug_id>
          
          <creation_ts>2012-07-18 17:20:11 +0000</creation_ts>
          <short_desc>Shouldn&apos;t there be a setClip() rather than a resetClip().  There is already a transform() and setTransform().  Shouldn&apos;t clip follow the same conventions?</short_desc>
          <delta_ts>2014-06-20 23:06:55 +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>HTML Canvas 2D Context</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#dom-context-2d-resetclip</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Jay Munro">jaymunro</assigned_to>
          <cc>cabanier</cc>
    
    <cc>eoconnor</cc>
    
    <cc>erika.doyle</cc>
    
    <cc>jaymunro</cc>
    
    <cc>mike</cc>
    
    <cc>plh</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>70701</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 17:20:11 +0000</bug_when>
    <thetext>This was was cloned from bug 16704 as part of operation convergence.
Originally filed: 2012-04-11 22:29:00 +0000

================================================================================
 #0   contributor@whatwg.org                          2012-04-11 22:29:47 +0000 
--------------------------------------------------------------------------------
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html
Multipage: http://www.whatwg.org/C#dom-context-2d-resetclip
Complete: http://www.whatwg.org/c#dom-context-2d-resetclip

Comment:
Shouldn&apos;t there be a setClip() rather than a resetClip().  There is already a
transform() and setTransform().  Shouldn&apos;t clip follow the same conventions?

Posted from: 192.91.66.186
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.151 Safari/535.19
================================================================================</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72263</commentid>
    <comment_count>1</comment_count>
    <who name="Erika Doyle Navara">erika.doyle</who>
    <bug_when>2012-08-15 23:51:17 +0000</bug_when>
    <thetext>Moved to HTML Canvas 2D Context.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72443</commentid>
    <comment_count>2</comment_count>
    <who name="Jay Munro">jaymunro</who>
    <bug_when>2012-08-20 16:31:20 +0000</bug_when>
    <thetext>In the whatwg spec, setTransform() resets the matrix to identity, and then applies another transform. resetTransform just clears the matrix to the identity matrix. 

It appears that resetClip is more like resetTransform, and is just setting the clipping area back to the initial full coordinate space. 



================================================================================
&gt;  #0   contributor@whatwg.org                          
2012-04-11 22:29:47 /c#dom-context-2d-resetclip
&gt; Comment:
&gt; Shouldn&apos;t there be a setClip() rather than a resetClip().  There is already a
&gt; transform() and setTransform().  Shouldn&apos;t clip follow the same conventions?
&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72546</commentid>
    <comment_count>3</comment_count>
    <who name="rcabanie">cabanier</who>
    <bug_when>2012-08-22 21:49:22 +0000</bug_when>
    <thetext>Adding a setClip makes sense.
Moving to HTML.next since this is a new feature request.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81727</commentid>
    <comment_count>4</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2013-01-21 15:59:35 +0000</bug_when>
    <thetext>Mass move to &quot;HTML WG&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81845</commentid>
    <comment_count>5</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2013-01-21 16:02:21 +0000</bug_when>
    <thetext>Mass move to &quot;HTML WG&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83056</commentid>
    <comment_count>6</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2013-02-12 22:24:32 +0000</bug_when>
    <thetext>Fixing component.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108152</commentid>
    <comment_count>7</comment_count>
    <who name="Jay Munro">jaymunro</who>
    <bug_when>2014-06-20 23:06:55 +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: Resetclip removes the clipping region, and setTransform() sets it back to the identity matrix. Not really the same functionality.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>