[misc] Fix webstandards validation tests.

(cherry picked from commit cfdedb7068ee1c2a581940a981035beb8e0f8dab)