summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/CSSMediaRule.idl
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2022-04-22 14:17:04 +0100
committerAndreas Kling <kling@serenityos.org>2022-05-11 20:16:10 +0200
commitfda71a6d4846f50b1dc120b62753244f337aef7f (patch)
treeb4826c108e99ff9f223d9302359e2f3daaecc938 /Userland/Libraries/LibWeb/CSS/CSSMediaRule.idl
parent0cf8986a1e912c258f92130fe451434c0dbfe346 (diff)
downloadserenity-fda71a6d4846f50b1dc120b62753244f337aef7f.zip
LibWeb: Add CSSMediaRule wrapper
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/CSSMediaRule.idl')
-rw-r--r--Userland/Libraries/LibWeb/CSS/CSSMediaRule.idl7
1 files changed, 7 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/CSSMediaRule.idl b/Userland/Libraries/LibWeb/CSS/CSSMediaRule.idl
new file mode 100644
index 0000000000..72e3c55454
--- /dev/null
+++ b/Userland/Libraries/LibWeb/CSS/CSSMediaRule.idl
@@ -0,0 +1,7 @@
+#import <CSS/CSSConditionRule.idl>
+#import <CSS/MediaList.idl>
+
+[Exposed=Window]
+interface CSSMediaRule : CSSConditionRule {
+ [SameObject, PutForwards=mediaText] readonly attribute MediaList media;
+};