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:
parent
f303905875
commit
b0f57a2785
8 changed files with 129 additions and 2 deletions
10
Tests/LibWeb/Text/expected/css/CSSStyleSheet-constructor.txt
Normal file
10
Tests/LibWeb/Text/expected/css/CSSStyleSheet-constructor.txt
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue