The working logic of CMOS inverter
Don't forget that T2 is also a resistor. When T2 is on it is a very low resistance resistor (pretty much a short-circuit). So what is Vf if T1 is a very high resistance and T2 is a very low resistance?