зеркало из https://github.com/mozilla/pjs.git
53 строки
1.8 KiB
Plaintext
53 строки
1.8 KiB
Plaintext
interface HTMLDocument : Document {
|
|
/* IID: { 0xa6cf9084, 0x15b3, 0x11d2, \
|
|
{ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 } } */
|
|
|
|
attribute DOMString title;
|
|
readonly attribute DOMString referrer;
|
|
attribute DOMString domain;
|
|
readonly attribute DOMString URL;
|
|
attribute HTMLElement body;
|
|
readonly attribute HTMLCollection images;
|
|
readonly attribute HTMLCollection applets;
|
|
readonly attribute HTMLCollection links;
|
|
readonly attribute HTMLCollection forms;
|
|
readonly attribute HTMLCollection anchors;
|
|
attribute DOMString cookie;
|
|
|
|
noscript void open();
|
|
void close();
|
|
noscript void write(in DOMString text);
|
|
noscript void writeln(in DOMString text);
|
|
NodeList getElementsByName(in DOMString elementName);
|
|
};
|
|
|
|
interface NSHTMLDocument {
|
|
/* IID: { 0xa6cf90c5, 0x15b3, 0x11d2, \
|
|
{ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 } } */
|
|
|
|
readonly attribute long width;
|
|
readonly attribute long height;
|
|
attribute wstring alinkColor;
|
|
attribute wstring linkColor;
|
|
attribute wstring vlinkColor;
|
|
attribute wstring bgColor;
|
|
attribute wstring fgColor;
|
|
readonly attribute wstring lastModified;
|
|
|
|
readonly attribute HTMLCollection embeds;
|
|
|
|
wstring getSelection();
|
|
jsval namedItem(/* ... */);
|
|
|
|
void open(/* ... */);
|
|
void write(/* ... */);
|
|
void writeln(/* ... */);
|
|
void clear(/* ... */);
|
|
|
|
void captureEvents(in long eventFlags);
|
|
void releaseEvents(in long eventFlags);
|
|
void routeEvent(in Event evt);
|
|
|
|
readonly attribute boolean domainSet;
|
|
};
|