<?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>21045</bug_id>
          
          <creation_ts>2013-02-19 12:48:56 +0000</creation_ts>
          <short_desc>W3C HTML 5.1 Nightly and WHATWG HTML should sync each other as much as possible</short_desc>
          <delta_ts>2014-01-15 13:11:56 +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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          <see_also>https://bugzilla.mozilla.org/show_bug.cgi?id=842376</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>21046</blocked>
    
    <blocked>24297</blocked>
    
    <blocked>24298</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Masatoshi Kimura">VYV03354</reporter>
          <assigned_to name="Robin Berjon">robin</assigned_to>
          <cc>ehsan</cc>
    
    <cc>eoconnor</cc>
    
    <cc>hsivonen</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>silviapfeiffer1</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>83317</commentid>
    <comment_count>0</comment_count>
    <who name="Masatoshi Kimura">VYV03354</who>
    <bug_when>2013-02-19 12:48:56 +0000</bug_when>
    <thetext>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 W3C&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>83360</commentid>
    <comment_count>1</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-02-20 00:37:10 +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-v2.html

Status: Rejected

Change Description: none

Rationale: 

There are always a few commits on the WHATWG spec that haven&apos;t been cherry-picked on the HTML5.1 spec yet, but there&apos;s at most a delay of a week or two. I think you might find that both specs agree on this IDL for HTMLImageElement right now.

http://www.w3.org/TR/html5/single-page.html#the-img-element
http://www.whatwg.org/specs/web-apps/current-work/#the-img-element

As for advice on which spec to watch: that really depends on where the work around a specific feature is happening at that time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83361</commentid>
    <comment_count>2</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2013-02-20 00:52:03 +0000</bug_when>
    <thetext>I changed the resolution from INVALID to WORKSFORME, since the editorial team is actively trying to keep things in sync as much as possible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83365</commentid>
    <comment_count>3</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-02-20 01:50:24 +0000</bug_when>
    <thetext>Fair enough. I reacted to the differences between the IDLs, which did not exist. :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83366</commentid>
    <comment_count>4</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-02-20 02:39:17 +0000</bug_when>
    <thetext>Just to be complete: the HTML5.1 spec constructor also agrees:
http://www.w3.org/TR/html51/embedded-content-0.html#the-img-element</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83377</commentid>
    <comment_count>5</comment_count>
    <who name="Masatoshi Kimura">VYV03354</who>
    <bug_when>2013-02-20 11:07:09 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; Just to be complete: the HTML5.1 spec constructor also agrees:
&gt; http://www.w3.org/TR/html51/embedded-content-0.html#the-img-element

Please see 
http://www.w3.org/html/wg/drafts/html/master/embedded-content-0.html#the-img-element
and
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20554
The named constructor definition is
[NamedConstructor=Image(optional unsigned long width, optional unsigned long height)]
there which disagrees your URL.

Where is the latest spec? This is the very example of the confusion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83380</commentid>
    <comment_count>6</comment_count>
    <who name="Masatoshi Kimura">VYV03354</who>
    <bug_when>2013-02-20 11:26:37 +0000</bug_when>
    <thetext>When I open &lt;http://www.w3.org/TR/html51/&gt;, I saw the following message:
&gt; This is a work in progress! For the latest updates from the HTML WG, possibly including important bug fixes, please look at the editor&apos;s draft instead. 

I said WHATWG spec should sync with HTML 5.1 *Nightly* (formerly Editor&apos;s draft) in the summary.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83934</commentid>
    <comment_count>7</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-03-04 12:26:28 +0000</bug_when>
    <thetext>Not sure why this was changed, but assigning this to Robin, who applied the patch in https://github.com/w3c/html/commit/90bc0983729a9c351f8d6cc5632b6429920b6c0d

I believe this merge may have been done by mistake, because editorial_fixes should be merged into CR HTML5.0, but not into master (i.e. HTML5.1).

Robin to clarify?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84246</commentid>
    <comment_count>8</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2013-03-11 16:24:36 +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: Accepted
Change Description: none
Rationale:

The specifications are actively being aligned, and are in sync on the vast majority of the content. If however you expect them to be in sync at any given time, well, the only way that can happen is if they were the same document — and that isn&apos;t the case.

The specific difference you cite is both small and recent. It is unreasonable to expect it to be synced immediately. Note that it is purely editorial (and was included deliberately) and makes no difference to script. It&apos;s just a simpler expression of the same thing that does not introduce any interoperability issues.

To summarise: we&apos;re aware that sync is needed, and we&apos;re working on it. I don&apos;t believe that having a bug open on the topic helps.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84276</commentid>
    <comment_count>9</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-03-12 00:31:27 +0000</bug_when>
    <thetext>Robin, sorry to be a pain, but the specific issue that was pointed out still needs addressing. I am curious why we changed the constructor instead of going with the WHATWG spec&apos;s. Was there a bug about it? Is this something we should also ask the WHATWG to adopt?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84278</commentid>
    <comment_count>10</comment_count>
    <who name="Ehsan Akhgari [:ehsan]">ehsan</who>
    <bug_when>2013-03-12 01:13:09 +0000</bug_when>
    <thetext>(In reply to comment #9)
&gt; Robin, sorry to be a pain, but the specific issue that was pointed out still
&gt; needs addressing. I am curious why we changed the constructor instead of
&gt; going with the WHATWG spec&apos;s. Was there a bug about it? Is this something we
&gt; should also ask the WHATWG to adopt?

I filed bug 20554 in the wrong component (I meant to file it in the WHATWG component.)  Bug 21044 is on file to fix this in the WHATWG spec as well, but it has not been fixed yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84279</commentid>
    <comment_count>11</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-03-12 01:53:48 +0000</bug_when>
    <thetext>OK, thanks, that works for me.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>