misplaced "too"?

This commit is contained in:
joaquinelio 2020-08-30 06:10:27 -03:00 committed by GitHub
parent f830bc5d94
commit b10554806e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -242,7 +242,7 @@ The output order is: 1 -> nested -> 2.
Please note that the nested event `menu-open` is caught on the `document`. The propagation and handling of the nested event is finished before the processing gets back to the outer code (`onclick`). Please note that the nested event `menu-open` is caught on the `document`. The propagation and handling of the nested event is finished before the processing gets back to the outer code (`onclick`).
That's not only about `dispatchEvent`, there are other cases. If an event handler calls methods that trigger other events -- they too are processed synchronously, in a nested fashion. That's not only about `dispatchEvent`, there are other cases. If an event handler calls methods that trigger other events -- they are processed synchronously too, in a nested fashion.
Let's say we don't like it. We'd want `onclick` to be fully processed first, independently from `menu-open` or any other nested events. Let's say we don't like it. We'd want `onclick` to be fully processed first, independently from `menu-open` or any other nested events.