W3cubDocs

/DOM

LinkStyle

The LinkStyle interface allows to access the associated CSS style sheet of a node.

LinkStyle is a raw interface and no object of this type can be created; it is implemented by HTMLLinkElement and HTMLStyleElement objects.

Properties

There is no inherited property.

LinkStyle.sheet Read only
Returns the StyleSheet object associated with the given element, or null if there is none.

Methods

This interface implements no method.

Specifications

Browser compatibilityUpdate compatibility data on GitHub

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
Basic support ? Yes ? ? ? ?
sheet ? ? ? ? ? ?
Mobile
Android webview Chrome for Android Edge Mobile Firefox for Android Opera for Android iOS Safari Samsung Internet
Basic support ? ? Yes ? ? ? ?
sheet ? ? ? ? ? ? ?

© 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/LinkStyle