Skip to content

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

Closed
@Ahmed-Hakeem

Description

@Ahmed-Hakeem

lib Update Request

Missing / Incorrect Definition

according to DOM spec cancelBubble is a legacy alias of .stopPropagation()

Documentation Link

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

Reference

microsoft/TypeScript-DOM-lib-generator#1384

Activity

fatcerberus

fatcerberus commented on Aug 29, 2022

@fatcerberus

Not only deprecated, but also according to MDN, on Chromium-based browsers:

Starting with Chrome 58 and Opera 45, setting this property to false does nothing, as per spec discussion.

MartinJohns

MartinJohns commented on Aug 29, 2022

@MartinJohns
Contributor

Needs to be fixed in https://github.com/microsoft/TypeScript-DOM-lib-generator. Modifying generated files as you did in your MR won't do it.

added
BugA bug in TypeScript
Domain: lib.d.tsThe issue relates to the different libraries shipped with TypeScript
on Aug 29, 2022
added this to the Backlog milestone on Aug 29, 2022
Ahmed-Hakeem

Ahmed-Hakeem commented on Oct 21, 2022

@Ahmed-Hakeem
Author
jakebailey

jakebailey commented on Jul 9, 2023

@jakebailey
Member

This was fixed in #50884.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @fatcerberus@MartinJohns@jakebailey@RyanCavanaugh@Ahmed-Hakeem

        Issue actions

          according to DOM specs cancelBubble is a legacy alias of .stopPropagation() · Issue #50517 · microsoft/TypeScript