Does resorcinol give positive iodoform test?
There is an equilibrium between the keto enol forms, however small the keto form may be as a contributor. The rest is as you say. The precipitation of iodoform drives the equilibrium further to the products, as per Le Chatelier's principle.Of course, it is not in all cases where the equilibrium is controlled by such factors. The net gibbs energy change for the reaction must be negative.