- From: Dirk Schulze <dschulze@adobe.com>
- Date: Wed, 18 Apr 2012 13:56:17 -0700
- To: fantasai <fantasai.lists@inkedblade.net>
- CC: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
On Apr 18, 2012, at 11:57 AM, fantasai wrote: > On 04/18/2012 10:04 AM, Chris Lilley wrote: >> On Wednesday, April 18, 2012, 6:54:22 PM, Dirk wrote: >> >> DS> Hi, >> >> DS> I just saw that the Wiki for creating ref tests says: "Images >> DS> must be in PNG format."[1]. Can we be less strict here and allow >> DS> for instance SVG files as images as well? >> >> This is clearly needed, since some tests require a non-raster image whose size etc depends on the computation of viewports. >> >> And there are already tests that use SVG. > > Yes, SVG should be allowed. But only where a vector image is needed, as > not all CSS implementations support SVG. This is a vague definition :( For instance what about a test like this: http://hg.csswg.org/test/file/tip/contributors/aryehgregor/submitted/transform-background-005.html/ The test itself has nothing to do with SVG and it uses the flag SVG. Should it use a PNG instead? Dirk PS: I am always for using SVG as a replacement for bitmapped images where possible. So don't necessarily take my voice into account. :) > >> I suspect the restriction was to stop people unadvisedly using JPEG for sharp-edged raster images? If so, it should say that explicitly. > > We're not testing image formats here, so we picked one that was widely > supported and had what we needed (e.g. sharp edges, transparency). > There are non-browser implementations that use the CSS test suites; > "there's cross-browser support" and "I feel like it" is not reason enough > to allow other choices. > > The tools do some image-format munging in the XHTML for Printers output, > and could do so for other output formats as well if there are markets > that need a version of the test suite using e.g. GIF. > > ~fantasai >
Received on Wednesday, 18 April 2012 20:56:50 UTC