- From: Ville Skytta <ville@dev.w3.org>
- Date: Sat, 12 Jun 2004 08:52:50 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/perl/modules/W3C/LinkChecker/bin
In directory hutz:/tmp/cvs-serv6360
Modified Files:
checklink
Log Message:
Okay, I give up. Use "text/javascript" as the content type for JavaScript.
Index: checklink
===================================================================
RCS file: /sources/public/perl/modules/W3C/LinkChecker/bin/checklink,v
retrieving revision 3.57
retrieving revision 3.58
diff -u -d -r3.57 -r3.58
--- checklink 8 Jun 2004 21:06:47 -0000 3.57
+++ checklink 12 Jun 2004 08:52:47 -0000 3.58
@@ -167,7 +167,7 @@
$DocType = '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">';
$Head = <<EOF;
-<meta http-equiv="Content-Script-Type" content="application/x-javascript">
+<meta http-equiv="Content-Script-Type" content="text/javascript">
<link rel="stylesheet" type="text/css" href="$Cfg{Style_URI}">
EOF
@@ -1595,7 +1595,7 @@
if ($u =~ m/^javascript:/) {
if ($Opts{HTML}) {
$whattodo =
-'You must change this link: people using a browser without Javascript support
+'You must change this link: people using a browser without JavaScript support
will <em>not</em> be able to follow this link. See the
<a href="http://www.w3.org/TR/1999/WAI-WEBCONTENT-19990505/#tech-scripts">Web
Content Accessibility Guidelines on the use of scripting on the Web</a> and
@@ -1603,7 +1603,7 @@
<a href="http://www.w3.org/TR/WCAG10-HTML-TECHS/#directly-accessible-scripts">techniques
on how to solve this</a>.';
} else {
- $whattodo = 'Change this link: people using a browser without Javascript support will not be able to follow this link.';
+ $whattodo = 'Change this link: people using a browser without JavaScript support will not be able to follow this link.';
}
} elsif ($c == RC_ROBOTS_TXT()) {
$whattodo = 'The link was not checked due to robots exclusion ' .
@@ -1972,7 +1972,7 @@
my $script = my $onload = '';
if ($doform) {
$script = <<'EOF';
-<script type="application/x-javascript">
+<script type="text/javascript">
function uriOk()
{
var u = document.forms[0].uri;
Received on Saturday, 12 June 2004 04:52:50 UTC