- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Sun, 28 Mar 2010 20:50:34 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/markup/tools
In directory hutz:/tmp/cvs-serv7450/tools
Modified Files:
generate-spec-source.xsl toc.xsl
Log Message:
added per-element links back to spec
Index: generate-spec-source.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/generate-spec-source.xsl,v
retrieving revision 1.247
retrieving revision 1.248
diff -u -d -r1.247 -r1.248
--- generate-spec-source.xsl 7 Mar 2010 11:05:14 -0000 1.247
+++ generate-spec-source.xsl 28 Mar 2010 20:50:31 -0000 1.248
@@ -1152,6 +1152,7 @@
</xsl:otherwise>
</xsl:choose>
</span>
+ <xsl:text> </xsl:text>
<xsl:if test='not($obsoleted="")'>
<xsl:text> </xsl:text>
<span class="obsoleted-feature"
@@ -1170,6 +1171,14 @@
title="This markup feature is newly added in HTML5."
>NEW</span>
</xsl:if>
+ <xsl:text> </xsl:text>
+ <xsl:if test="not(contains($name,'.'))">
+ <span class="spec-link">
+ <a title="Read about the {$name} element in the HTML5 spec"
+ href="http://dev.w3.org/html5/spec-author-view/#the-{$name}-element"><img
+ src="images/External.png"></img></a>
+ </span>
+ </xsl:if>
</h2>
<xsl:text> </xsl:text>
<xsl:variable name="space-name">
Index: toc.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/toc.xsl,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- toc.xsl 2 Mar 2010 05:12:41 -0000 1.14
+++ toc.xsl 28 Mar 2010 20:50:32 -0000 1.15
@@ -113,6 +113,17 @@
title="This markup feature is newly added in HTML5."
>NEW</span>
</xsl:if>
+ <xsl:text> </xsl:text>
+ <xsl:if test="
+ ancestor::h:section[@id='elements']
+ and
+ not(contains(@id,'.'))">
+ <span class="spec-link">
+ <a title="Read about the {@id} element in the HTML5 spec"
+ href="http://dev.w3.org/html5/spec-author-view/#the-{@id}-element"><img
+ src="images/External.png"></img></a>
+ </span>
+ </xsl:if>
<xsl:text> </xsl:text>
<xsl:if test="$unexpanded=0">
<xsl:call-template name='toc1'>
Received on Sunday, 28 March 2010 20:50:35 UTC