Issue #3053 - Implement CSSStyleSheet constructor

This commit is contained in:
Basilisk-Dev 2026-05-22 12:35:37 -04:00 committed by wuggy
commit 536619ee89
5 changed files with 79 additions and 0 deletions

View file

@ -149,6 +149,8 @@ public:
// The XPCOM SetDisabled is fine for WebIDL.
// WebIDL CSSStyleSheet API
static already_AddRefed<StyleSheet> Constructor(const dom::GlobalObject& aGlobal,
ErrorResult& aRv);
virtual css::Rule* GetDOMOwnerRule() const = 0;
dom::CSSRuleList* GetCssRules(nsIPrincipal& aSubjectPrincipal,
ErrorResult& aRv);