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

LibWeb: Implement DOMPoint/DOMPointReadOnly.fromPoint()

This commit is contained in:
Sam Atkins 2022-10-06 15:25:08 +01:00 committed by Linus Groh
parent 0823a3c422
commit ab19c5fab8
6 changed files with 38 additions and 2 deletions

View file

@ -6,7 +6,7 @@ interface DOMPoint : DOMPointReadOnly {
constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
optional unrestricted double z = 0, optional unrestricted double w = 1);
// FIXME: [NewObject] static DOMPoint fromPoint(optional DOMPointInit other = {});
[NewObject] static DOMPoint fromPoint(optional DOMPointInit other = {});
inherit attribute unrestricted double x;
inherit attribute unrestricted double y;