W3C home > Mailing lists > Public > public-css-testsuite@w3.org > August 2011

Tests for SVG background images (was Re: [css3-background] 'background-size: auto auto' and images with intrinsic size in one dimension)

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 8 Aug 2011 15:47:33 -0700
To: Brian Manthos <brianman@microsoft.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Boris Zbarsky <bzbarsky@mit.edu>, public-css-testsuite@w3.org, Jeff Walden <jwalden@mit.edu>
Message-ID: <20110808224733.GA896@pickering.dbaron.org>
[ moving to public-css-testsuite from www-style ]

On Monday 2011-08-08 20:36 +0000, Brian Manthos wrote:
> Please submit some test cases on this.  Because it's gone well
> beyond simple at this point.

Would adding some reftests to
contributors/mozilla/submitted/css3-background/ be the right thing
to do here?  (Jeff Walden has written a whole bunch of tests for
this stuff.)

-David

> -----Original Message-----
> From: Tab Atkins Jr. [mailto:jackalmage@gmail.com] 
> Sent: Monday, August 08, 2011 1:31 PM
> To: Brian Manthos
> Cc: L. David Baron; Boris Zbarsky (bzbarsky@MIT.EDU); www-style@w3.org
> Subject: Re: [css3-background] 'background-size: auto auto' and images with intrinsic size in one dimension
> 
> On Mon, Aug 8, 2011 at 1:27 PM, Brian Manthos <brianman@microsoft.com> wrote:
> > I was referring to background-image, not <image>...
> 
> There is no distinction here.  In either case, you're including an SVG by reference, and have to establish the size of its viewport.  This is separate from sizing the root <svg> element.
> 
> ~TJ
> 

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla Corporation               http://www.mozilla.com/   𝄂
Received on Monday, 8 August 2011 22:48:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 8 August 2011 22:48:13 GMT