Adding new DOM Level 2 CSS interfaces MediaList and StyleSheetList, not part of the build yet.

This commit is contained in:
jst%netscape.com 2000-04-26 00:27:59 +00:00
parent b1b30f1cad
commit 16543967f8
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,14 @@
interface MediaList {
/* IID: { 0x9b0c2ed7, 0x111c, 0x4824, \
{ 0xad, 0xf9, 0xef, 0x0d, 0xa6, 0xda, 0xd3, 0x71 } } */
attribute DOMString mediaText;
// raises(DOMException) on setting
readonly attribute unsigned long length;
DOMString item(in unsigned long index);
void delete(in DOMString oldMedium)
raises(DOMException);
void append(in DOMString newMedium)
raises(DOMException);
};

View File

@ -0,0 +1,7 @@
interface StyleSheetList {
/* IID: { 0xa6cf9081, 0x15b3, 0x11d2, \
{ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 } } */
readonly attribute unsigned long length;
StyleSheet item(in unsigned long index);
};