Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The comparison needs to be "less than or equal", otherwise you don't prepend the items from the same level as the target. In a "no shadow DOM" situation, all the items in the path before the current target won't be in the path, which is wrong. This is tested by event-composed-path.html in WPT.
- Loading branch information