Index: Source/core/css/CSSRuleList.idl |
diff --git a/Source/core/css/CSSRuleList.idl b/Source/core/css/CSSRuleList.idl |
index 35fb40069fe10a23097db6c7db24165040f21342..b846ab2feb343eacf477ee210d3fa11ead99ffe5 100644 |
--- a/Source/core/css/CSSRuleList.idl |
+++ b/Source/core/css/CSSRuleList.idl |
@@ -23,12 +23,13 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-// Introduced in DOM Level 2: |
+// http://dev.w3.org/csswg/cssom/#the-cssrulelist-interface |
+ |
+// TODO(philipj): CSSRuleList should be an [ArrayClass]. |
[ |
DependentLifetime, |
WillBeGarbageCollected, |
] interface CSSRuleList { |
- readonly attribute unsigned long length; |
- getter CSSRule item(unsigned long index); |
+ getter CSSRule? item(unsigned long index); |
+ readonly attribute unsigned long length; |
}; |
- |