1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:47:35 +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

@ -0,0 +1,10 @@
Empty sheet ownerNode: null
Empty sheet ownerRule: null
Empty sheet title is empty string: true
Empty sheet cssRules is empty: true
Empty sheet is disabled by default: false
cssRules length after insertRule(): 1
cssRules text: * { font-size: 16px; }
rules and cssRules are the same object: true
cssRules length after deleteRule(): 0
Disabled sheet is disabled: true