jasmine.Popup trimWidth with hAlign = LEFTEDGE does not unnecessarily trim if the popup could be displayed completely (from jasmine.specs)