<?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>28040</bug_id>
          
          <creation_ts>2015-02-17 15:00:35 +0000</creation_ts>
          <short_desc>Comment about canvas high-res outdated?</short_desc>
          <delta_ts>2016-02-10 14:04:16 +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>MOVED</resolution>
          
          
          <bug_file_loc>https://html.spec.whatwg.org/#pixel-manipulation</bug_file_loc>
          <status_whiteboard>[good first bug]</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>annevk</cc>
    
    <cc>mike</cc>
    
    <cc>richarupela95</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>117987</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2015-02-17 15:00:35 +0000</bug_when>
    <thetext>Specification: https://html.spec.whatwg.org/multipage/scripting.html
Multipage: https://html.spec.whatwg.org/multipage/#pixel-manipulation
Complete: https://html.spec.whatwg.org/#pixel-manipulation
Referrer: https://html.spec.whatwg.org/multipage/

Comment:
Comment about canvas high-res outdated?

     // notice that we are using input.width and input.height here
     // as they might not be the same as canvas.width and canvas.height
     // (in particular, they might be different on high-res displays)

Is this correct given https://html5.org/r/8397 ?

Posted from: 90.230.218.37 by simonp@opera.com
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.35 Safari/537.36 OPR/28.0.1750.15 (Edition beta)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124953</commentid>
    <comment_count>1</comment_count>
    <who name="rits">richarupela95</who>
    <bug_when>2016-02-10 12:15:11 +0000</bug_when>
    <thetext>hello, could you give some more details for the issue, thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124955</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2016-02-10 12:45:49 +0000</bug_when>
    <thetext>I guess the comment could be updated to say something like &quot;In this case, input.width and input.height match canvas.width and canvas.height, but we&apos;ll use the former to make the code more generic.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124956</commentid>
    <comment_count>3</comment_count>
    <who name="rits">richarupela95</who>
    <bug_when>2016-02-10 12:59:38 +0000</bug_when>
    <thetext>&quot;In this case we are using, input.width and input.height which match canvas.width and canvas.height, but we&apos;ll use the former to make the code more generic.&quot;

Is this good?(just gave a try)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124957</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2016-02-10 13:02:04 +0000</bug_when>
    <thetext>Maybe it&apos;s better to keep it simpler: &quot;input.width and input.height happen to match canvas.width and canvas.width, but we&apos;ll use the former to keep the code generic.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124958</commentid>
    <comment_count>5</comment_count>
    <who name="rits">richarupela95</who>
    <bug_when>2016-02-10 13:10:50 +0000</bug_when>
    <thetext>okay right, cool.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124959</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2016-02-10 14:04:16 +0000</bug_when>
    <thetext>https://github.com/whatwg/html/pull/669</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>