Fixed feature status internal reference links.
authorjond@apple.com <jond@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Dec 2015 01:06:50 +0000 (01:06 +0000)
committerjond@apple.com <jond@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Dec 2015 01:06:50 +0000 (01:06 +0000)
* wp-content/themes/webkit/status.php:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@193492 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Websites/webkit.org/ChangeLog
Websites/webkit.org/wp-content/themes/webkit/status.php

index 51c6436..efd75d7 100644 (file)
@@ -1,5 +1,11 @@
 2015-12-04  Jonathan Davis  <jond@apple.com>
 
+        Fixed feature status internal reference links.
+
+        * wp-content/themes/webkit/status.php:
+
+2015-12-04  Jonathan Davis  <jond@apple.com>
+
         Update feature status for up-to-date status information.
         https://bugs.webkit.org/show_bug.cgi?id=151821
 
index 79afb49..f9b5012 100644 (file)
@@ -487,7 +487,7 @@ function initializeStatusPage() {
         // Add sub-feature here
         if (hasSpecificationObject) {
             var specification = featureObject.specification;
-            var specSpan = createLinkWithHeading("span", null, specification.name, ("#specification-" + specification.name));
+            var specSpan = createLinkWithHeading("span", null, specification.name, ("#specification-" + specification.name.toLowerCase().replace(/ /g, '-')));
             specSpan.className = "internal-reference";
             titleElement.appendChild(specSpan);
         }
@@ -545,7 +545,7 @@ function initializeStatusPage() {
 
             if (hasSpecificationObject) {
                 var specification = featureObject.specification;
-                var li = createLinkWithHeading("li", "Parent feature", specification.name, ("#specification-" + specification.name));
+                var li = createLinkWithHeading("li", "Parent feature", specification.name, "#specification-" + specification.name.toLowerCase().replace(/ /g, '-'));
                 li.className = "internal-reference";
                 moreInfoList.appendChild(li);
             }