<?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>9362</bug_id>
          
          <creation_ts>2010-03-28 22:55:03 +0000</creation_ts>
          <short_desc>&lt;embed&gt; should fire &apos;load&apos; event so that it&apos;s more useful for e.g. SVG</short_desc>
          <delta_ts>2013-04-25 22:27:11 +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>DUPLICATE</resolution>
          <dup_id>16136</dup_id>
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#the-embed-element</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>ian</cc>
    
    <cc>mike</cc>
    
    <cc>mjs</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>robin</cc>
    
    <cc>zcorpan</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>34020</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2010-03-28 22:55:03 +0000</bug_when>
    <thetext>Section: http://www.whatwg.org/specs/web-apps/current-work/#the-embed-element

Comment:
&lt;embed&gt; should fire &apos;load&apos; event so that it&apos;s more useful for e.g. SVG

Posted from: 85.227.159.51 by simonp@opera.com</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34053</commentid>
    <comment_count>1</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2010-03-29 05:34:46 +0000</bug_when>
    <thetext>Why not just use &lt;object&gt; or &lt;iframe&gt; or &lt;img&gt; for SVG? &lt;embed&gt; seems like about the worst choice of element to embed it with.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34410</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-04-02 07:17:47 +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: Rejected
Change Description: no spec change
Rationale: Don&apos;t use &lt;embed&gt; with SVG. Use &lt;img&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34461</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2010-04-03 02:43:38 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Why not just use &lt;object&gt; or &lt;iframe&gt; or &lt;img&gt; for SVG?

&lt;object&gt; is more verbose (not a lot, but still), &lt;iframe&gt; has a default border and doesn&apos;t resize itself after the image, &lt;img&gt; doesn&apos;t support scripting.

&gt; &lt;embed&gt; seems like
&gt; about the worst choice of element to embed it with.

Why?

(In reply to comment #2)
&gt; Rationale: Don&apos;t use &lt;embed&gt; with SVG.

Why not?

&gt; Use &lt;img&gt;.

&lt;img&gt; doesn&apos;t support scripting.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34462</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2010-04-03 02:44:41 +0000</bug_when>
    <thetext>I think having a load event would also be useful when embedding scripted plugin content.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34483</commentid>
    <comment_count>5</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2010-04-04 06:07:24 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; I think having a load event would also be useful when embedding scripted plugin
&gt; content.

SVG aside, this use case seems reasonable to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34816</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-04-12 23:36: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: Rejected
Change Description: no spec change
Rationale: Yeah, I could see a use case for firing a load event with regular plugins. At this point though I&apos;d rather not add more features; I think we should wait for what is specced already to be tested and implemented interoperably. This isn&apos;t a critical feature since you can already do it fine with &lt;object&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82052</commentid>
    <comment_count>7</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2013-01-24 07:22:21 +0000</bug_when>
    <thetext>This bug was cloned to create HTML WG bug 19033.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84664</commentid>
    <comment_count>8</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-03-19 22:38:14 +0000</bug_when>
    <thetext>Would fixing bug 16136 make this moot?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86824</commentid>
    <comment_count>9</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-04-25 22:27:11 +0000</bug_when>
    <thetext>I&apos;m just going to let this happen automatically as part of bug 16136.

*** This bug has been marked as a duplicate of bug 16136 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>