line 50 of 'scripts/w3c-validator.js', "W3C.Forms[i].reportValidity is not a function"

First, 3 questions, please:
Why is the validator using javascript?
Why isn't it totally static?
Is using JS wise?

Workaround:
I can work around the problem below by
1, selecting '#validate_by_input', then,
2, pasting CSS text into textarea, then,
3, manually calling 'W3C.Forms[2].submit()'.

Problem:
"TypeError: W3C.Forms[i].reportValidity is not a function".
line 50 of 'scripts/w3c-validator.js'

Details:
Clicking the "Check" button seems to do nothing.

alert(W3C.Forms[2].submit)
reports
"function submit(){[native code]}".

alert(W3C.Forms[2].reportValidity)
reports
"undefined".

Regards,
Mark Filipak.

Received on Friday, 12 January 2018 08:26:11 UTC