Add stylistic and grammar fixes

I fixed some of the awkward phrasing:

• `concrete` is more common in the literary style of writing and is used to denote something opposite of abstract, so placing it here when describing a relation between html elements seems unnecessarily cumbersome. Plus there's some tautology in using `concrete` together with `actually`. I propose something simpler.

• `It’s possible that event.target equals this` -- the present indefinite tense is not quite correctly used here, because this sentence describes something that only happens conditionally and is not always true. There are many ways to rewrite this sentence, and I propose one that aims to keep the original structure of the idea.
This commit is contained in:
Andrey Krasnov 2019-07-15 16:19:20 +03:00 committed by GitHub
parent be342e50e3
commit 462dfb3d98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,13 +69,13 @@ For instance, if we have a single handler `form.onclick`, then it can "catch" al
In `form.onclick` handler:
- `this` (`=event.currentTarget`) is the `<form>` element, because the handler runs on it.
- `event.target` is the concrete element inside the form that actually was clicked.
- `event.target` is the actual element inside the form that was clicked.
Check it out:
[codetabs height=220 src="bubble-target"]
It's possible that `event.target` equals `this` -- when the click is made directly on the `<form>` element.
It's possible that `event.target` could equal `this` -- it happens when the click is made directly on the `<form>` element.
## Stopping bubbling