- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 29 Mar 2010 15:08:04 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/markup/tools In directory hutz:/tmp/cvs-serv16679/tools Modified Files: generate-spec-source.xsl toc.xsl Log Message: changed spec-link symbol to circled "i" (U+24D8) Index: generate-spec-source.xsl =================================================================== RCS file: /sources/public/html5/markup/tools/generate-spec-source.xsl,v retrieving revision 1.249 retrieving revision 1.250 diff -u -d -r1.249 -r1.250 --- generate-spec-source.xsl 28 Mar 2010 23:11:06 -0000 1.249 +++ generate-spec-source.xsl 29 Mar 2010 15:08:01 -0000 1.250 @@ -939,6 +939,11 @@ <xsl:text> </xsl:text> <h2 class="element-head"> <span class="element">button</span> + <xsl:text> </xsl:text> + <span class="spec-link"> + <a title="Read about the button element in the HTML5 spec" + href="http://dev.w3.org/html5/spec-author-view/#the-button-element">ⓘ</a> + </span> </h2> <xsl:text> </xsl:text> <div> @@ -967,6 +972,11 @@ <h2 class="element-head"> <span class="element">command</span> <xsl:text> </xsl:text> + <span class="spec-link"> + <a title="Read about the command element in the HTML5 spec" + href="http://dev.w3.org/html5/spec-author-view/#the-command">ⓘ</a> + </span> + <xsl:text> </xsl:text> <span class="new-feature" title="This markup feature is newly added in HTML5.">NEW</span> </h2> <xsl:text> </xsl:text> @@ -993,6 +1003,11 @@ <xsl:text> </xsl:text> <h2 class="element-head"> <span class="element">input</span> + <xsl:text> </xsl:text> + <span class="spec-link"> + <a title="Read about the input element in the HTML5 spec" + href="http://dev.w3.org/html5/spec-author-view/#the-input-element">ⓘ</a> + </span> </h2> <xsl:text> </xsl:text> <div> @@ -1018,6 +1033,11 @@ <xsl:text> </xsl:text> <h2 class="element-head"> <span class="element">meta</span> + <xsl:text> </xsl:text> + <span class="spec-link"> + <a title="Read about the meta element in the HTML5 spec" + href="http://dev.w3.org/html5/spec-author-view/#the-meta-element">ⓘ</a> + </span> </h2> <xsl:text> </xsl:text> <p>The <span class="element">meta</span> element is @@ -1056,12 +1076,16 @@ <xsl:when test="contains($name,'.notype')"> <span class="element"><xsl:value-of select="substring-before($name,'.')"/></span> <xsl:text> </xsl:text> - <span class="elem-qualifier"><span class="attribute-name">type</span> unspecified</span> + <span class="elem-qualifier"> + <xsl:text> </xsl:text> + <span class="attribute-name">type</span> unspecified</span> </xsl:when> <xsl:when test="contains($name,'.noshape')"> <span class="element"><xsl:value-of select="substring-before($name,'.')"/></span> <xsl:text> </xsl:text> - <span class="elem-qualifier"><span class="attribute-name">shape</span> unspecified</span> + <span class="elem-qualifier"> + <xsl:text> </xsl:text> + <span class="attribute-name">shape</span> unspecified</span> </xsl:when> <xsl:when test="contains($name,'.')"> <span class="element"><xsl:value-of select="substring-before($name,'.')"/></span> @@ -1087,6 +1111,7 @@ </xsl:choose> </xsl:variable> <span class="elem-qualifier"> + <xsl:text> </xsl:text> <span class="attribute-name"> <xsl:value-of select="$qualifier"/> </span><xsl:if @@ -1171,7 +1196,6 @@ title="This markup feature is newly added in HTML5." >NEW</span> </xsl:if> - <xsl:text> </xsl:text> <xsl:if test="not(contains($name,'.'))"> <xsl:variable name="target"> <xsl:choose> @@ -1197,10 +1221,11 @@ </xsl:otherwise> </xsl:choose> </xsl:variable> + <xsl:text> </xsl:text> <span class="spec-link"> + <xsl:text> </xsl:text> <a title="Read about the {$name} element in the HTML5 spec" - href="http://dev.w3.org/html5/spec-author-view/#{$target}"><img - src="images/External.png"></img></a> + href="http://dev.w3.org/html5/spec-author-view/#{$target}">ⓘ</a> </span> </xsl:if> </h2> Index: toc.xsl =================================================================== RCS file: /sources/public/html5/markup/tools/toc.xsl,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- toc.xsl 28 Mar 2010 23:11:06 -0000 1.16 +++ toc.xsl 29 Mar 2010 15:08:01 -0000 1.17 @@ -86,15 +86,21 @@ </xsl:if> </span> <xsl:for-each select='(h:h2|h:h3|h:h4|h:h5|h:h6)/node() - [not(normalize-space(.)="")] - [not(contains(@class,"obsoleted-feature"))] - [not(contains(@class,"changed-feature"))] - [not(contains(@class,"new-feature"))] - '> - <xsl:text> </xsl:text> + [not(normalize-space(.)="")] + [not(contains(@class,"obsoleted-feature"))] + [not(contains(@class,"changed-feature"))] + [not(contains(@class,"new-feature"))] + [not(@class="spec-link")] + '> <xsl:copy-of select='.'/> </xsl:for-each> </a> + <xsl:text> </xsl:text> + <xsl:for-each select='(h:h2|h:h3|h:h4|h:h5|h:h6)/node() + [@class="spec-link"] + '> + <xsl:copy-of select='.'/> + </xsl:for-each> <xsl:if test='(h:h2|h:h3|h:h4|h:h5|h:h6)/node()[contains(@class,"obsoleted-feature")]'> <xsl:text> </xsl:text> <span class="obsoleted-feature" @@ -113,41 +119,6 @@ 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,'.'))"> - <xsl:variable name="target"> - <xsl:choose> - <xsl:when test="@id = 'audio'">audio</xsl:when> - <xsl:when test="@id = 'body'">the-body-element-0</xsl:when> - <xsl:when test="@id = 'command'">the-command</xsl:when> - <xsl:when test="@id = 'h1'">the-h1-h2-h3-h4-h5-and-h6-elements</xsl:when> - <xsl:when test="@id = 'h2'">the-h1-h2-h3-h4-h5-and-h6-elements</xsl:when> - <xsl:when test="@id = 'h3'">the-h1-h2-h3-h4-h5-and-h6-elements</xsl:when> - <xsl:when test="@id = 'h4'">the-h1-h2-h3-h4-h5-and-h6-elements</xsl:when> - <xsl:when test="@id = 'h5'">the-h1-h2-h3-h4-h5-and-h6-elements</xsl:when> - <xsl:when test="@id = 'h6'">the-h1-h2-h3-h4-h5-and-h6-elements</xsl:when> - <xsl:when test="@id = 'head'">the-head-element-0</xsl:when> - <xsl:when test="@id = 'html'">the-html-element-0</xsl:when> - <xsl:when test="@id = 'menu'">menus</xsl:when> - <xsl:when test="@id = 'meta'">meta</xsl:when> - <xsl:when test="@id = 'sub'">the-sub-and-sup-elements</xsl:when> - <xsl:when test="@id = 'sup'">the-sub-and-sup-elements</xsl:when> - <xsl:when test="@id = 'title'">the-title-element-0</xsl:when> - <xsl:when test="@id = 'video'">video</xsl:when> - <xsl:otherwise> - <xsl:value-of select="concat('the-',@id,'-element')"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <span class="spec-link"> - <a title="Read about the {@id} element in the HTML5 spec" - href="http://dev.w3.org/html5/spec-author-view/#{$target}"><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 Monday, 29 March 2010 15:08:05 UTC