- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Sun, 07 Feb 2010 11:54:06 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/markup/tools In directory hutz:/tmp/cvs-serv31667/tools Modified Files: generate-spec-source.xsl toc.xsl Log Message: checkpointing Index: generate-spec-source.xsl =================================================================== RCS file: /sources/public/html5/markup/tools/generate-spec-source.xsl,v retrieving revision 1.233 retrieving revision 1.234 diff -u -d -r1.233 -r1.234 --- generate-spec-source.xsl 5 Feb 2010 08:35:45 -0000 1.233 +++ generate-spec-source.xsl 7 Feb 2010 11:54:03 -0000 1.234 @@ -406,6 +406,23 @@ </xsl:choose> </xsl:for-each> </span> + <xsl:text> </xsl:text> + <xsl:variable name="ref" select="@id"/> + <xsl:if test="document('../src/attributes.html')//*[@id=$ref][contains(@class,'new')]"> + <span class="new-feature" + title="This markup feature is newly added in HTML5." + >NEW</span> + </xsl:if> + <xsl:if test="document('../src/attributes.html')//*[@id=$ref][contains(@class,'changed')]"> + <span class="changed-feature" + title="The meaning or purpose of this markup feature has changed in HTML5." + >CHANGED</span> + </xsl:if> + <xsl:if test="document('../src/attributes.html')//*[@id=$ref][contains(@class,'obsolete')]"> + <span class="obsoleted-feature" + title="This markup feature has been obsoleted in HTML5." + >OBSOLETE</span> + </xsl:if> <a class="hash" href="#{@id}">#</a> </dt> <xsl:variable name="ref" select="@id"/> @@ -836,13 +853,13 @@ )" > <xsl:variable name="obsoleted"> - <xsl:if test="document(concat('../elements/',$name,'.html'))//*[@class[contains(.,'obsoleted')]]"> obsoleted</xsl:if> + <xsl:if test="document(concat('../elements/',$name,'.html'))//*[@id='shortdesc'][@class[contains(.,'obsoleted')]]"> obsoleted</xsl:if> </xsl:variable> <xsl:variable name="changed"> - <xsl:if test="document(concat('../elements/',$name,'.html'))//*[@class[contains(.,'changed')]]"> changed</xsl:if> + <xsl:if test="document(concat('../elements/',$name,'.html'))//*[@id='shortdesc'][@class[contains(.,'changed')]]"> changed</xsl:if> </xsl:variable> <xsl:variable name="new"> - <xsl:if test="document(concat('../elements/',$name,'.html'))//*[@class[contains(.,'new')]]"> new</xsl:if> + <xsl:if test="document(concat('../elements/',$name,'.html'))//*[@id='shortdesc'][@class[contains(.,'new')]]"> new</xsl:if> </xsl:variable> <xsl:choose> <xsl:when test="$name='button.submit'"> @@ -2310,6 +2327,21 @@ </xsl:choose> </span> <xsl:text> </xsl:text> + <xsl:if test="not($name='') and document(concat('../elements/',$name,'.html'))//*[@id=$ref][contains(@class,'new')]"> + <span class="new-feature" + title="This markup feature is newly added in HTML5." + >NEW</span> + </xsl:if> + <xsl:if test="not($name='') and document(concat('../elements/',$name,'.html'))//*[@id=$ref][contains(@class,'changed')]"> + <span class="changed-feature" + title="The meaning or purpose of this markup feature has changed in HTML5." + >CHANGED</span> + </xsl:if> + <xsl:if test="not($name='') and document(concat('../elements/',$name,'.html'))//*[@id=$ref][contains(@class,'obsolete')]"> + <span class="obsoleted-feature" + title="This markup feature has been obsoleted in HTML5." + >OBSOLETE</span> + </xsl:if> </xsl:element> <xsl:if test="$wrapper='dt'"> <xsl:text> </xsl:text> @@ -2337,9 +2369,9 @@ <xsl:if test="exsl:node-set($warnings)/s:rule[child::s:context = $name] [child::s:report[@test[contains(.,concat('@',$attribute-name))]]] + and not($attribute-name='summary') "> <dd class="warning"> - <span class="admonition-marker">Warning: </span> <xsl:value-of select="exsl:node-set($warnings)/s:rule[child::s:context = $name] /s:report[@test[contains(.,concat('@',$attribute-name))]] Index: toc.xsl =================================================================== RCS file: /sources/public/html5/markup/tools/toc.xsl,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- toc.xsl 3 Feb 2010 14:44:07 -0000 1.11 +++ toc.xsl 7 Feb 2010 11:54:03 -0000 1.12 @@ -103,7 +103,7 @@ <xsl:if test='(h:h2|h:h3|h:h4|h:h5|h:h6)/node()[contains(@class,"changed-feature")]'> <xsl:text> </xsl:text> <span class="changed-feature" - title="The meaning of this markup feature has changed in HTML5." + title="The meaning or purpose of this markup feature has changed in HTML5." >CHANGED</span> </xsl:if> <xsl:if test='(h:h2|h:h3|h:h4|h:h5|h:h6)/node()[contains(@class,"new-feature")]'>
Received on Sunday, 7 February 2010 11:54:07 UTC