Mind you that the GDPR is EU law, whereas the judgement here is an ECHR ruling, and these are separate institutions. All EU countries are in the ECHR, but not vice-versa.
I claim that it's a new situation that collecting values submitted through HTML forms is illegal by default.