W3C home > Mailing lists > Public > www-style@w3.org > April 2005

Re: aspect ratio of box

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 17 Apr 2005 21:02:12 +0000 (UTC)
To: Barry <barry@polisource.com>
Cc: Simon Siemens <simon.siemens@web.de>, www-style@w3.org
Message-ID: <Pine.LNX.4.61.0504172050290.7599@dhalsim.dreamhost.com>

On Sun, 17 Apr 2005, Barry wrote:
> Ian Hickson wrote:
> > The original dimensions are a markup-level concern. You can already do 
> > the above, just use height and width attributes in HTML.
> Yes, for HTML, but Simon Siemens wrote:
> > The HTML specification explicitly encourages the use of the width and 
> > height attribute to enable a stable layout while loading the whole 
> > page. However in the latest XHTML2 specification I can't find these 
> > two attributes anymore. Thus I assume it's a matter of the 
> > corresponding CSS specification.

Hm, that seems like a problem with XHTML2, not CSS.

> So maybe there needs to be something added to CSS to handle it. Since 
> the original dimensions would be used for the sole purpose of 
> calculating the styled dimensions, they can be considered part of the 
> style.

The original dimensions don't change on a media-dependant way. They're not 
stylistic, they're content. Even in the absense of all style, the images 
still have intrinsic dimensions.

The "height" and "width" attributes are effectively like the "type" 
attribute, they give the UA hints, but are merely informative and will be 
overriden once the real information is received.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 17 April 2005 21:02:18 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:17 UTC