W3cubDocs

/DOM

CSSNamespaceRule.namespaceURI

The CSSNamespaceRule.namespaceURI read-only property returns a DOMString containing the text of the URI of the given namespace.

Syntax

var namespaceURI = CSSNamespaceRule.namespaceURI

Returns

A DOMString containing a URI.

Specifications

Specification Status Comment
CSS Object Model (CSSOM)
The definition of 'namespaceURI' in that specification.
Working Draft Initial definition.

Browser compatibilityUpdate compatibility data on GitHub

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
Basic support 47 12 59 No 36 ?
Mobile
Android webview Chrome for Android Edge Mobile Firefox for Android Opera for Android iOS Safari Samsung Internet
Basic support 47 47 Yes 59 36 ? 5.0

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/CSSNamespaceRule/namespaceURI