[Bug 19033] New: <embed> should fire 'load' event so that it's more useful for e.g. SVG

https://www.w3.org/Bugs/Public/show_bug.cgi?id=19033

           Summary: <embed> should fire 'load' event so that it's more
                    useful for e.g. SVG
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#the
                    -embed-element
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec
        AssignedTo: dave.null@w3.org
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mjs@apple.com, mike@w3.org,
                    public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org, simonp@opera.com


This was was cloned from bug 9362 as part of operation LATER convergence.
Originally filed: 2010-03-28 22:55:00 +0000

================================================================================
 #0   contributor@whatwg.org                          2010-03-28 22:55:03 +0000 
--------------------------------------------------------------------------------
Section: http://www.whatwg.org/specs/web-apps/current-work/#the-embed-element

Comment:
<embed> should fire 'load' event so that it's more useful for e.g. SVG

Posted from: 85.227.159.51 by simonp@opera.com
================================================================================
 #1   Maciej Stachowiak                               2010-03-29 05:34:46 +0000 
--------------------------------------------------------------------------------
Why not just use <object> or <iframe> or <img> for SVG? <embed> seems like
about the worst choice of element to embed it with.
================================================================================
 #2   Ian 'Hixie' Hickson                             2010-04-02 07:17:47 +0000 
--------------------------------------------------------------------------------
EDITOR'S RESPONSE: This is an Editor'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't use <embed> with SVG. Use <img>.
================================================================================
 #3   Simon Pieters                                   2010-04-03 02:43:38 +0000 
--------------------------------------------------------------------------------
(In reply to comment #1)
> Why not just use <object> or <iframe> or <img> for SVG?

<object> is more verbose (not a lot, but still), <iframe> has a default border
and doesn't resize itself after the image, <img> doesn't support scripting.

> <embed> seems like
> about the worst choice of element to embed it with.

Why?

(In reply to comment #2)
> Rationale: Don't use <embed> with SVG.

Why not?

> Use <img>.

<img> doesn't support scripting.
================================================================================
 #4   Simon Pieters                                   2010-04-03 02:44:41 +0000 
--------------------------------------------------------------------------------
I think having a load event would also be useful when embedding scripted plugin
content.
================================================================================
 #5   Maciej Stachowiak                               2010-04-04 06:07:24 +0000 
--------------------------------------------------------------------------------
(In reply to comment #4)
> I think having a load event would also be useful when embedding scripted plugin
> content.

SVG aside, this use case seems reasonable to me.
================================================================================
 #6   Ian 'Hixie' Hickson                             2010-04-12 23:36:36 +0000 
--------------------------------------------------------------------------------
EDITOR'S RESPONSE: This is an Editor'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'd rather not add more features; I think we
should wait for what is specced already to be tested and implemented
interoperably. This isn't a critical feature since you can already do it fine
with <object>.
================================================================================

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Tuesday, 25 September 2012 21:57:03 UTC