Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

Re: Shorten <object> in XHTML 2.0?

From: William F Hammond <hammond@csc.albany.edu>
Date: 30 Jun 2003 11:16:13 -0400
To: Masayasu Ishikawa <mimasa@w3.org>
Cc: www-html@w3.org
Message-ID: <i7r85bd29u.fsf@hilbert.math.albany.edu>

Masayasu Ishikawa <mimasa@w3.org> writes:

> Draft, but since the second Working Draft the spec introduced
> the Embedding Attribute Collection [1], which means any element can
> embed an external resource (such as image), not just 'object'.  Most
> simple image inclusions will be done through the 'src' and 'type'
> attributes, and only complex cases will be dealt by the 'object'
> element.
> 
> [1] http://www.w3.org/TR/2003/WD-xhtml2-20030506/mod-attribute-collections.html#col_Embedding 

Cute, but unwise.

I quote from the cited section 6.6:

: Examples:
: 
: <p src="holiday.png" type="image/png">
:     <span src="holiday.gif" type="image/gif">
:         An image of us on holiday.
:     </span>
: </p>
: 
: <table src="temperature-graph.png" type="image/png">
: <caption>Average monthly temperature over the last 20 years</caption>
: <tr><th>Jan</th><th>Feb</th><th>Mar</th><th>Apr</th><th>May</th><th>Jun</th>
:     <th>Jul</th><th>Aug</th><th>Sep</th><th>Oct</th><th>Nov</th><th>Dec</th>
: </tr>
: <tr><td> 4</td><td> 2</td><td> 7</td><td> 9</td><td>13</td><td>16</td>
:     <td>17</td><td>17</td><td>14</td><td>11</td><td> 7</td><td> 4</td>
: </tr>
: </table>

With this design a user agent will waste time checking for non-empty
values of the src attribute for *every* inline and *every* block level
element.

Doesn't processing strategy usually involve looking only at particular
attributes of interest based on the name of the element?

                                    -- Bill
Received on Monday, 30 June 2003 11:16:17 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.