Issue #2241 - Part 4.1: Get DOMPoint, DOMQuad, DOMRect, DOMMatrix a bit closer to spec.

Backported from Mozilla bug 1186265's part 1.
This commit is contained in:
Job Bautista 2023-05-12 11:35:18 +08:00 committed by roytam1
commit 60c88dd11b
14 changed files with 252 additions and 198 deletions

View file

@ -19,5 +19,7 @@ interface DOMQuad {
[SameObject] readonly attribute DOMPoint p2;
[SameObject] readonly attribute DOMPoint p3;
[SameObject] readonly attribute DOMPoint p4;
[SameObject] readonly attribute DOMRectReadOnly bounds;
};
[NewObject] DOMRectReadOnly getBounds();
[Default] object toJSON();
};