On Sun, 02 Mar 2008 02:17:39 +0100, Jeff Schiller
<jeff_schiller@...> wrote:
> --- In svg-developers@yahoogroups.com, Jonathan Watt <jwatt@...> wrote:
>>
>> Firefox 3 betas should now be doing the spec mandated overriding of
> the width
>> and height of the SVG just as ASV does. The behavior of Firefox 2 is
> just plain
>> broken I'm afraid (it shouldn't scroll).
>>
>> I also checked the link above in Opera 9.50 beta build 9815 and
> Safari 3.0.4
>> (523.15) and they have the same broken behavior of Firefox 2
> (scrollbars).
>
> Jonathan,
>
> This is great news - I had no idea. This means that the large volume
> of art on places like openclipart.org are going to be much more
> directly usable for web page art in the future (if Opera and Safari
> clean this up).
Well, the scrollbars would go away for <object> and <embed>. That's all.
If the svg content doesn't specify the viewBox the content will not scale
to the defined viewport, it will be clipped.
> At the moment, I have to tidy up clip art by removing the width/height
> attributes on the <svg> element and adding a viewBox. With the proper
> overriding, this would no longer be necessary.
The viewBox would still have to be added. However, viewBox synthesizing is
a feature that could be added to SVG 1.2 Full if there's need for it. It's
rather trivial for the user agent to do, and it's still possible to do
using script I believe (or of course as you note, by manual editing).
Cheers
/Erik
--
Erik Dahlstrom, Core Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Personal blog: http://my.opera.com/macdev_ed