mirror of
https://github.com/servo/servo.git
synced 2025-09-29 16:19:14 +01:00
add implementation for Path2D addPath method (#37838)
Add implementation for Path2D addPath method Spec: https://html.spec.whatwg.org/multipage/canvas.html#dom-path2d-addpath Testing: WPT test - `tests/wpt/tests/css/geometry/DOMMatrix2DInit-validate-fixup.html` Fixes: #37695 --------- Signed-off-by: Lloyd Massiah <artmis9@protonmail.com> Signed-off-by: arthmis <artmis9@protonmail.com>
This commit is contained in:
parent
6471587fb4
commit
86d7f4c793
5 changed files with 57 additions and 83 deletions
|
@ -287,6 +287,7 @@ interface Path2D {
|
|||
constructor();
|
||||
constructor(Path2D other);
|
||||
constructor(DOMString pathString);
|
||||
undefined addPath(Path2D path/*, SVGMatrix? transformation*/);
|
||||
[Throws]
|
||||
undefined addPath(Path2D path, optional DOMMatrix2DInit transform = {});
|
||||
};
|
||||
Path2D includes CanvasPath;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue