NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 674 - use better message for <script language=vbscript> and similar attributes
use better message for <script language=vbscript> and similar attributes
Status: RESOLVED FIXED
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 normal
Assigned To: Michael[tm] Smith
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-18 11:49 CET by Simon Pieters
Modified: 2009-12-02 08:34 CET (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Pieters 2009-11-18 11:49:08 CET
10:49	zcorpan_	MikeSmith: maybe the message for <img border=1> and <script language=vbscript> should advice to use the preferred alternative instead of advicing to alter the value
10:50	MikeSmith		zcorpan_: the warnings for those cases basically come directly from what's mandated in the spec

	MikeSmith	I think
10:51	MikeSmith	it looks like html4 loose allowed <param type>
	zcorpan_	MikeSmith: yes, but if you have <script language=vbscript>, you don't want to change that to <script language=javascript>
	zcorpan_	MikeSmith: because presumably the script was vbscript and language is still obsolete so changing the value still won't silence the validator
10:52	zcorpan_	MikeSmith: it should advice to use <script type=text/vbscript>
Comment 1 Michael[tm] Smith 2009-11-26 11:35:49 CET
syntax 501
http://whattf.browse.cvsdude.com/syntax?view=rev&revision=501

I only changed to emit warnings (along with the existing errors) for non-zero img/@border and for non-"javascript" script/@language.

If there are other cases where we should do the same, please open a new bug with the list.