ladybird/Tests/LibWeb/Text/expected/css/CSSStyleDeclaration-modify-computed.txt
Tim Ledbetter ea68bdef26 LibWeb: Return error on modification of a computed CSS style declaration
Previously, calling `setProperty` or `removeProperty` from JS on a
CSSStyleDeclaration returned from `getComputedStyle()` would return
null. We now return a NoModificationAllowedError instead, which aligns
our implementation with the specification.
2024-08-05 09:55:50 +02:00

2 lines
213 B
Text

Calling setProperty() on a computed CSSStyleDeclaration throws error of type: NoModificationAllowedError
Calling removeProperty() on a computed CSSStyleDeclaration throws error of type: NoModificationAllowedError