32 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- DocumentStyle interface -->
<interface name="DocumentStyle" id="StyleSheets-StyleSheet-DocumentStyle"
since="DOM Level 2">
<descr>
<p>
The <code>DocumentStyle</code> interface provides a mechanism by which
the style sheets embedded in a document can be retrieved. The expectation
is that an instance of the <code>DocumentStyle</code> interface can be
obtained by using binding-specific casting methods on an instance of the
<code>Document</code> interface.
</p>
</descr>
<attribute type="StyleSheetList" readonly="yes" name="styleSheets" id="StyleSheets-DocumentStyle-styleSheets">
<descr>
<p>
A list containing all the style sheets explicitly linked into or
embedded in a document. For HTML documents, this includes external
style sheets, included via the HTML
<xspecref href="&html40;/struct/links.html#h-12.3">
LINK</xspecref> element, and inline
<xspecref href="&html40;/present/styles.html#h-14.2.3">
STYLE</xspecref> elements. In XML, this includes external
style sheets, included via style sheet
processing instructions (see <bibref ref="XML-StyleSheet"/>).
</p>
</descr>
</attribute>
</interface>