[Bug 9428] Permit <object> to be used without the data or type attribute present

http://www.w3.org/Bugs/Public/show_bug.cgi?id=9428


Michael A. Puls II <shadow2531@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |shadow2531@gmail.com




--- Comment #7 from Michael A. Puls II <shadow2531@gmail.com>  2010-09-12 16:21:13 ---
(In reply to comment #2)
> Reply to comment #1 From Ian 'Hixie' Hickson 2010-04-13 01:10:14 -------
> >> * there are some plug-ins that can be used without either @data or @type (they
> >> use <param> instead.
> >
> >Which ones? How does the UA know which plugin to start?
> 
> Webkit seems to be able to use <param> instead of @type and/or @data. And Opera
> has a very agressive attitude - it works with almost anything, last I checked.

With <object>, Opera invents @data in many situations for compatibility
(especially for pages where Opera ends up getting IE-only code/markup because
of bad browser detection).

For example:

<object>
    <param name="filename" value="file.wmv">
</object>

becomes:

<object data="file.wmv">
    <param name="filename" value="file.wmv">
</object>

Opera does all kinds of magic with <object>. However, that doesn't seem to be
necessary for all browsers, just Opera right now with its market share and it
be lucky enough to be hit by bad browser detection.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Sunday, 12 September 2010 16:21:15 UTC