On Aug 9, 2006, at 6:12 PM, Matthew Cruickshank wrote:

Here's some versions with SVG's width/height removed...

http://holloway.co.nz/wellypug/svg/svg-test1a.html
http://holloway.co.nz/wellypug/svg/svg-test1b.html

In test1a the SVG now scales based on CSS constraints which are a fixed pixel size. In test1b the CSS constraints are percentage based rules, and as you resize the browser window you'll see that preserving the aspect ratio means that the text will only line-up some of the time.

http://holloway.co.nz/wellypug/svg/svg-test2.html

This one resizes a second SVG without an aspect ratio, and keeps the text pretty-much where it should be regardless of the browser window.

I don't have Opera/Safari to test on unfortunately, so I don't know if this will work on them.

Safari doesn't support .svg. Yet. The nightly Webkit builds and Omniweb 5.5beta (Webjit based) do support it, and display your 3 test files the same way as Camino (Gecko trunk build) and BonEcho (Firefox 2.0 beta) do. Opera 9.01 Mac is identical in display as the others.
No Firefox 1.5 on this PowerBook.

Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>





******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to