In first page it is Doffy who attack Law, the trick of Doffy to counter Law power was to attack him with fast speed and beeing agile in same time. Law never get the chance to cut him similar like what happen to Vergo.
As example for the second panel,Mes wouldn't work either on Doffy if his haki was stronger right? But that is not the case,Lsw could teleport him,could use Mes with showing Law ability could work on Doffy.
For the last page,Doffy haki was weak in compare to Law,he get cut by the sword, if his haki was better he wouldn't get cut, even if he graps it.