Pub rules checker doesn't like scheme-relative URL, convert to absolute
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Tue, 09 Apr 2013 21:57:55 +0200
changeset 1581 8bd749c874d6
parent 1580 cfe437150851
child 1582 6ebd6c358c91
Pub rules checker doesn't like scheme-relative URL, convert to absolute

I don't know how strictly such things are treated but a scheme-relative URL would be much better in this instance because it would work on both https and http. Otherwise, in some browser the stylesheet is not processed when the document is served over https (e.g. https://dvcs.w3.org)
spec/WD/json-ld-api/20130411/index.html
spec/WD/json-ld/20130411/index.html
--- a/spec/WD/json-ld-api/20130411/index.html	Tue Apr 09 21:54:07 2013 +0200
+++ b/spec/WD/json-ld-api/20130411/index.html	Tue Apr 09 21:57:55 2013 +0200
@@ -428,7 +428,7 @@
     border-collapse:    collapse;
     width:  100%;
 }
-</style><link rel="stylesheet" href="//www.w3.org/StyleSheets/TR/W3C-WD" />
+</style><link rel="stylesheet" href="http://www.w3.org/StyleSheets/TR/W3C-WD" />
 </head>
 
 <body><div class="head">
--- a/spec/WD/json-ld/20130411/index.html	Tue Apr 09 21:54:07 2013 +0200
+++ b/spec/WD/json-ld/20130411/index.html	Tue Apr 09 21:57:55 2013 +0200
@@ -191,7 +191,7 @@
 }
 
 
-</style><link rel="stylesheet" href="//www.w3.org/StyleSheets/TR/W3C-WD" />
+</style><link rel="stylesheet" href="http://www.w3.org/StyleSheets/TR/W3C-WD" />
 </head>
 
 <body><div class="head">