Skip to content

Add example demonstrating creating and copying Path2D paths - #42532

Merged
Josh-Cena merged 7 commits into
mdn:mainfrom
MUSKANNISHAD:fix-path2d-example
Jan 26, 2026
Merged

Add example demonstrating creating and copying Path2D paths#42532
Josh-Cena merged 7 commits into
mdn:mainfrom
MUSKANNISHAD:fix-path2d-example

Conversation

@MUSKANNISHAD

@MUSKANNISHAD MUSKANNISHAD commented Dec 26, 2025

Copy link
Copy Markdown
Contributor

This PR adds an example demonstrating how to create and copy Path2D paths.

Re-opening after an accidental branch reset while rebasing onto the latest main.
The content change itself is unchanged.

Happy to iterate based on feedback.

Fixes #41793

@MUSKANNISHAD
MUSKANNISHAD requested a review from a team as a code owner December 26, 2025 04:28
@MUSKANNISHAD
MUSKANNISHAD requested review from sideshowbarker and removed request for a team December 26, 2025 04:28
@github-actions github-actions Bot added Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed labels Dec 26, 2025
Comment thread files/en-us/web/api/path2d/index.md
Comment thread files/en-us/web/api/path2d/index.md Outdated
@MUSKANNISHAD

Copy link
Copy Markdown
Contributor Author

Hi maintainers,

I’ve verified locally that there are no markdown, front-matter, or Prettier lint issues.
The remaining CI failure appears to be due to pending workflow approvals for pull_request_target, which I understand requires maintainer approval.

Please let me know if any changes are needed from my side. Thanks!

@sideshowbarker
sideshowbarker removed their request for review December 26, 2025 04:37
@Josh-Cena
Josh-Cena self-requested a review January 8, 2026 06:20
@github-actions

github-actions Bot commented Jan 9, 2026

Copy link
Copy Markdown
Contributor

Preview URLs (1 page)

(comment last updated: 2026-01-26 19:59:21)

MUSKANNISHAD and others added 5 commits January 15, 2026 16:16
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@Josh-Cena
Josh-Cena merged commit df440f2 into mdn:main Jan 26, 2026
8 checks passed
@Zearin

Zearin commented Jan 26, 2026

Copy link
Copy Markdown
Contributor

Thanks, @MUSKANNISHAD! 🙏🏽

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Path2: Example is confusing (or not adequately explained)

4 participants