jasmine.Popup trimHeight with vAlign = TOPEDGE does not unnecessarily trim if the popup could be displayed completely (from jasmine.specs)