mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
CSSStyleDeclaration is a base class that's used by various collections of style properties or descriptors. This commit moves all style-property-related code into CSSStyleProperties, where it belongs. As noted in the previous commit, we also apply the CSSStyleProperties prototype now.
5 lines
248 B
Plaintext
5 lines
248 B
Plaintext
spanRule: [object CSSStyleRule] ~ span { color: purple; }
|
|
spanRule.style: [object CSSStyleProperties] ~ span { color: purple; }
|
|
spanRule.style.parentRule: [object CSSStyleRule] ~ span { color: purple; }
|
|
spanRule.style.parentRule === spanRule: true
|