summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorLuke Wilde <lukew@serenityos.org>2021-10-03 15:18:08 +0100
committerAndreas Kling <kling@serenityos.org>2021-10-03 16:39:17 +0200
commit17e56661dbfe15c3c0a96916f55a4dc91708e491 (patch)
tree99b066ea003f498fc1e8b1d0dfbd4506a4fefca3 /Userland
parentfc2ed732df393873f9e5a28bf004a3c01d48afa8 (diff)
downloadserenity-17e56661dbfe15c3c0a96916f55a4dc91708e491.zip
LibWeb: Have CSSStyleRule inherit from CSSRule in IDL
This also allows removing the cssText attribute being on CSSStyleRule.
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibWeb/CSS/CSSStyleRule.idl3
1 files changed, 1 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/CSSStyleRule.idl b/Userland/Libraries/LibWeb/CSS/CSSStyleRule.idl
index 9bd6f73f32..f82272d5ed 100644
--- a/Userland/Libraries/LibWeb/CSS/CSSStyleRule.idl
+++ b/Userland/Libraries/LibWeb/CSS/CSSStyleRule.idl
@@ -1,7 +1,6 @@
-interface CSSStyleRule {
+interface CSSStyleRule : CSSRule {
attribute CSSOMString selectorText;
- attribute CSSOMString cssText;
[SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
};