1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 21:07:36 +00:00

LibWeb: Add CSSStyleSheet constructor binding

This commit is contained in:
Tim Ledbetter 2024-02-24 07:46:59 +00:00 committed by Andreas Kling
parent f303905875
commit b0f57a2785
8 changed files with 129 additions and 2 deletions

View file

@ -1,11 +1,12 @@
#import <CSS/CSSRule.idl>
#import <CSS/CSSRuleList.idl>
#import <CSS/MediaList.idl>
#import <CSS/StyleSheet.idl>
// https://drafts.csswg.org/cssom/#cssstylesheet
[Exposed=Window]
interface CSSStyleSheet : StyleSheet {
// FIXME: constructor(optional CSSStyleSheetInit options = {});
constructor(optional CSSStyleSheetInit options = {});
readonly attribute CSSRule? ownerRule;
[SameObject] readonly attribute CSSRuleList cssRules;