- From: Kris Krueger <krisk@microsoft.com>
- Date: Tue, 5 Oct 2010 14:57:03 +0000
- To: James Graham <jgraham@opera.com>
- CC: Philip Taylor <pjt47@cam.ac.uk>, Anne van Kesteren <annevk@opera.com>, "'public-html-testsuite@w3.org' (public-html-testsuite@w3.org)" <public-html-testsuite@w3.org>
It combines simple SVG support with canvas's drawImage. Surely you don't expect the SVG WG to start to write canvas tests. The SVG image is very simple - not exotic specifically so that it's not testing the actual SVG implementation. -----Original Message----- From: James Graham [mailto:jgraham@opera.com] Sent: Tuesday, October 05, 2010 7:47 AM To: Kris Krueger Cc: Philip Taylor; Anne van Kesteren; 'public-html-testsuite@w3.org' (public-html-testsuite@w3.org) Subject: Re: Canvas Test Submission approval/feedback request On 10/05/2010 04:17 PM, Kris Krueger wrote: > It's quite reasonable to expect that an img tag supports svg. > > http://www.w3.org/TR/2003/REC-SVG11-20030114/conform.html#ConformingSV > GViewers > > If the user agent includes an HTML or XHTML viewing capability or can > apply CSS/XSL styling properties to XML documents, then a Conforming > SVG Viewer must support resources of MIME type "image/svg+xml" > wherever raster image external resources can be used, such as in the > HTML or XHTML 'img' element and in CSS/XSL properties that can refer > to raster image resources (e.g., 'background-image'). Strictly speaking, that seems to be a conformance criterion of SVG 1.1, not of HTML. Therefore the SVG testsuite would be the right place to test it. As far as I can tell HTML 5 does not require SVG support and the references to SVG are to SVG 1.2 Tiny. Unless I am overlooking something, SVG 1.2 Tiny omits the conformance criterion that you mention. As a practical matter it may sometimes be necessary to go beyond the letter of the spec where it does not require support for specific formats e.g. it is hard to test video without assuming some set of possible codecs. It is unclear that this is such a case.
Received on Tuesday, 5 October 2010 14:57:38 UTC