W3C home > Mailing lists > Public > www-html@w3.org > February 2004

Please remove the src and type attributes.

From: Orion Adrian <oadrian@hotmail.com>
Date: Tue, 10 Feb 2004 13:10:20 -0500
To: <www-html@w3.org>
Message-ID: <BAY1-DAV530C9guA8M600005db5@hotmail.com>
It is my feeling that the src and type attributes just add clutter to the
new spec.  The consolidation of outside content to the object tag I thought
was a stroke of genius.  The problem that I see with the src and type
attributes is that they are incomplete.  They are incomplete for the same
reason that the object tag and its attributes and sub-elements like param
are needed.  The src and type elements replicate incompletely behavior
defined elsewhere and they are unnecessary.  To take the src and type
example from the spec:

 
<p src="holiday.png" type="image/png">
    <span src="holiday.gif" type="image/gif">
        An image of us on holiday.
    </span>
</p>
 

This is equivalent to:

 

<object data="holiday.png" type="image/png">
    <object data="holiday.gif" type="image/gif">
        An image of us on holiday.
    </object>
</object>

 

The above means exactly what I meant it to mean.  I also now get the benefit
of being able to use all of the benefits of using the object tag including
the ability to present things that require param tags and other information.
Personally I like the idea of object replacing _all_ external references to
objects including script references.  I think it produces a much more robust
model and one that is still very simple to use.

 

Orion Adrian
Received on Tuesday, 10 February 2004 13:04:42 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:19:04 UTC