Bug 1361994 - Part 0: Add MOZ_DOCUMENT to nsIDOMCSSRule. r=xidorn
MozReview-Commit-ID: HoqiuW6l9QB
--- a/dom/interfaces/css/nsIDOMCSSRule.idl
+++ b/dom/interfaces/css/nsIDOMCSSRule.idl
@@ -38,16 +38,17 @@ interface nsIDOMCSSRule : nsISupports
const unsigned short KEYFRAME_RULE = 8;
// When layout.css.prefixes.animations is disabled/removed,
// we should remove these two MOZ_* constants.
const unsigned short MOZ_KEYFRAMES_RULE = 7;
const unsigned short MOZ_KEYFRAME_RULE = 8;
const unsigned short NAMESPACE_RULE = 10;
const unsigned short COUNTER_STYLE_RULE = 11;
const unsigned short SUPPORTS_RULE = 12;
+ const unsigned short DOCUMENT_RULE = 13;
const unsigned short FONT_FEATURE_VALUES_RULE = 14;
readonly attribute unsigned short type;
attribute DOMString cssText;
// raises(DOMException) on setting
readonly attribute nsIDOMCSSStyleSheet parentStyleSheet;
readonly attribute nsIDOMCSSRule parentRule;