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. :) ~fantasaiReceived on Monday, 22 November 2010 07:05:51 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:26:52 UTC