-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
add implementation for Path2D addPath method #37838
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@sagudev I'm trying to run the WPT for the path2d functionality found here I also get a message of |
Not sure about status of WPT runs on windows, but WPT runs in CI should work (uses ubuntu runners): https://book.servo.org/hacking/testing.html?highlight=mach%20try#running-web-platform-tests-on-your-github-fork |
9eaa17a
to
536a463
Compare
Seems running the WPT tests on windows locally doesn't work out of the box. I had to switch to my macbook for the tests to run. |
tests/wpt/meta/css/geometry/DOMMatrix2DInit-validate-fixup.html.ini
Outdated
Show resolved
Hide resolved
🔨 Triggering try run (#16066642903) for Linux (WPT) |
Test results for linux-wpt from try job (#16066642903): Flaky unexpected result (18)
Stable unexpected results that are known to be intermittent (21)
|
✨ Try run (#16066642903) succeeded. |
5a999cd
to
a5836f8
Compare
a5836f8
to
8ba8b51
Compare
1c283cd
to
22d954a
Compare
d2f8c0a
to
27fc3a5
Compare
Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>
Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>
implementation of it for Path2D Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>
Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>
Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>
Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>
Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>
Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>
running test Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>
Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>
Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>
implementation to fix test cases that fail Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>
insertion of ClosePath segments in an empty path or having consecutive ClosePath segments Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>
- remove unnecessary comments and commented code - remove dead code Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>
Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>
Signed-off-by: arthmis <artmis9@protonmail.com>
af9ce08
to
ae3f8af
Compare
Signed-off-by: arthmis <artmis9@protonmail.com>
@sagudev sorry this took a bit, I had to pause working on this. I've updated Oh actually, what did you mean by |
Signed-off-by: arthmis <artmis9@protonmail.com>
Kurbo has https://docs.rs/kurbo/latest/kurbo/struct.BezPath.html#method.apply_affine which applies transform on path. |
Signed-off-by: arthmis <artmis9@protonmail.com>
Signed-off-by: arthmis <artmis9@protonmail.com>
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