diff options
Diffstat (limited to 'Source/WebCore/css/StyleSheetList.idl')
-rw-r--r-- | Source/WebCore/css/StyleSheetList.idl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/WebCore/css/StyleSheetList.idl b/Source/WebCore/css/StyleSheetList.idl index dfcb93f27..af128a94e 100644 --- a/Source/WebCore/css/StyleSheetList.idl +++ b/Source/WebCore/css/StyleSheetList.idl @@ -18,13 +18,15 @@ * Boston, MA 02110-1301, USA. */ -// Introduced in DOM Level 2: [ + ExportToWrappedFunction, GenerateIsReachable=ImplDocument, ImplementationLacksVTable, ] interface StyleSheetList { - readonly attribute unsigned long length; - getter StyleSheet item([Default=Undefined] optional unsigned long index); + readonly attribute unsigned long length; + getter StyleSheet? item(unsigned long index); + + // FIXME: https://drafts.csswg.org/cssom/#the-stylesheetlist-interface does not + // specify a named getter for StyleSheetList. We should investigate removing this. getter CSSStyleSheet (DOMString name); }; - |