mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 17:37:30 +09:00
Issue #2241 - Part 4.2: Resurrect DOMQuad.bounds, but deprecated.
This also forces DOMQuad.toJSON() to only return the points. Backported from Mozilla bug 1186265.
This commit is contained in:
parent
60c88dd11b
commit
840658ab39
5 changed files with 43 additions and 2 deletions
|
|
@ -21,5 +21,21 @@ interface DOMQuad {
|
|||
[SameObject] readonly attribute DOMPoint p4;
|
||||
[NewObject] DOMRectReadOnly getBounds();
|
||||
|
||||
[Default] object toJSON();
|
||||
[SameObject, Deprecated=DOMQuadBoundsAttr] readonly attribute DOMRectReadOnly bounds;
|
||||
|
||||
DOMQuadJSON toJSON();
|
||||
};
|
||||
|
||||
dictionary DOMQuadJSON {
|
||||
DOMPoint p1;
|
||||
DOMPoint p2;
|
||||
DOMPoint p3;
|
||||
DOMPoint p4;
|
||||
};
|
||||
|
||||
dictionary DOMQuadInit {
|
||||
DOMPointInit p1;
|
||||
DOMPointInit p2;
|
||||
DOMPointInit p3;
|
||||
DOMPointInit p4;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue