1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 18:07:34 +00:00

LibWeb: Support named CSS properties on CSSStyleDeclaration wrapper

Use the new CustomGet/CustomPut wrapper mechansim to intercept gets and
puts on CSSStyleDeclaration objects. This allows content to get and set
individual CSS properties from JavaScript. :^)
This commit is contained in:
Andreas Kling 2021-03-14 17:05:02 +01:00
parent ab23ef92b6
commit 4559faf8d8
4 changed files with 82 additions and 0 deletions

View file

@ -1,4 +1,5 @@
set(SOURCES
Bindings/CSSStyleDeclarationWrapperCustom.cpp
Bindings/EventListenerWrapper.cpp
Bindings/EventWrapperFactory.cpp
Bindings/EventTargetWrapperFactory.cpp