[wpt-sync] Sync PR 56932 - docs: Add comprehensive analysis of pointer events issue #56614
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(Not tracked)
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 56932 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/56932
Details from upstream follow.
Mishti Agarwal <mishtiagarwal02@gmail.com> wrote:
docs: Add comprehensive analysis of pointer events issue #56614
This PR adds 13 comprehensive documentation files (~40k words) that explain the resolution to GitHub issue #56614: 'Expectations in pointerevent_after_target_removed_from_slot.html'
Documentation Includes:
Quick Start Guides:
- 00_START_HERE.md: Master summary and navigation
- QUICK_COMMANDS.md: Copy-paste terminal commands for PR submission
- QUICK_REFERENCE.md: Q&A, troubleshooting, and quick lookup
Comprehensive Learning:
- POINTER_EVENTS_FIX_SUMMARY.md: Technical overview of the fix
- DETAILED_ANALYSIS.md: In-depth analysis of the problem
- COMPLETE_SOLUTION.md: Full explanation of all aspects
- SOLUTION_COMPLETE.md: Complete solution overview
Contributing & Guidance:
- HOW_TO_CREATE_PR.md: Step-by-step PR creation guide
- PULL_REQUEST_GUIDE.md: Contributing patterns to WPT
- GITHUB_ISSUE_GUIDE.md: How to file and reference issues
- PR_SUBMISSION_GUIDE.md: Complete PR submission workflow
- README_DOCUMENTATION.md: Documentation index and navigation
- INDEX_AND_SUMMARY.md: Quick reference index
What This Explains:
✅ The original issue with pointer events in shadow DOM ✅ Why tests were failing in all browsers
✅ How the fix aligns with W3C specifications
✅ Three test scenarios: remove-slot, remove-filler, change-slotname ✅ Event retargeting and boundary event behavior
✅ Privacy implications of relatedTarget
✅ How to understand and extend these concepts
✅ Step-by-step guides for contributorsRelated Issues:
- Fixes #56614
- References commit a9f4351e61 (the actual fix)
- PR #55894 (original PR that fixed the issue)
For Reviewers:
These docs are reference material to help:
- New contributors understand pointer events
- Developers debug similar shadow DOM issues
- Teams understand spec-compliant event dispatch
- Future maintainers understand the fix rationale
Description
•