<?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>25379</bug_id>
          
          <creation_ts>2014-04-17 21:38:43 +0000</creation_ts>
          <short_desc>&quot;Set bitmap dimensions&quot; undefined in canvas element section</short_desc>
          <delta_ts>2014-06-11 13:40:57 +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>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>CR</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jatinder Mann [MSFT]">jmann</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>robin</cc>
    
    <cc>travil</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>104054</commentid>
    <comment_count>0</comment_count>
    <who name="Jatinder Mann [MSFT]">jmann</who>
    <bug_when>2014-04-17 21:38:43 +0000</bug_when>
    <thetext>“Set bitmap dimensions” in the canvas element section of the HTML5 CR spec or latest editor’s draft doesn’t point to a definition[1]. If we look at the WHATWG spec, it has a definition[2]. Without this definition the canvas behavior is not fully specified in the HTML5 spec. E.g., the behavior for what are you supposed to do if the width attribute of the canvas element is not defined. 

[1] http://www.w3.org/html/wg/drafts/html/CR/scripting-1.html#the-canvas-
[2] http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#concept-canvas-set-bitmap-dimensions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104937</commentid>
    <comment_count>1</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2014-05-01 21:59:15 +0000</bug_when>
    <thetext>In order to hook this up properly, the HTML5.0 CR doc would need to link to the Canvas Level 2 spec, where &quot;set bitmap dimensions&quot;, among other pieces needed, is defined.

Right now, HTML5.0 only has a reference to Canvas Level 1. I&apos;m concerned about adding the reference to Canvas Level 2 as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104939</commentid>
    <comment_count>2</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2014-05-01 22:02:04 +0000</bug_when>
    <thetext>(For editor&apos;s reference:)

Also missing:
#reset-the-rendering-context-to-its-default-state
#scratch-bitmap
#hit-region-list (ALSO MISSING links)
#list-of-pending-interface-actions (not defined)
#output-bitmap</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107336</commentid>
    <comment_count>3</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2014-06-05 12:07:36 +0000</bug_when>
    <thetext>I have changed the way that the canvas specification is referenced and included a defining link for this (as well as for a number of others).

Travis: the links you list seem to be in the Canvas spec, not the HTML spec. They are indeed undefined there and should be made to point to HTML (using a &quot;dependencies&quot; section for indirection).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107443</commentid>
    <comment_count>4</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2014-06-06 19:33:20 +0000</bug_when>
    <thetext>..can&apos;t find the changelist?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107570</commentid>
    <comment_count>5</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2014-06-10 08:37:54 +0000</bug_when>
    <thetext>(In reply to Travis Leithead [MSFT] from comment #4)
&gt; ..can&apos;t find the changelist?

You mean https://github.com/w3c/html/commits/CR ? Or something else?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107603</commentid>
    <comment_count>6</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2014-06-11 00:55:18 +0000</bug_when>
    <thetext>(In reply to Robin Berjon from comment #5)
&gt; (In reply to Travis Leithead [MSFT] from comment #4)
&gt; &gt; ..can&apos;t find the changelist?
&gt; 
&gt; You mean https://github.com/w3c/html/commits/CR ? Or something else?

Yeah, that list; but which one specifically? (I bailed on opening each one to find the commit with this change in it--and none of the titles stood out as obviously related... this is just me being lazy of course...)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107651</commentid>
    <comment_count>7</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2014-06-11 13:40:57 +0000</bug_when>
    <thetext>(In reply to Travis Leithead [MSFT] from comment #6)
&gt; Yeah, that list; but which one specifically? (I bailed on opening each one
&gt; to find the commit with this change in it--and none of the titles stood out
&gt; as obviously related... this is just me being lazy of course...)

It&apos;s in https://github.com/w3c/html/commit/0013fa847c916bbeca63d29e9ef56f835c50dd9a. Maybe the laziness is more on whoever made the commit message for that change.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>