<?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>21044</bug_id>
          
          <creation_ts>2013-02-19 09:05:58 +0000</creation_ts>
          <short_desc>HTMLImageElement&apos;s constructor should use optional arguments</short_desc>
          <delta_ts>2013-03-14 00:33:49 +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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugzilla.mozilla.org/show_bug.cgi?id=842376</see_also>
    
    <see_also>https://www.w3.org/Bugs/Public/show_bug.cgi?id=21046</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ms2ger">Ms2ger</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ehsan</cc>
    
    <cc>eoconnor</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>83313</commentid>
    <comment_count>0</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2013-02-19 09:05:58 +0000</bug_when>
    <thetext>+++ This bug was initially created as a clone of Bug #20554 +++

HTMLImageElement&apos;s constructor is currently defined as:

[NamedConstructor=Image(),
 NamedConstructor=Image(unsigned long width),
 NamedConstructor=Image(unsigned long width, unsigned long height)]
interface HTMLImageElement : HTMLElement {
...
};

It can probably simplified like this:

[NamedConstructor=Image(optional unsigned long width, optional unsigned long height)]
interface HTMLImageElement : HTMLElement {
...
};</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84380</commentid>
    <comment_count>1</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-03-14 00:33:49 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r7755.
Check-in comment: Clean up more IDL since WebIDL now supports better ways to say this
http://html5.org/tools/web-apps-tracker?from=7754&amp;to=7755</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>