summaryrefslogtreecommitdiff
path: root/Source/WebCore/css/CSSHostRule.idl
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2016-04-10 09:28:39 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2016-04-10 09:28:39 +0000
commit32761a6cee1d0dee366b885b7b9c777e67885688 (patch)
treed6bec92bebfb216f4126356e55518842c2f476a1 /Source/WebCore/css/CSSHostRule.idl
parenta4e969f4965059196ca948db781e52f7cfebf19e (diff)
downloadWebKitGtk-tarball-32761a6cee1d0dee366b885b7b9c777e67885688.tar.gz
webkitgtk-2.4.11webkitgtk-2.4.11
Diffstat (limited to 'Source/WebCore/css/CSSHostRule.idl')
-rw-r--r--Source/WebCore/css/CSSHostRule.idl31
1 files changed, 31 insertions, 0 deletions
diff --git a/Source/WebCore/css/CSSHostRule.idl b/Source/WebCore/css/CSSHostRule.idl
new file mode 100644
index 000000000..edac345a5
--- /dev/null
+++ b/Source/WebCore/css/CSSHostRule.idl
@@ -0,0 +1,31 @@
+/*
+ * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+// Introduced in Shadow DOM spec:
+[
+ Conditional=SHADOW_DOM,
+] interface CSSHostRule : CSSRule {
+ readonly attribute CSSRuleList cssRules;
+
+ [RaisesException] unsigned long insertRule([Default=Undefined] optional DOMString rule,
+ [Default=Undefined] optional unsigned long index);
+ [RaisesException] void deleteRule([Default=Undefined] optional unsigned long index);
+};
+