- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 21 Aug 2009 08:50:49 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv4946
Modified Files:
toc-status.html tocmix.xsl
Log Message:
added display of ID values to status-annotated TOC
Index: tocmix.xsl
===================================================================
RCS file: /sources/public/html5/spec/tocmix.xsl,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- tocmix.xsl 21 Aug 2009 02:22:50 -0000 1.14
+++ tocmix.xsl 21 Aug 2009 08:50:47 -0000 1.15
@@ -51,7 +51,18 @@
class="status {$status}"
><xsl:value-of select="$status" /></a>
<xsl:text> </xsl:text>
- <xsl:apply-templates select="node()" mode="toc"/>
+ <xsl:for-each select="node()">
+ <xsl:choose>
+ <xsl:when test="self::h:a">
+ <xsl:apply-templates select="." mode="toc"/>
+ <xsl:text> </xsl:text>
+ <span class="id">(<xsl:value-of select="$frag" />)</span>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="." mode="toc"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:for-each>
</xsl:copy>
</xsl:template>
<xsl:template match="@*|node()" mode="toc">
@@ -89,6 +100,7 @@
.status.SPLITREC { background: navy; color: white; }
.status.ADD { background: white; color: #999; }
a.status.ADD:hover{ background: purple; color: white; }
+.id { background: white; color: #888; }
</style>
<xsl:text> </xsl:text>
</head>
Index: toc-status.html
===================================================================
RCS file: /sources/public/html5/spec/toc-status.html,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- toc-status.html 21 Aug 2009 02:26:31 -0000 1.61
+++ toc-status.html 21 Aug 2009 08:50:47 -0000 1.62
@@ -22,6 +22,7 @@
.status.SPLITREC { background: navy; color: white; }
.status.ADD { background: white; color: #999; }
a.status.ADD:hover{ background: purple; color: white; }
+.id { background: white; color: #888; }
</style>
</head>
<body><p>This page provides a status-annotated table of contents
@@ -40,1108 +41,1108 @@
you to create an account that will
allow to you to edit the annotation.</p>
<li><a target="_blank" href="http://www.whatwg.org/specs/web-apps/current-work/edit-section.html?section=introduction" class="status WD">WD</a> <a href="../spec/#introduction">1
[...2311 lines suppressed...]
<li><a target="_blank" href="http://www.whatwg.org/specs/web-apps/current-work/add-section.html?section=text-cache-manifest" class="status ADD">ADD</a> <a href="../spec/#text-cache-manifest">13.3
-text/cache-manifest</a></li>
+text/cache-manifest</a> <span class="id">(text-cache-manifest)</span></li>
<li><a target="_blank" href="http://www.whatwg.org/specs/web-apps/current-work/add-section.html?section=text-ping" class="status ADD">ADD</a> <a href="../spec/#text-ping">13.4
-text/ping</a></li>
+text/ping</a> <span class="id">(text-ping)</span></li>
<li><a target="_blank" href="http://www.whatwg.org/specs/web-apps/current-work/add-section.html?section=application-microdata-json" class="status ADD">ADD</a> <a href="../spec/#application-microdata-json">13.5
-application/microdata+json</a></li>
+application/microdata+json</a> <span class="id">(application-microdata-json)</span></li>
</ol>
</li>
-<li><a target="_blank" href="http://www.whatwg.org/specs/web-apps/current-work/edit-section.html?section=index" class="status FD">FD</a> <a href="../spec/#index">Index</a></li>
-<li><a target="_blank" href="http://www.whatwg.org/specs/web-apps/current-work/edit-section.html?section=references" class="status TBW">TBW</a> <a href="../spec/#references">References</a></li>
-<li><a target="_blank" href="http://www.whatwg.org/specs/web-apps/current-work/edit-section.html?section=acknowledgements" class="status WIP">WIP</a> <a href="../spec/#acknowledgements">Acknowledgements</a></li>
+<li><a target="_blank" href="http://www.whatwg.org/specs/web-apps/current-work/edit-section.html?section=index" class="status TBW">TBW</a> <a href="../spec/#index">Index</a> <span class="id">(index)</span></li>
+<li><a target="_blank" href="http://www.whatwg.org/specs/web-apps/current-work/edit-section.html?section=references" class="status TBW">TBW</a> <a href="../spec/#references">References</a> <span class="id">(references)</span></li>
+<li><a target="_blank" href="http://www.whatwg.org/specs/web-apps/current-work/edit-section.html?section=acknowledgements" class="status WIP">WIP</a> <a href="../spec/#acknowledgements">Acknowledgements</a> <span class="id">(acknowledgements)</span></li>
</body>
</html>
Received on Friday, 21 August 2009 08:50:58 UTC