borderline (n.) Look up borderline at Dictionary.com
1869, "strip of land along a frontier," from border (n.) + line (n.). As an adjective meaning "verging on" it is attested from 1907, originally in medical jargon.