not a right comparison

an empty <div> has its parent element's content area width which may not be zero
This commit is contained in:
Jiapan-Yu 2021-10-21 16:33:44 +08:00 committed by GitHub
parent eda333d423
commit 4397c7f931
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -116,7 +116,7 @@ function isHidden(elem) {
}
```
Please note that such `isHidden` returns `true` for elements that are on-screen, but have zero sizes (like an empty `<div>`).
Please note that such `isHidden` returns `true` for elements that are on-screen, but have zero sizes.
````
## clientTop/Left