Before Yeddyurappa, AB Vajpayee had resigned before floor test
Even as Yeddyurappa resigned as Karnataka CM hours before a floor test, Atal Bihari Vajpayee had resigned similarly at national level in 1996. BJP had emerged as the single largest party in the general elections and was given two weeks to prove majority. However, then PM Vajpayee resigned on the 13th day before the vote after failing to garner support.