(e)
| 563 | |
| 564 | // Elements that are hidden by overflow are not shown. |
| 565 | function hiddenByOverflow(e) { |
| 566 | return bot.dom.getOverflowState(e) == bot.dom.OverflowState.HIDDEN && |
| 567 | goog.array.every(e.childNodes, function (n) { |
| 568 | return !bot.dom.isElement(n) || hiddenByOverflow(n) || |
| 569 | !positiveSize(n); |
| 570 | }); |
| 571 | } |
| 572 | return !hiddenByOverflow(elem); |
| 573 | }; |
| 574 |