/** * �桁�紊�絮�蕭�綺� * @param {HTMLElement} el dom���� * @param {Number} defaultValue 藥�莅ゅ�� * @return {Number} 蕭�綺� */ module.exports = function getOuterHeight(el, defaultValue) { var height = this.getHeight(el, defaultValue); var bTop = parseFloat(this.getStyle(el, 'borderTopWidth')) || 0; var pTop = parseFloat(this.getStyle(el, 'paddingTop')) || 0; var pBottom = parseFloat(this.getStyle(el, 'paddingBottom')) || 0; var bBottom = parseFloat(this.getStyle(el, 'borderBottomWidth')) || 0; return height + bTop + bBottom + pTop + pBottom; };