mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 13:02:09 +02:00
LibWeb: Allow custom properties in CSSStyleDeclaration.removeProperty()
This commit is contained in:
committed by
Alexander Kalenik
parent
ce26e5d757
commit
ac5699c8fc
Notes:
github-actions[bot]
2024-11-21 12:17:14 +00:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/LadybirdBrowser/ladybird/commit/ac5699c8fc3 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2460 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -16,5 +16,8 @@
|
||||
document.body.appendChild(div);
|
||||
|
||||
println(getComputedStyle(nested).backgroundColor);
|
||||
|
||||
div.style.removeProperty("--redcolor");
|
||||
println(getComputedStyle(nested).backgroundColor);
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user