2
* Copyright (c) 2000 World Wide Web Consortium,
3
* (Massachusetts Institute of Technology, Institut National de
4
* Recherche en Informatique et en Automatique, Keio University). All
5
* Rights Reserved. This program is distributed under the W3C's Software
6
* Intellectual Property License. This program is distributed in the
7
* hope that it will be useful, but WITHOUT ANY WARRANTY; without even
8
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10
* See W3C License http://www.w3.org/Consortium/Legal/ for more details.
13
// File: http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/stylesheets.idl
15
#ifndef _STYLESHEETS_IDL_
16
#define _STYLESHEETS_IDL_
20
#pragma prefix "dom.w3c.org"
24
typedef dom::DOMString DOMString;
25
typedef dom::Node Node;
29
// Introduced in DOM Level 2:
30
interface StyleSheet {
31
readonly attribute DOMString type;
32
attribute boolean disabled;
33
readonly attribute Node ownerNode;
34
readonly attribute StyleSheet parentStyleSheet;
35
readonly attribute DOMString href;
36
readonly attribute DOMString title;
37
readonly attribute MediaList media;
40
// Introduced in DOM Level 2:
41
interface StyleSheetList {
42
readonly attribute unsigned long length;
43
StyleSheet item(in unsigned long index);
46
// Introduced in DOM Level 2:
48
attribute DOMString mediaText;
49
// raises(dom::DOMException) on setting
51
readonly attribute unsigned long length;
52
DOMString item(in unsigned long index);
53
void deleteMedium(in DOMString oldMedium)
54
raises(dom::DOMException);
55
void appendMedium(in DOMString newMedium)
56
raises(dom::DOMException);
59
// Introduced in DOM Level 2:
61
readonly attribute StyleSheet sheet;
64
// Introduced in DOM Level 2:
65
interface DocumentStyle {
66
readonly attribute StyleSheetList styleSheets;
70
#endif // _STYLESHEETS_IDL_