- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 09 Sep 2009 09:46:10 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/markup/tools
In directory hutz:/tmp/cvs-serv21451/tools
Modified Files:
toc.xsl
Log Message:
output a "CHANGED" indicator on the TOC next to elements whose semantics have changed in HTML5
Index: toc.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/toc.xsl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- toc.xsl 9 Sep 2009 09:26:39 -0000 1.6
+++ toc.xsl 9 Sep 2009 09:46:08 -0000 1.7
@@ -116,8 +116,6 @@
or @id="input.color"
or @id="keygen"
or @id="mark"
- or @id="mark"
- or @id="menu"
or @id="meta.charset"
or @id="meter"
or @id="nav"
@@ -131,11 +129,23 @@
or @id="source"
or @id="time"
or @id="video"
-
-
'>
<xsl:text> </xsl:text>
- <span class="new-element">NEW</span>
+ <span class="new-element"
+ title="This element is newly added in HTML5."
+ >NEW</span>
+ </xsl:if>
+ <xsl:if test='@id="b"
+ or @id="hr"
+ or @id="i"
+ or @id="menu"
+ or @id="small"
+ or @id="strong"
+ '>
+ <xsl:text> </xsl:text>
+ <span class="changed-element"
+ title="The meaning of this element has changed in HTML5."
+ >CHANGED</span>
</xsl:if>
<xsl:if test='h:h2[@class = "element-head"]
and .//*[@class = "obsolete"]'>
Received on Wednesday, 9 September 2009 09:51:07 UTC