- From: <bugzilla@wiggum.w3.org>
- Date: Wed, 28 Jun 2006 17:34:09 +0000
- To: www-validator-cvs@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=3413 Summary: If <META http-equiv="Content-Script-Type" content="text/javascript"> is set, then <SCRIPT src="foo.js"></SCRIPT> should be accepted without the "type" attribut. Product: Validator Version: HEAD Platform: PC URL: http://www.uqtr.ca/~fortierc/meta-and-script-test.html OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: check AssignedTo: link@pobox.com ReportedBy: claude.fortier@gmail.com QAContact: www-validator-cvs@w3.org In a web page where the element <META http-equiv="Content-Script-Type" content="text/javascript"> is present, the validator gives an error when the element <SCRIPT> is used without the attribut "type=". (see http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.uqtr.ca%2F~fortierc%2Fmeta-and-script-test.html) When a I read the HTML 4.01 Specification at section 18.2.1 "The SCRIPT element" (http://www.w3.org/TR/html4/interact/scripts.html#edef-SCRIPT), it seem to me that if the META tag is there, there is no need to put the "type=" attribut in the tag SCRIPT. But the validator mark it as "This page is not Valid HTML 4.01 Strict!". Am I wrong? Or it's a bug?
Received on Wednesday, 28 June 2006 17:34:14 UTC