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:
parent
eda333d423
commit
4397c7f931
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue