W3C home > Mailing lists > Public > www-style@w3.org > February 2000

Re: Scale

From: Chris Lilley <chris@w3.org>
Date: Fri, 25 Feb 2000 21:41:06 +0100
Message-ID: <38B6E8E2.8DE3DE69@w3.org>
To: isoma <isoma@compsoc.man.ac.uk>
CC: www-style@w3.org


isoma wrote:
> 
> On Sat, 19 Feb 2000, Chris Lilley wrote:
> 
> >> As far as I can tell it isn't possible to do this in CSS, but I would
> >> suggest that this be included.
> >
> >width: 4in; height: 19cm
> >
> >Seems to do the trick, using CSS2 properties, or am I missing some
> >subtlety?
> 
> Well, I wouldn't want to use the same technique to set the width and
> height for a map of Ireland.  This is because the physical size of
> Ireland is nothing like the size I'd suggest for a map of Ireland. 

Right. The width and heigh set the size of the map; we do not expoect to be
able to set the physical size of Ireland using this specification ;-)

>  In
> fact, I'd hope to avoid suggesting any size and letting the UA decide for
> itself, probably based on the size of the browser window.

That is one possibility, but seems to assume that the file is displayed
standalone and takes up the full size of the browser window. The SVG spec
explains how to do this case, and also other cases like an SVG graphic as
one part of a compound XML document.

> 
> >> I don't think that "width" and "height" would be appropriate for this
> >> use.
> >
> >That is what SVG uses.
> 
> Indeed, although I was referring to the CSS attributes (sorry for the
> ambiguity).  What I'm suggesting wouldn't be needed if all <objects> with
> a physical size were SVG objects; 

Ah. If you want to indicate the physical size of the real objects that are
being depicted in an SVG file, like Ireland or the Eiffel tower, that is
what the metadata element is for.

> however, I would not use SVG for an
> Escher print, or a photograph of a landscape. 

You could, though.

--
Chris
Received on Friday, 25 February 2000 15:42:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:04 GMT