GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||
GeezerVison is showing github.com — events: change status of `event.srcElement` to legacy by deokjinkim · Pull Request #46085 · nodejs/node Conversation
|
|
@RaisinTen Thank you for kind explanation. Applied doc-deprecation instead of delete. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM, @nodejs/events PTAL
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@deokjinkim could you also update the PR description? It still says that srcElement is being removed. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Probably |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
1b33fbc to
4f8963d
Compare
Updated the PR description. Thank you for guide. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
event.srcElement is a legacy feature (according to the spec).
It's just a filler for spec compliance in Node.js since we don't have any event targets that do event propagation.
I seriously doubt that it'd ever be removed so I don't think we should deprecate it which implies removal until the spec does.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
(That said, thank you for working on this!) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
17494ff to
b933185
Compare
event.srcElementevent.srcElement to legacy
`event.srcElement` is described as legacy in spec. Refs: https://dom.spec.whatwg.org/#interface-event
b933185 to
834c2b3
Compare
|
Landed in 513c151 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
`event.srcElement` is described as legacy in spec. Refs: https://dom.spec.whatwg.org/#interface-event PR-URL: nodejs#46085 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
`event.srcElement` is described as legacy in spec. Refs: https://dom.spec.whatwg.org/#interface-event PR-URL: #46085 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
`event.srcElement` is described as legacy in spec. Refs: https://dom.spec.whatwg.org/#interface-event PR-URL: #46085 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
`event.srcElement` is described as legacy in spec. Refs: https://dom.spec.whatwg.org/#interface-event PR-URL: #46085 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.