Italy - Slovenia: nothing
Slovenia-Croatia: they might ask for the car's papers.
When renting, tell them you want to take the car to these countries - they will enter this on the rental agreement (Hertz does) and possibly, but not neccessarily charge a little extra. Otherwise you might have problems with the insurance, e.g.