summaryrefslogtreecommitdiff
path: root/Source/WebCore/css/StyleSheetList.idl
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/css/StyleSheetList.idl
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/css/StyleSheetList.idl')
-rw-r--r--Source/WebCore/css/StyleSheetList.idl10
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);
};
-