Sam Atkins
ab19c5fab8
LibWeb: Implement DOMPoint/DOMPointReadOnly.fromPoint()
2022-10-06 21:45:07 +01:00
Sam Atkins
8a78679152
LibWeb: Correct types in DOMPoint IDL files, and add FIXMEs
...
Also, the `w` parameters for the constructor default to 1, not 0.
2022-10-06 21:45:07 +01:00
Andrew Kaster
320dddde6a
LibWeb: Remove unecessary dependence on Window from SVG classes
...
These classes only needed Window to get at its realm. Pass a realm
directly to construct SCG classes.
2022-10-01 21:05:32 +01:00
Andrew Kaster
62a8c26b73
LibWeb: Remove unecessary dependence on Window from Geometry classes
...
These classes only needed Window to get at its realm. Pass a realm
directly to construct Geometry classes.
2022-10-01 21:05:32 +01:00
Linus Groh
4270ede7c4
LibWeb: Remove WRAPPER_HACK() macro
...
We no longer access Bindings::FooWrapper anywhere for a Foo platform
object, so these can be removed :^)
2022-09-21 21:12:24 +01:00
Andreas Kling
44415af428
LibWeb: Make DOMPoint and DOMPointReadOnly GC-allocated
2022-09-06 00:27:09 +02:00
Andreas Kling
6f433c8656
LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated
...
This is a monster patch that turns all EventTargets into GC-allocated
PlatformObjects. Their C++ wrapper classes are removed, and the LibJS
garbage collector is now responsible for their lifetimes.
There's a fair amount of hacks and band-aids in this patch, and we'll
have a lot of cleanup to do after this.
2022-09-06 00:27:09 +02:00
Andreas Kling
e883777a18
LibWeb: Add barebones implementation of DOMPoint and DOMPointReadOnly
2022-07-12 23:12:11 +02:00