The CSSNamespaceRule interface describes an object representing a single CSS @namespace at-rule. It implements the CSSRule interface, with a type value of 10 (CSSRule.NAMESPACE_RULE).

Documentation CSSNamespaceRule by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Variables

read onlynamespaceURI:String

Returns a DOMString containing the text of the URI of the given namespace.

read onlyprefix:String

Returns a DOMString with the name of the prefix associated to this namespace. If there is no such prefix, returnsĀ  null.

Inherited Variables

Inherited Methods