mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-20 09:21:55 +00:00
LibWeb: Correct types in DOMPoint IDL files, and add FIXMEs
Also, the `w` parameters for the constructor default to 1, not 0.
This commit is contained in:
parent
a6f0508f9f
commit
8a78679152
Notes:
sideshowbarker
2024-07-17 06:51:40 +09:00
Author: https://github.com/AtkinsSJ
Commit: 8a78679152
Pull-request: https://github.com/SerenityOS/serenity/pull/15483
Reviewed-by: https://github.com/linusg ✅
4 changed files with 23 additions and 12 deletions
|
@ -17,7 +17,7 @@ class DOMPointReadOnly : public Bindings::PlatformObject {
|
|||
WEB_PLATFORM_OBJECT(DOMPointReadOnly, Bindings::PlatformObject);
|
||||
|
||||
public:
|
||||
static JS::NonnullGCPtr<DOMPointReadOnly> construct_impl(JS::Realm&, double x = 0, double y = 0, double z = 0, double w = 0);
|
||||
static JS::NonnullGCPtr<DOMPointReadOnly> construct_impl(JS::Realm&, double x = 0, double y = 0, double z = 0, double w = 1);
|
||||
|
||||
virtual ~DOMPointReadOnly() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue