mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-30 15:02:56 +00:00
Previously, the parent CSS stylesheet, owner node and owner CSS rule properties were not unset when removing a sheet from a StyleSheetList. This change moves the methods for adding and removing sheets to and from a StyleSheetList, directly into the StyleSheetList class and ensures they are called as required by the CSSOM specification.
12 lines
472 B
Text
12 lines
472 B
Text
link.disabled initial value: true
|
|
document.styleSheets.length initial value: 0
|
|
background color when link is disabled: rgba(0, 0, 0, 0)
|
|
onload event fired
|
|
link.disabled: false
|
|
document.styleSheets.length: 1
|
|
background color: rgb(0, 128, 0)
|
|
sheet.ownerNode is link element: true
|
|
document.styleSheets.length after link disabled again: 0
|
|
link.disabled after link disabled again: true
|
|
background color after link disabled again: rgba(0, 0, 0, 0)
|
|
sheet.ownerNode is null: true
|