<?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>19388</bug_id>
          
          <creation_ts>2012-10-09 10:45:08 +0000</creation_ts>
          <short_desc>&quot;Note: The value of complete can thus change while a script is executing.&quot; -- it would be nice if this was not the case. Is it needed for Web compat or was it just blindly copied from IE? It seems Chrome doesn&apos;t do it. http://software.hixie.ch/utilities/j</short_desc>
          <delta_ts>2012-12-30 20:10:30 +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>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#dom-img-complete</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>bzbarsky</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>75671</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-10-09 10:45:08 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html
Multipage: http://www.whatwg.org/C#dom-img-complete
Complete: http://www.whatwg.org/c#dom-img-complete

Comment:
&quot;Note: The value of complete can thus change while a script is executing.&quot; --
it would be nice if this was not the case. Is it needed for Web compat or was
it just blindly copied from IE? It seems Chrome doesn&apos;t do it.
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1828

Posted from: 81.231.170.159 by simonp@opera.com
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.7.4; U; en) Presto/2.10.289 Version/12.02</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75672</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-10-09 10:53:57 +0000</bug_when>
    <thetext>http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1829</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75768</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-10-10 02:11:37 +0000</bug_when>
    <thetext>Copied from Gecko, I believe. Opera does it too. Safari doesn&apos;t return true ever, in the test above, so I&apos;m not sure WebKit-based browsers are necessarily a good place to go for checking interop.

bz, do you know if this is required for compat?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75795</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-10-10 07:55:36 +0000</bug_when>
    <thetext>Chrome returns true for me. Safari as well if I increase the timeouts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78832</commentid>
    <comment_count>4</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2012-11-26 16:03:55 +0000</bug_when>
    <thetext>For web compat, the components of &quot;complete&quot; need to be able to change while script is running.  &quot;complete&quot; itself may not need to change, but it seems to be adding extra complexity to change it async somehow.  In particular, I suspect specifying it would be difficult.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78847</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-11-26 19:15:59 +0000</bug_when>
    <thetext>Can you elaborate on what components are needed for web compat?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78852</commentid>
    <comment_count>6</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2012-11-26 20:00:05 +0000</bug_when>
    <thetext>Primarily entering the &quot;completely available&quot; state.

But the other cases are also somewhat interesting.  If removeAttribute(&quot;src&quot;) happens on a broken image, should &quot;complete&quot; immediately start returning true as the spec suggests?  It&apos;s certainly easier to implement it that way....</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80629</commentid>
    <comment_count>7</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-12-27 00:25:19 +0000</bug_when>
    <thetext>zewt says IE9 does the same as WebKit, so we&apos;re 50:50.

I&apos;m leaning towards leaving the spec as is unless Opera is planning on changing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>