mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Adding new DOM Level 2 CSS interfaces MediaList and StyleSheetList, not part of the build yet.
This commit is contained in:
parent
b1b30f1cad
commit
16543967f8
14
dom/public/idl/coreDom/MediaList.idl
Normal file
14
dom/public/idl/coreDom/MediaList.idl
Normal 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);
|
||||
};
|
7
dom/public/idl/coreDom/StyleSheetList.idl
Normal file
7
dom/public/idl/coreDom/StyleSheetList.idl
Normal 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);
|
||||
};
|
Loading…
Reference in New Issue
Block a user