зеркало из https://github.com/mozilla/gecko-dev.git
Interface cleanup, not part of the build yet.
This commit is contained in:
Родитель
b061c11ad1
Коммит
7927354a2b
|
@ -29,4 +29,3 @@ interface nsIDOMMimeTypeArray : nsISupports
|
|||
nsIDOMMimeType item(in unsigned long index);
|
||||
nsIDOMMimeType namedItem(in DOMString name);
|
||||
};
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
[scriptable, uuid(a6cf90d1-15b3-11d2-932e-00805f8add32)]
|
||||
interface nsIDOMCSS2Properties : nsIDOMCSSStyleDeclaration
|
||||
{
|
||||
|
||||
attribute DOMString azimuth;
|
||||
// raises(DOMException) on setting
|
||||
|
||||
|
@ -390,7 +389,11 @@ interface nsIDOMCSS2Properties : nsIDOMCSSStyleDeclaration
|
|||
|
||||
attribute DOMString zIndex;
|
||||
// raises(DOMException) on setting
|
||||
};
|
||||
|
||||
[scriptable, uuid({88354c1a-d623-44a9-a894-4ee01ba29615)]
|
||||
interface nsIDOMNSCSS2Properties : nsIDOMCSS2Properties
|
||||
{
|
||||
/* Non-DOM 2 extensions */
|
||||
attribute DOMString MozBinding;
|
||||
// raises(DOMException) on setting
|
||||
|
@ -400,4 +403,3 @@ interface nsIDOMCSS2Properties : nsIDOMCSSStyleDeclaration
|
|||
attribute DOMString MozOpacity;
|
||||
// raises(DOMException) on setting
|
||||
};
|
||||
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
[scriptable, uuid(19fe78cc-65ff-4b1d-a5d7-9ea89692cec6)]
|
||||
interface nsIDOMCSSCharsetRule : nsIDOMCSSRule
|
||||
{
|
||||
|
||||
attribute DOMString encoding;
|
||||
// raises(DOMException) on setting
|
||||
};
|
||||
|
||||
|
|
|
@ -24,7 +24,5 @@
|
|||
[scriptable, uuid(a6cf90bb-15b3-11d2-932e-00805f8add32)]
|
||||
interface nsIDOMCSSFontFaceRule : nsIDOMCSSRule
|
||||
{
|
||||
|
||||
readonly attribute nsIDOMCSSStyleDeclaration style;
|
||||
};
|
||||
|
||||
|
|
|
@ -24,9 +24,7 @@
|
|||
[scriptable, uuid(a6cf90cf-15b3-11d2-932e-00805f8add32)]
|
||||
interface nsIDOMCSSImportRule : nsIDOMCSSRule
|
||||
{
|
||||
|
||||
readonly attribute DOMString href;
|
||||
readonly attribute nsIDOMMediaList media;
|
||||
readonly attribute nsIDOMCSSStyleSheet styleSheet;
|
||||
readonly attribute DOMString href;
|
||||
readonly attribute nsIDOMMediaList media;
|
||||
readonly attribute nsIDOMCSSStyleSheet styleSheet;
|
||||
};
|
||||
|
||||
|
|
|
@ -24,13 +24,12 @@
|
|||
[scriptable, uuid(a6cf90bc-15b3-11d2-932e-00805f8add32)]
|
||||
interface nsIDOMCSSMediaRule : nsIDOMCSSRule
|
||||
{
|
||||
readonly attribute nsIDOMMediaList media;
|
||||
readonly attribute nsIDOMCSSRuleList cssRules;
|
||||
|
||||
readonly attribute nsIDOMMediaList media;
|
||||
readonly attribute nsIDOMCSSRuleList cssRules;
|
||||
unsigned long insertRule(in DOMString rule,
|
||||
in unsigned long index)
|
||||
raises(DOMException);
|
||||
void deleteRule(in unsigned long index)
|
||||
raises(DOMException);
|
||||
};
|
||||
|
||||
|
|
|
@ -24,10 +24,8 @@
|
|||
[scriptable, uuid(a6cf90bd-15b3-11d2-932e-00805f8add32)]
|
||||
interface nsIDOMCSSPageRule : nsIDOMCSSRule
|
||||
{
|
||||
|
||||
attribute DOMString selectorText;
|
||||
// raises(DOMException) on setting
|
||||
|
||||
readonly attribute nsIDOMCSSStyleDeclaration style;
|
||||
};
|
||||
|
||||
|
|
|
@ -24,33 +24,32 @@
|
|||
[scriptable, uuid(e249031f-8df9-4e7a-b644-18946dce0019)]
|
||||
interface nsIDOMCSSPrimitiveValue : nsIDOMCSSValue
|
||||
{
|
||||
|
||||
const unsigned short nsIDOMCSS_UNKNOWN = 0;
|
||||
const unsigned short nsIDOMCSS_NUMBER = 1;
|
||||
const unsigned short nsIDOMCSS_PERCENTAGE = 2;
|
||||
const unsigned short nsIDOMCSS_EMS = 3;
|
||||
const unsigned short nsIDOMCSS_EXS = 4;
|
||||
const unsigned short nsIDOMCSS_PX = 5;
|
||||
const unsigned short nsIDOMCSS_CM = 6;
|
||||
const unsigned short nsIDOMCSS_MM = 7;
|
||||
const unsigned short nsIDOMCSS_IN = 8;
|
||||
const unsigned short nsIDOMCSS_PT = 9;
|
||||
const unsigned short nsIDOMCSS_PC = 10;
|
||||
const unsigned short nsIDOMCSS_DEG = 11;
|
||||
const unsigned short nsIDOMCSS_RAD = 12;
|
||||
const unsigned short nsIDOMCSS_GRAD = 13;
|
||||
const unsigned short nsIDOMCSS_MS = 14;
|
||||
const unsigned short nsIDOMCSS_S = 15;
|
||||
const unsigned short nsIDOMCSS_HZ = 16;
|
||||
const unsigned short nsIDOMCSS_KHZ = 17;
|
||||
const unsigned short nsIDOMCSS_DIMENSION = 18;
|
||||
const unsigned short nsIDOMCSS_STRING = 19;
|
||||
const unsigned short nsIDOMCSS_URI = 20;
|
||||
const unsigned short nsIDOMCSS_IDENT = 21;
|
||||
const unsigned short nsIDOMCSS_ATTR = 22;
|
||||
const unsigned short nsIDOMCSS_COUNTER = 23;
|
||||
const unsigned short nsIDOMCSS_RECT = 24;
|
||||
const unsigned short nsIDOMCSS_RGBCOLOR = 25;
|
||||
const unsigned short CSS_UNKNOWN = 0;
|
||||
const unsigned short CSS_NUMBER = 1;
|
||||
const unsigned short CSS_PERCENTAGE = 2;
|
||||
const unsigned short CSS_EMS = 3;
|
||||
const unsigned short CSS_EXS = 4;
|
||||
const unsigned short CSS_PX = 5;
|
||||
const unsigned short CSS_CM = 6;
|
||||
const unsigned short CSS_MM = 7;
|
||||
const unsigned short CSS_IN = 8;
|
||||
const unsigned short CSS_PT = 9;
|
||||
const unsigned short CSS_PC = 10;
|
||||
const unsigned short CSS_DEG = 11;
|
||||
const unsigned short CSS_RAD = 12;
|
||||
const unsigned short CSS_GRAD = 13;
|
||||
const unsigned short CSS_MS = 14;
|
||||
const unsigned short CSS_S = 15;
|
||||
const unsigned short CSS_HZ = 16;
|
||||
const unsigned short CSS_KHZ = 17;
|
||||
const unsigned short CSS_DIMENSION = 18;
|
||||
const unsigned short CSS_STRING = 19;
|
||||
const unsigned short CSS_URI = 20;
|
||||
const unsigned short CSS_IDENT = 21;
|
||||
const unsigned short CSS_ATTR = 22;
|
||||
const unsigned short CSS_COUNTER = 23;
|
||||
const unsigned short CSS_RECT = 24;
|
||||
const unsigned short CSS_RGBCOLOR = 25;
|
||||
|
||||
readonly attribute unsigned short primitiveType;
|
||||
void setFloatValue(in unsigned short unitType,
|
||||
|
@ -63,11 +62,10 @@ interface nsIDOMCSSPrimitiveValue : nsIDOMCSSValue
|
|||
raises(DOMException);
|
||||
DOMString getStringValue()
|
||||
raises(DOMException);
|
||||
nsIDOMCounter getCounterValue()
|
||||
nsIDOMCounter getCounterValue()
|
||||
raises(DOMException);
|
||||
nsIDOMRect getRectValue()
|
||||
nsIDOMRect getRectValue()
|
||||
raises(DOMException);
|
||||
nsIDOMRGBColor getRGBColorValue()
|
||||
nsIDOMRGBColor getRGBColorValue()
|
||||
raises(DOMException);
|
||||
};
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
[scriptable, uuid(a6cf90c1-15b3-11d2-932e-00805f8add32)]
|
||||
interface nsIDOMCSSRule : nsISupports
|
||||
{
|
||||
|
||||
const unsigned short UNKNOWN_RULE = 0;
|
||||
const unsigned short STYLE_RULE = 1;
|
||||
const unsigned short CHARSET_RULE = 2;
|
||||
|
@ -33,11 +32,10 @@ interface nsIDOMCSSRule : nsISupports
|
|||
const unsigned short FONT_FACE_RULE = 5;
|
||||
const unsigned short PAGE_RULE = 6;
|
||||
|
||||
readonly attribute unsigned short type;
|
||||
attribute DOMString cssText;
|
||||
readonly attribute unsigned short type;
|
||||
attribute DOMString cssText;
|
||||
// raises(DOMException) on setting
|
||||
|
||||
readonly attribute nsIDOMCSSStyleSheet parentStyleSheet;
|
||||
readonly attribute nsIDOMCSSRule parentRule;
|
||||
readonly attribute nsIDOMCSSStyleSheet parentStyleSheet;
|
||||
readonly attribute nsIDOMCSSRule parentRule;
|
||||
};
|
||||
|
||||
|
|
|
@ -26,6 +26,5 @@ interface nsIDOMCSSRuleList : nsISupports
|
|||
{
|
||||
|
||||
readonly attribute unsigned long length;
|
||||
nsIDOMCSSRule item(in unsigned long index);
|
||||
nsIDOMCSSRule item(in unsigned long index);
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче