Re: SVG as background image

On Monday, July 14, 2003, 3:27:33 PM, John wrote:


JJ> Do HTML 4.01 and CSS 2.0 support SVGs as background images?

HTML says nothing about user agents, it only defines a content type.

CSS does not specify any particular image types that must be
supported.

SVG does specify image types that must be supported; further, it says
that:

>> 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').

http://www.w3.org/TR/SVG11/conform.html#ConformingSVGViewers



-- 
 Chris                            mailto:chris@w3.org

Received on Monday, 14 July 2003 15:20:04 UTC