Title: [193492] trunk/Websites/webkit.org
- Revision
- 193492
- Author
- [email protected]
- Date
- 2015-12-04 17:06:50 -0800 (Fri, 04 Dec 2015)
Log Message
Fixed feature status internal reference links.
* wp-content/themes/webkit/status.php:
Modified Paths
Diff
Modified: trunk/Websites/webkit.org/ChangeLog (193491 => 193492)
--- trunk/Websites/webkit.org/ChangeLog 2015-12-05 01:04:20 UTC (rev 193491)
+++ trunk/Websites/webkit.org/ChangeLog 2015-12-05 01:06:50 UTC (rev 193492)
@@ -1,5 +1,11 @@
2015-12-04 Jonathan Davis <[email protected]>
+ Fixed feature status internal reference links.
+
+ * wp-content/themes/webkit/status.php:
+
+2015-12-04 Jonathan Davis <[email protected]>
+
Update feature status for up-to-date status information.
https://bugs.webkit.org/show_bug.cgi?id=151821
Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/status.php (193491 => 193492)
--- trunk/Websites/webkit.org/wp-content/themes/webkit/status.php 2015-12-05 01:04:20 UTC (rev 193491)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/status.php 2015-12-05 01:06:50 UTC (rev 193492)
@@ -487,7 +487,7 @@
// 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 @@
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);
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes