| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
It needs to start with a doc-deprecation, like - #41872.
Also, deprecation != deletion, so even if this gets deprecated, I don't think it has to be removed altogether unless there's a real need.
Sorry, something went wrong.
|
@RaisinTen Thank you for kind explanation. Applied doc-deprecation instead of delete. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM, @nodejs/events PTAL
Sorry, something went wrong.
|
@deokjinkim could you also update the PR description? It still says that srcElement is being removed. |
Sorry, something went wrong.
|
Probably Legacy would be a better status, since we nor the web spec plans on ever actually removing it (I think) |
Sorry, something went wrong.
Updated the PR description. Thank you for guide. |
Sorry, something went wrong.
There was a problem hiding this comment.
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.
|
(That said, thank you for working on this!) |
Sorry, something went wrong.
`event.srcElement` is described as legacy in spec. Refs: https://dom.spec.whatwg.org/#interface-event
`event.srcElement` is described as legacy in spec. Refs: https://dom.spec.whatwg.org/#interface-event PR-URL: nodejs#46085 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
`event.srcElement` is described as legacy in spec. Refs: https://dom.spec.whatwg.org/#interface-event PR-URL: #46085 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
`event.srcElement` is described as legacy in spec. Refs: https://dom.spec.whatwg.org/#interface-event PR-URL: #46085 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
`event.srcElement` is described as legacy in spec. Refs: https://dom.spec.whatwg.org/#interface-event PR-URL: #46085 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
| Back | FazBrowse Home | New Git URL |
event.srcElement is described as legacy in spec.
Refs: https://dom.spec.whatwg.org/#interface-event