Index: core/css/CSSStyleSheet.idl |
diff --git a/core/css/CSSStyleSheet.idl b/core/css/CSSStyleSheet.idl |
index 06ca95b274d47b012ca70ca667fd9e616adb132d..a9b090079670449bdc5fc500e2b5e96aa6917f79 100644 |
--- a/core/css/CSSStyleSheet.idl |
+++ b/core/css/CSSStyleSheet.idl |
@@ -20,7 +20,7 @@ |
// Introduced in DOM Level 2: |
[ |
- GenerateIsReachable=ownerNode |
+ GenerateVisitDOMWrapper=ownerNode, |
] interface CSSStyleSheet : StyleSheet { |
readonly attribute CSSRule ownerRule; |
readonly attribute CSSRuleList cssRules; |
@@ -29,11 +29,10 @@ |
[RaisesException] void deleteRule(unsigned long index); |
// IE Extensions |
- readonly attribute CSSRuleList rules; |
+ [MeasureAs=CSSStyleSheetRules] readonly attribute CSSRuleList rules; |
- [RaisesException] long addRule([Default=Undefined] optional DOMString selector, |
- [Default=Undefined] optional DOMString style, |
- optional unsigned long index); |
- [RaisesException] void removeRule([Default=Undefined] optional unsigned long index); |
+ [RaisesException, MeasureAs=CSSStyleSheetAddRule] long addRule([Default=Undefined] optional DOMString selector, |
+ [Default=Undefined] optional DOMString style, |
+ optional unsigned long index); |
+ [RaisesException, MeasureAs=CSSStyleSheetRemoveRule] void removeRule([Default=Undefined] optional unsigned long index); |
}; |
- |