Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译!

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

Specification Status Comment
CSS Object Model (CSSOM)
The definition of 'LinkStyle' in that specification.
Working Draft No change from Document Object Model (DOM) Level 2 Style Specification.
Document Object Model (DOM) Level 2 Style Specification
The definition of 'LinkStyle' in that specification.
Recommendation Initial definition

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? ? ? ? ?

文档标签和贡献者

 此页面的贡献者: Sebastianz, fscholz, teoli, Krinkle, kscarfone, ethertank, Sheppy, Brettz9
 最后编辑者: Sebastianz,