W3C home > Mailing lists > Public > www-svg@w3.org > August 2000

Re: SVGColorProfileRule creation

From: Jon Ferraiolo <jferraio@Adobe.COM>
Date: Wed, 16 Aug 2000 17:11:25 -0700
Message-Id: <200008170008.RAA13480@mail-345.corp.Adobe.COM>
To: bbrodie@savagesoftware.com (Blaine Brodie)
Cc: www-svg@w3.org
You can create an SVGColorProfileRule by invoking the insertRule() method
on the CSSStyleSheet interface and pass it a value of COLOR_PROFILE_RULE =
7. This assumes that the implementation knows about the SVG DOM and
supports CSS.

The CSSStyleSheet interface can be bootstrapped from the DocumentCSS
interface, which is on the SVGSVGElement.

Note that DOM2 explicitly says that you cannot create new document style
sheets via the DOM. See


At 01:51 PM 8/16/00 -0700, Blaine Brodie wrote:
>How is it possible to create a SVGColorProfileRule using the current DOM
>specification?  Is there supposed to be a interface that inherits from 
>DOMImplementationCSS?  Maybe named SVGDOMImplementationCSS??
>	interface SVGDOMImplementaionCSS: DOMImplementationCSS 
>	{}
>Thanks for the clarification.
Received on Wednesday, 16 August 2000 20:09:25 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:49 UTC