// We could test the computed style of node to see if a particular box// has been specified, but there are details and we choose not to bother.var n = node.tagName;
// For whatever reason, TABLE and BUTTON are always border-box by default.// If you have assigned a different box to either one via CSS then// box functions will break.return d.boxModel=="border-box"|| n=="TABLE"|| n=="BUTTON"; // boolean