Re: Zero passing or One passing browser tests

On 11/18/2010 02:43 PM, Chris Lilley wrote:
> Also, I'm seeing some odd coding in the SVG images.
>
> <!-- only intrinsic ratio (portrait) -->
> <svg xmlns="http://www.w3.org/2000/svg" style="background: green"
>      viewport="0 0 6 4">
> </svg>
>
> This seems to depend on SVG supporting the 'background' property on the svg element, which may well be a useful extension but is currently not required by the SVG 1.1 specification.
>
> Here is an alternative which is conformant to the SVG spec. The rectangle will fill the entire SVG viewport.
>
> <!-- only intrinsic ratio (portrait) -->
> <svg xmlns="http://www.w3.org/2000/svg"
>      viewport="0 0 6 4">
>   <rect width="100% height="100% fill="green"/>
> </svg>

Fixed, thanks. :)

~fantasai

Received on Monday, 22 November 2010 07:05:51 UTC