W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > January to March 2001

RE: SVG Plugin from Adobe (sizing, flowing, and mixed media)

From: Bailey, Bruce <Bruce_Bailey@ed.gov>
Date: Thu, 4 Jan 2001 08:17:40 -0500
Message-ID: <5DCA49BDD2B0D41186CE00508B6BEBD030048F@wdcrobexc01.ed.gov>
To: "'w3c-wai-gl@w3.org'" <w3c-wai-gl@w3.org>
Cc: "'Kynn Bartlett'" <kynn-edapta@idyllmtn.com>
Kynn wrote:
> Now here's a dumb question for you -- can you set the size of a
> image, plugin, or applet in _ems_?  And if you do, and you change
> your font size, will those "viewports" resize themselves magically?
>
> I admit I haven't ever tested this, nor even thought about it,
> really.  Maybe it's a dumb idea, or maybe it's a cool idea.  I
> don't know.  If it works, it might be a technique for SVG and
> other scalable graphics formats.
 
I though this was a cool idea -- so much so that I experimented with it some
a couple weeks ago!
I though this would be a "poor mans solution" for scaling bit maps as well
as SVG. Unfortunately, it doesn't work!  Various recent flavors of IE and
Navigator get very confused.  The code doesn't validated either.  I then
looked up the 4.01 HTML specs, and the two choices for sizing things where
this technique would be valuable (tables, images, objects) are percentages
and pixels.  That's it.  Using percentages does allow images (SVG or GIF or
JPEG or PNG) to scale, but this only works one changes window size.  (So, in
effect, this technique allows one to shrink images, but not to grow them!)
This experiment was with width="xx%".  Trying various options for
height="xx%" only seemed to confuse the browsers.
 
Now, can anyone tell me if XHTML is so limited?

-- Bruce
Received on Thursday, 4 January 2001 08:18:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:47:09 GMT