<?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>16704</bug_id>
          
          <creation_ts>2012-04-11 22:29:47 +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>2012-09-14 18:07:27 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</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>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>66626</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-04-11 22:29:47 +0000</bug_when>
    <thetext>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>70702</commentid>
    <comment_count>1</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 17:20:14 +0000</bug_when>
    <thetext>This bug was cloned to create bug 18117 as part of operation convergence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73938</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-09-14 18:07:27 +0000</bug_when>
    <thetext>clip() and transform() are analogous. There&apos;s no equivalent of setTransform() for clip (you have to reset then clip), and no equivalent of resetClip() for transforms (you have to set it to the identity matrix).

Given that, the current naming is consistent. One could argue that we should provide different functionality, I guess, but the current methods are based on what we expect to be common.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>