W3C home > Mailing lists > Public > www-validator-cvs@w3.org > December 2010

markup-validator commit: Use content negotiation for *.css and *.js.

From: Mercurial notifier <nobody@w3.org>
Date: Sun, 12 Dec 2010 19:03:09 +0000
Message-Id: <E1PRrCP-0001Pw-J6@mcbain.w3.org>
To: markup-validator updates <www-validator-cvs@w3.org>
changeset:   3184:810d44b80201
user:        Ville Skyttä <ville.skytta@iki.fi>
date:        Sun Dec 12 20:58:24 2010 +0200
files:       htdocs/base.css htdocs/dev/tests/colons.html htdocs/dev/tests/nonSGML-chars.html htdocs/header.html htdocs/no_referer.asis share/templates/en_US/header.tmpl
description:
Use content negotiation for *.css and *.js.


diff -r 53aedab4ebe4 -r 810d44b80201 htdocs/base.css
--- a/htdocs/base.css	Sun Dec 12 20:56:08 2010 +0200
+++ b/htdocs/base.css	Sun Dec 12 20:58:24 2010 +0200
@@ -5,12 +5,12 @@
    See http://www.w3.org/Consortium/Legal/ipr-notice.html#Copyright
 */
 
-@import url("results.css"); /* CSS for validation results. */
-@import url("navbar.css");  /* CSS for navigation menu. */
-@import url("tips.css");    /* CSS for Quality Tips. */
-@import url("docs.css");    /* CSS for the Documentation. */
-@import url("print.css") print;
-@import url("handheld.css") handheld;
+@import url("results"); /* CSS for validation results. */
+@import url("navbar");  /* CSS for navigation menu. */
+@import url("tips");    /* CSS for Quality Tips. */
+@import url("docs");    /* CSS for the Documentation. */
+@import url("print") print;
+@import url("handheld") handheld;
 
 
 /* Special Notices */
diff -r 53aedab4ebe4 -r 810d44b80201 htdocs/dev/tests/colons.html
--- a/htdocs/dev/tests/colons.html	Sun Dec 12 20:56:08 2010 +0200
+++ b/htdocs/dev/tests/colons.html	Sun Dec 12 20:58:24 2010 +0200
@@ -4,7 +4,7 @@
   <head>
     <title>XHTML 1.0 Strict with chars in the range 0x80-0x9B</title>
     <link rev="made" href="mailto:gerald@w3.org" />
-    <link rel="stylesheet" type="text/css" href="../../base.css" />
+    <link rel="stylesheet" type="text/css" href="../../base" />
   </head>
 
   <body>
diff -r 53aedab4ebe4 -r 810d44b80201 htdocs/dev/tests/nonSGML-chars.html
--- a/htdocs/dev/tests/nonSGML-chars.html	Sun Dec 12 20:56:08 2010 +0200
+++ b/htdocs/dev/tests/nonSGML-chars.html	Sun Dec 12 20:58:24 2010 +0200
@@ -4,7 +4,7 @@
   <head>
     <title>XHTML 1.0 Strict with chars in the range 0x80-0x9B</title>
     <link rev="made" href="mailto:gerald@w3.org" />
-    <link rel="stylesheet" type="text/css" href="../../base.css" />
+    <link rel="stylesheet" type="text/css" href="../../base" />
   </head>
 
   <body>
diff -r 53aedab4ebe4 -r 810d44b80201 htdocs/header.html
--- a/htdocs/header.html	Sun Dec 12 20:56:08 2010 +0200
+++ b/htdocs/header.html	Sun Dec 12 20:58:24 2010 +0200
@@ -8,11 +8,11 @@
     <link rel="shortcut icon" href="http://www.w3.org/2008/site/images/favicon.ico" type="image/x-icon" />
     <link rev="start" href="<!--#echo var="relroot" -->" title="Home Page" />
     <style type="text/css" media="all">
-      @import "<!--#echo var="relroot" -->style/base.css";
+      @import "<!--#echo var="relroot" -->style/base";
     </style>
     <!--#if expr="$includeJS = 1" -->
-    <script type="text/javascript" src="scripts/mootools.js"></script>
-    <script type="text/javascript" src="scripts/w3c-validator.js"></script>
+    <script type="text/javascript" src="scripts/mootools"></script>
+    <script type="text/javascript" src="scripts/w3c-validator"></script>
     <!--#endif -->    
     <meta name="keywords" content="HTML, HyperText Markup Language, Validation,
       W3C Markup Validation Service" />
diff -r 53aedab4ebe4 -r 810d44b80201 htdocs/no_referer.asis
--- a/htdocs/no_referer.asis	Sun Dec 12 20:56:08 2010 +0200
+++ b/htdocs/no_referer.asis	Sun Dec 12 20:58:24 2010 +0200
@@ -10,8 +10,8 @@
 		<title>Validation Results - W3C Markup Validator</title>
     <link rev="made" href="mailto:www-validator@w3.org" />
     <link rev="start" href="./" title="Home Page" />
-    <style type="text/css" media="all">@import "/style/base.css";
-            @import "./style/results.css";</style>
+    <style type="text/css" media="all">@import "/style/base";
+            @import "./style/results";</style>
 
     <meta name="keywords" content="HTML, HyperText Markup Language, Validation,
       W3C Markup Validation Service" />
diff -r 53aedab4ebe4 -r 810d44b80201 share/templates/en_US/header.tmpl
--- a/share/templates/en_US/header.tmpl	Sun Dec 12 20:56:08 2010 +0200
+++ b/share/templates/en_US/header.tmpl	Sun Dec 12 20:58:24 2010 +0200
@@ -18,8 +18,8 @@
         <TMPL_IF NAME="is_feedback"><link rel="shortcut icon" href="http://www.w3.org/2008/site/images/favicon.ico" type="image/x-icon" /><TMPL_ELSE><link rel="icon" href="<TMPL_IF NAME="VALID">data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%10%00%00%00%10%08%02%00%00%00%90%91h6%00%00%00%19IDAT(%91c%0C%DD%10%C5%40%0A%60%22I%F5%A8%86Q%0DCJ%03%00dy%01%7F%0C%9F0%7D%00%00%00%00IEND%AEB%60%82<TMPL_ELSE>data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%10%00%00%00%10%08%02%00%00%00%90%91h6%00%00%00%19IDAT(%91c%BCd%AB%C2%40%0A%60%22I%F5%A8%86Q%0DCJ%03%00%DE%B5%01S%07%88%8FG%00%00%00%00IEND%AEB%60%82</TMPL_IF>" type="image/png" /></TMPL_IF>
     <link rev="made" href="mailto:www-validator@w3.org" />
     <link rev="start" href="./" title="Home Page" />
-    <style type="text/css" media="all">@import "./style/base.css";
-            @import "./style/results.css";</style>
+    <style type="text/css" media="all">@import "./style/base";
+            @import "./style/results";</style>
     <meta name="keywords" content="HTML, HyperText Markup Language, Validation,
       W3C Markup Validation Service" />
     <meta name="description" content="W3C's easy-to-use
Received on Sunday, 12 December 2010 19:03:12 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:44 UTC