Skip to content
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

according to DOM specs cancelBubble is a legacy alias of .stopPropagation() #1384

Closed
Ahmed-Hakeem opened this issue Aug 29, 2022 · 3 comments

Comments

@Ahmed-Hakeem
Copy link

lib Update Request

Missing / Incorrect Definition

According to DOM spec cancelBubble is a legacy alias of .stopPropagation(), and after exploring library code this issue happened because of where the property value came from, It is read from the property deprecated value from data.json (cancelBubble.__compact.status.deprecated) which is exported by @mdn/browser-compat-data v5.0.0, this value is read inside mapInterfaceLike function in src/build/bcd/mapper.ts

This issue has been resolved in @mdn/browser-compat-data starting from v5.1.9 inside
commit: 36ffef821fafb429430f0286009787505a3ff000

so I think it will be solved by only updating @mdn/browser-compat-data

Documentation Link

https://dom.spec.whatwg.org/#interface-event

Reference

microsoft/TypeScript#50517

@saschanaz
Copy link
Contributor

Fixed in #1394, thanks!

@github-actions close

@github-actions
Copy link
Contributor

Closing because @saschanaz is one of the code-owners of this repository.

@Ahmed-Hakeem
Copy link
Author

Fixed in #1394, thanks!

@github-actions close

It's my pleasure 😊❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants