Files
serenity/Userland/Libraries/LibWeb/CSS/ResolvedCSSStyleDeclaration.cpp
Tim Ledbetter adebc2a214 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.

(cherry picked from commit ea68bdef26260762dec02413cce0d79caef6f4a4)
2024-11-08 21:51:25 -05:00

32 KiB