<?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>24298</bug_id>
          
          <creation_ts>2014-01-15 13:11:56 +0000</creation_ts>
          <short_desc>The CR version of the canvas spec has a wrong header</short_desc>
          <delta_ts>2014-03-23 01:53:37 +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>CR HTML Canvas 2D Context</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NEEDSINFO</resolution>
          
          <see_also>https://www.w3.org/Bugs/Public/show_bug.cgi?id=24297</see_also>
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>21045</dependson>
    
    <dependson>21046</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Masatoshi Kimura">VYV03354</reporter>
          <assigned_to name="rcabanie">cabanier</assigned_to>
          <cc>bzbarsky</cc>
    
    <cc>cabanier</cc>
    
    <cc>ehsan</cc>
    
    <cc>eoconnor</cc>
    
    <cc>hsivonen</cc>
    
    <cc>ian</cc>
    
    <cc>mike</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>98495</commentid>
    <comment_count>0</comment_count>
    <who name="Masatoshi Kimura">VYV03354</who>
    <bug_when>2014-01-15 13:11:56 +0000</bug_when>
    <thetext>For example, the WHATWG spec has the &quot;resolution&quot; attribute for the ImageData interface, but W3C&apos;s one is not.

Note that this is only a tiny example of gazillions of differences.

+++ This bug was initially created as a clone of Bug #21045 +++

I was totally confused by HTMLImageElement&apos;s named constructor.
If both spec editors won&apos;t work together, which spec do we have to follow?
(Of course you will say &quot;The WHATWG&apos;s one.&quot; :)
It would be the nightmare if implementers have to watch both specs and determine which description is newer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98511</commentid>
    <comment_count>1</comment_count>
    <who name="rcabanie">cabanier</who>
    <bug_when>2014-01-15 17:17:49 +0000</bug_when>
    <thetext>What version of the W3C spec are you looking at?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98512</commentid>
    <comment_count>2</comment_count>
    <who name="Masatoshi Kimura">VYV03354</who>
    <bug_when>2014-01-15 18:09:08 +0000</bug_when>
    <thetext>(In reply to rcabanie from comment #1)
&gt; What version of the W3C spec are you looking at?

The latest HTML Canvas 2D Context, Level 2 Nightly &lt;http://www.w3.org/html/wg/drafts/2dcontext/html5_canvas/&gt;.
Both of this spec and HTML Living Standard are updated daily which is really really confusing. Which is the latest? Why both continue to update with different content?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98517</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-01-15 20:30:48 +0000</bug_when>
    <thetext>I agree that this sucks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98519</commentid>
    <comment_count>4</comment_count>
    <who name="rcabanie">cabanier</who>
    <bug_when>2014-01-15 20:51:35 +0000</bug_when>
    <thetext>(In reply to Masatoshi Kimura from comment #2)
&gt; (In reply to rcabanie from comment #1)
&gt; &gt; What version of the W3C spec are you looking at?
&gt; 
&gt; The latest HTML Canvas 2D Context, Level 2 Nightly
&gt; &lt;http://www.w3.org/html/wg/drafts/2dcontext/html5_canvas/&gt;.

That one should be in sync with the WhatWG version.

&gt; the WHATWG spec has the &quot;resolution&quot; attribute for the ImageData interface, 
&gt; but W3C&apos;s one is not.

The HTML editors must have missed that. I will look into this.

&gt; Both of this spec and HTML Living Standard are updated daily which is really
&gt; really confusing. Which is the latest? 

What do you mean by latest? The latest proposed feature set (= WhatWG) or the spec that contains all implemented features?


&gt; Why both continue to update with different content?

The version on the w3c site is a DRAFT and is not meant for public consumption. At some point in the future, the editors will make sure that the document validates and matches the WhatWG. We will then remove the features that are not implemented across browsers and publish a new spec.

By continually integrating Ian&apos;s changes, we can catch integration issues now so we don&apos;t waste a lot of time later.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98520</commentid>
    <comment_count>5</comment_count>
    <who name="rcabanie">cabanier</who>
    <bug_when>2014-01-15 21:18:57 +0000</bug_when>
    <thetext>(In reply to Masatoshi Kimura from comment #0)
&gt; For example, the WHATWG spec has the &quot;resolution&quot; attribute for the
&gt; ImageData interface, but W3C&apos;s one is not.
&gt; 
Update: 
when I build the level 2 canvas spec locally, the resolution attribute is there. There seems to be an issue so the spec is not in sync.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98521</commentid>
    <comment_count>6</comment_count>
    <who name="Masatoshi Kimura">VYV03354</who>
    <bug_when>2014-01-15 21:26:36 +0000</bug_when>
    <thetext>I noticed the Latest Editor&apos;s Draft points [1] which is indeed in sync with WHATWG&apos;s one. When I filed this bug, I found [2] by googling. What is this?

[1] http://www.w3.org/html/wg/drafts/2dcontext/master/
[2] http://www.w3.org/html/wg/drafts/2dcontext/html5_canvas/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98524</commentid>
    <comment_count>7</comment_count>
    <who name="rcabanie">cabanier</who>
    <bug_when>2014-01-15 21:42:43 +0000</bug_when>
    <thetext>(In reply to Masatoshi Kimura from comment #6)
&gt; I noticed the Latest Editor&apos;s Draft points [1] which is indeed in sync with
&gt; WHATWG&apos;s one. When I filed this bug, I found [2] by googling. What is this?
&gt; 
&gt; [1] http://www.w3.org/html/wg/drafts/2dcontext/master/
&gt; [2] http://www.w3.org/html/wg/drafts/2dcontext/html5_canvas/

good catch!
The w3c server is using the wrong header with the &apos;html5_canvas&apos; version. That is the proposed CR which reflects the state of about a year ago (give or take a couple of features)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98526</commentid>
    <comment_count>8</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-01-15 22:19:47 +0000</bug_when>
    <thetext>Reassigning to rik since apparently the problem is on the W3C side.

Please reassign to me if there&apos;s something I can fix. Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98531</commentid>
    <comment_count>9</comment_count>
    <who name="rcabanie">cabanier</who>
    <bug_when>2014-01-15 22:32:57 +0000</bug_when>
    <thetext>(In reply to Masatoshi Kimura from comment #6)
&gt; I noticed the Latest Editor&apos;s Draft points [1] which is indeed in sync with
&gt; WHATWG&apos;s one. When I filed this bug, I found [2] by googling. What is this?

Those specs are there for the HTML editors so we can see that the w3c publishing system is working. (Most of us don&apos;t have direct access to the w3c servers.)
They are not blessed releases but since you can find them through Google, we should make it clear what they contain.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98652</commentid>
    <comment_count>10</comment_count>
    <who name="Masatoshi Kimura">VYV03354</who>
    <bug_when>2014-01-16 20:04:06 +0000</bug_when>
    <thetext>Updating the summary according to the comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102795</commentid>
    <comment_count>11</comment_count>
    <who name="rcabanie">cabanier</who>
    <bug_when>2014-03-23 01:53:37 +0000</bug_when>
    <thetext>(In reply to Masatoshi Kimura from comment #10)
&gt; Updating the summary according to the comment.

Please let me know if this is still an issue.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>