* Method: _getHeight *
()
| 710 | * |
| 711 | */ |
| 712 | _getHeight() { |
| 713 | var root = this.root; |
| 714 | var stl = root.currentStyle |
| 715 | || document.defaultView.getComputedStyle(root); |
| 716 | |
| 717 | return ((root.clientHeight || parseInt(stl.height, 10)) |
| 718 | - parseInt(stl.paddingTop, 10) // 请原谅我这比较粗暴 |
| 719 | - parseInt(stl.paddingBottom, 10)).toFixed(0) - 0; |
| 720 | } |
| 721 | |
| 722 | |
| 723 | /** |
no outgoing calls
no test coverage detected