Japan tops the group not without quite some controversy as the VAR allowed their second goal that looked to have crossed the line. If it was a draw Spain and Germany progress. I'm not unhappy that another team from Asia is through and a European powerhouse is it out, but VAR is supposed there to get things right.
You can't tell from that angle. The angle on the goal line shows a tiny portion of the ball was still on the line so it was the correct decision.