- From: Mark Filipak <markfilipak.mozilla@gmail.com>
- Date: Thu, 11 Jan 2018 13:15:48 -0500
- To: www-validator-css@w3.org
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