diff --git a/mozilla/dom/public/idl/coreDom/StyleSheet.idl b/mozilla/dom/public/idl/coreDom/StyleSheet.idl new file mode 100644 index 00000000000..b6b51a70530 --- /dev/null +++ b/mozilla/dom/public/idl/coreDom/StyleSheet.idl @@ -0,0 +1,5 @@ + + interface StyleSheet { + attribute boolean disabled; + readonly attribute boolean readOnly; + }; \ No newline at end of file diff --git a/mozilla/dom/public/idl/coreDom/StyleSheetCollection.idl b/mozilla/dom/public/idl/coreDom/StyleSheetCollection.idl new file mode 100644 index 00000000000..d4c69d6a572 --- /dev/null +++ b/mozilla/dom/public/idl/coreDom/StyleSheetCollection.idl @@ -0,0 +1,6 @@ + + interface StyleSheetCollection { + readonly attribute unsigned long length; + StyleSheet item(in unsigned long index); + }; + diff --git a/mozilla/dom/public/idl/css/CSSFontFaceRule.idl b/mozilla/dom/public/idl/css/CSSFontFaceRule.idl new file mode 100644 index 00000000000..7eb6ed45684 --- /dev/null +++ b/mozilla/dom/public/idl/css/CSSFontFaceRule.idl @@ -0,0 +1,4 @@ + + interface FontFaceRuleSimple : CSSStyleRule { + attribute CSSStyleDeclaration style; + }; diff --git a/mozilla/dom/public/idl/css/CSSMediaRule.idl b/mozilla/dom/public/idl/css/CSSMediaRule.idl new file mode 100644 index 00000000000..224b0637416 --- /dev/null +++ b/mozilla/dom/public/idl/css/CSSMediaRule.idl @@ -0,0 +1,8 @@ + + interface CSSMediaRule : CSSStyleRule { + attribute wstring mediaTypes; + readonly attribute CSSStyleRuleCollection rules; + + unsigned long addRule(in wstring selector, in wstring declaration, in unsigned long index); + void removeRule(in unsigned long index); + }; \ No newline at end of file diff --git a/mozilla/dom/public/idl/css/CSSPageRule.idl b/mozilla/dom/public/idl/css/CSSPageRule.idl new file mode 100644 index 00000000000..986bbbd8a5a --- /dev/null +++ b/mozilla/dom/public/idl/css/CSSPageRule.idl @@ -0,0 +1,5 @@ + + interface CSSPageRule : CSSStyleRule { + attribute wstring selectorText; + attribute CSSStyleDeclaration style; + }; diff --git a/mozilla/dom/public/idl/css/CSSStyleDeclaration.idl b/mozilla/dom/public/idl/css/CSSStyleDeclaration.idl new file mode 100644 index 00000000000..e69000de6f9 --- /dev/null +++ b/mozilla/dom/public/idl/css/CSSStyleDeclaration.idl @@ -0,0 +1,132 @@ + + interface CSSStyleDeclaration { + wstring getProperty(in wstring propertyName); + void setProperty(in wstring propertyName, in wstring value); + + attribute wstring azimuth; + attribute wstring background; + attribute wstring backgroundAttachment; + attribute wstring backgroundColor; + attribute wstring backgroundImage; + attribute wstring backgroundPosition; + attribute wstring backgroundRepeat; + attribute wstring border; + attribute wstring borderCollapse; + attribute wstring borderColor; + attribute wstring borderSpacing; + attribute wstring borderStyle; + attribute wstring borderTop; + attribute wstring borderRight; + attribute wstring borderBottom; + attribute wstring borderLeft; + attribute wstring borderTopColor; + attribute wstring borderRightColor; + attribute wstring borderBottomColor; + attribute wstring borderLeftColor; + attribute wstring borderTopStyle; + attribute wstring borderRightStyle; + attribute wstring borderBottomStyle; + attribute wstring borderLeftStyle; + attribute wstring borderTopWidth; + attribute wstring borderRightWidth; + attribute wstring borderBottomWidth; + attribute wstring borderLeftWidth; + attribute wstring borderWidth; + attribute wstring bottom; + attribute wstring captionSide; + attribute wstring clear; + attribute wstring clip; + attribute wstring color; + attribute wstring content; + attribute wstring counterIncrement; + attribute wstring counterReset; + attribute wstring cue; + attribute wstring cueAfter; + attribute wstring cueBefore; + attribute wstring cursor; + attribute wstring direction; + attribute wstring display; + attribute wstring elevation; + attribute wstring emptyCells; + attribute wstring float; + attribute wstring font; + attribute wstring fontFamily; + attribute wstring fontSize; + attribute wstring fontSizeAdjust; + attribute wstring fontStretch; + attribute wstring fontStyle; + attribute wstring fontVariant; + attribute wstring fontWeight; + attribute wstring height; + attribute wstring left; + attribute wstring letterSpacing; + attribute wstring lineHeight; + attribute wstring listStyle; + attribute wstring listStyleImage; + attribute wstring listStylePosition; + attribute wstring listStyleType; + attribute wstring margin; + attribute wstring marginTop; + attribute wstring marginRight; + attribute wstring marginBottom; + attribute wstring marginLeft; + attribute wstring markerOffset; + attribute wstring marks; + attribute wstring maxHeight; + attribute wstring maxWidth; + attribute wstring minHeight; + attribute wstring minWidth; + attribute wstring orphans; + attribute wstring outline; + attribute wstring outlineColor; + attribute wstring outlineStyle; + attribute wstring outlineWidth; + attribute wstring overflow; + attribute wstring padding; + attribute wstring paddingTop; + attribute wstring paddingRight; + attribute wstring paddingBottom; + attribute wstring paddingLeft; + attribute wstring page; + attribute wstring pageBreakAfter; + attribute wstring pageBreakBefore; + attribute wstring pageBreakInside; + attribute wstring pause; + attribute wstring pauseAfter; + attribute wstring pauseBefore; + attribute wstring pitch; + attribute wstring pitchRange; + attribute wstring playDuring; + attribute wstring position; + attribute wstring quotes; + attribute wstring richness; + attribute wstring right; + attribute wstring size; + attribute wstring speak; + attribute wstring speakHeader; + attribute wstring speakNumeral; + attribute wstring speakPunctuation; + attribute wstring speechRate; + attribute wstring stress; + attribute wstring tableLayout; + attribute wstring textAlign; + attribute wstring textDecoration; + attribute wstring textIndent; + attribute wstring textShadow; + attribute wstring textTransform; + attribute wstring top; + attribute wstring unicodeBidi; + attribute wstring verticalAlign; + attribute wstring visibility; + attribute wstring voiceFamily; + attribute wstring volume; + attribute wstring whiteSpace; + attribute wstring widows; + attribute wstring width; + attribute wstring wordSpacing; + attribute wstring zIndex; + }; + + + + diff --git a/mozilla/dom/public/idl/css/CSSStyleRule.idl b/mozilla/dom/public/idl/css/CSSStyleRule.idl new file mode 100644 index 00000000000..ea77ca95b44 --- /dev/null +++ b/mozilla/dom/public/idl/css/CSSStyleRule.idl @@ -0,0 +1,4 @@ + + interface CSSStyleRule { + readonly attribute wstring type; + }; diff --git a/mozilla/dom/public/idl/css/CSSStyleRuleCollection.idl b/mozilla/dom/public/idl/css/CSSStyleRuleCollection.idl new file mode 100644 index 00000000000..c033ed180c0 --- /dev/null +++ b/mozilla/dom/public/idl/css/CSSStyleRuleCollection.idl @@ -0,0 +1,5 @@ + + interface CSSStyleRuleCollection { + readonly attribute unsigned long length; + CSSStyleRule item(in unsigned long index); + }; diff --git a/mozilla/dom/public/idl/css/CSSStyleRuleSimple.idl b/mozilla/dom/public/idl/css/CSSStyleRuleSimple.idl new file mode 100644 index 00000000000..4c67d2c97a1 --- /dev/null +++ b/mozilla/dom/public/idl/css/CSSStyleRuleSimple.idl @@ -0,0 +1,5 @@ + + interface CSSStyleRuleSimple : CSSStyleRule { + attribute wstring selectorText; + attribute CSSStyleDeclaration style; + }; diff --git a/mozilla/dom/public/idl/css/CSSStyleSheet.idl b/mozilla/dom/public/idl/css/CSSStyleSheet.idl new file mode 100644 index 00000000000..ba5b4418b5d --- /dev/null +++ b/mozilla/dom/public/idl/css/CSSStyleSheet.idl @@ -0,0 +1,16 @@ + + interface CSSStyleSheet : StyleSheet { + readonly attribute HTMLElement owningElement; + readonly attribute CSSStyleSheet parentStyleSheet; + readonly attribute wstring href; + + readonly attribute StyleSheetCollection imports; + readonly attribute MediaGroupCollection mediaGroups; + readonly attribute CSSStyleRuleCollection rules; + + unsigned long addRule(in wstring selector, in wstring declaration, in unsigned long index); + unsigned long addImport(in wstring url, in unsigned long index); + void removeRule(in unsigned long index); + void removeImport(in unsigned long index); + }; +