The following interfaces are defined below: SVGColorProfileElement, SVGColorProfileSrcElement, SVGColorProfileRule.


Interface SVGColorProfileElement

The SVGColorProfileElement interface corresponds to the 'color-profile' element.


IDL Definition
interface SVGColorProfileElement : 
                SVGElement,
                SVGRenderingIntent { 

           attribute DOMString      name;
                       // raises DOMException on setting
           attribute unsigned short renderingIntent;
                       // raises DOMException on setting
};

Attributes
DOMString name
Corresponds to property name within an @color-profile rule.
Exceptions on setting
DOMException
NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.
unsigned short renderingIntent
The type of rendering intent, identified by one of the SVGRenderingIntent constants.
Exceptions on setting
DOMException
NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.

Interface SVGColorProfileSrcElement

The SVGColorProfileSrcElement interface corresponds to the 'color-profile-src' element.


IDL Definition
interface SVGColorProfileSrcElement : 
                SVGElement,
                SVGURIReference {};


Interface SVGColorProfileRule

The SVGColorProfileRule interface represents an @color-profile rule in a CSS style sheet. An @color-profile rule identifies a ICC profile which can be referenced within a given document.

Support for the SVGColorProfileRule interface is only required in user agents that support styling with CSS.


IDL Definition
interface SVGColorProfileRule : 
                SVGCSSRule,
                SVGRenderingIntent { 

           attribute DOMString      src;
                       // raises DOMException on setting
           attribute DOMString      name;
                       // raises DOMException on setting
           attribute unsigned short renderingIntent;
                       // raises DOMException on setting
};

Attributes
DOMString src
Corresponds to property src within an @color-profile rule.
Exceptions on setting
DOMException
NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.
DOMString name
Corresponds to property name within an @color-profile rule.
Exceptions on setting
DOMException
NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.
unsigned short renderingIntent
The type of rendering intent, identified by one of the SVGRenderingIntent constants.
Exceptions on setting
DOMException
NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.