ladybird/Tests/LibWeb/Text/expected/HTMLLinkElement-disabled.txt
Tim Ledbetter d5cddd4696 LibWeb: Unset stylesheet properties when removing from a StyleSheetList
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.
2024-04-16 07:41:33 +02:00

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