W3C home > Mailing lists > Public > public-xhtml2@w3.org > January 2009

Re: img element height and width

From: Alessio Cartocci <a.cartocci@webprofession.com>
Date: Wed, 28 Jan 2009 15:55:41 +0100
Message-ID: <263f692a0901280655j70c57802l7d0521851359f784@mail.gmail.com>
To: Tina Holmboe <tina@greytower.net>
Cc: Steven Pemberton <steven.pemberton@cwi.nl>, Shane McCarron <shane@aptest.com>, XHTML WG <public-xhtml2@w3.org>

+1.
I think those attributes are also useful for full accessibility of the
element itself.
For example if you look at the <object> element, it often needs to
have specified width and height attributes, otherwise it will not be
rendered correctly by the UA.

2009/1/28 Tina Holmboe <tina@greytower.net>:
>
> On 28 Jan, Steven Pemberton wrote:
>
>>> I think we should put these attributes back in.  Or provide guidance in
>>> the prose for how to work around their absense via CSS.
>>
>> I prefer the latter (since I prefer there to be just one way of doing it,
>> and the CSS way is better);
>> but I can live with the former.
>
>  The problem with the CSS method is that the CSS may not be read until
>  well into the UA starts rendering - if CSS is at all supported.
>
>  You have my vote on the former method.
>
Received on Wednesday, 28 January 2009 14:56:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 23 February 2010 18:12:50 GMT