From 17e56661dbfe15c3c0a96916f55a4dc91708e491 Mon Sep 17 00:00:00 2001 From: Luke Wilde Date: Sun, 3 Oct 2021 15:18:08 +0100 Subject: [PATCH] LibWeb: Have CSSStyleRule inherit from CSSRule in IDL This also allows removing the cssText attribute being on CSSStyleRule. --- Userland/Libraries/LibWeb/CSS/CSSStyleRule.idl | 3 +-- 1 file changed, 1 insertion(+), 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; };