- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 05 Feb 2010 08:17:27 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/markup/tools
In directory hutz:/tmp/cvs-serv3976/tools
Modified Files:
generate-spec-source.xsl specgen.xsl
Log Message:
checkpointing
Index: specgen.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/specgen.xsl,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- specgen.xsl 5 Feb 2010 06:19:02 -0000 1.50
+++ specgen.xsl 5 Feb 2010 08:17:25 -0000 1.51
@@ -671,9 +671,15 @@
<xsl:when test="following-sibling::*[1][@class='postfix oneormore']">
<span>one or more </span>
</xsl:when>
- <xsl:when test="ancestor::*[@class='agroupof']
- ">
- <span>one </span>
+ <xsl:when test="ancestor::*[@class='agroupof']">
+ <xsl:choose>
+ <xsl:when test="contains(@href,'.attrs.')">
+ <span>a </span>
+ </xsl:when>
+ <xsl:otherwise>
+ <span>one </span>
+ </xsl:otherwise>
+ </xsl:choose>
</xsl:when>
<xsl:when test="following-sibling::*
">
@@ -844,7 +850,14 @@
</xsl:when>
<xsl:when test="ancestor::*[@class='agroupof']
">
- <span> element</span>
+ <xsl:choose>
+ <xsl:when test="contains(@href,'.attrs.')">
+ <span> attribute</span>
+ </xsl:when>
+ <xsl:otherwise>
+ <span> element</span>
+ </xsl:otherwise>
+ </xsl:choose>
<xsl:if test="following-sibling::*[not(contains(@class,'postfix'))][not(contains(.,'.attrs'))]">
<xsl:text>, </xsl:text>
</xsl:if>
Index: generate-spec-source.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/generate-spec-source.xsl,v
retrieving revision 1.231
retrieving revision 1.232
diff -u -d -r1.231 -r1.232
--- generate-spec-source.xsl 5 Feb 2010 06:19:02 -0000 1.231
+++ generate-spec-source.xsl 5 Feb 2010 08:17:24 -0000 1.232
@@ -1333,6 +1333,9 @@
<!-- * </xsl:call-template> -->
<!-- * </xsl:for-each> -->
<!-- * </xsl:when> -->
+ <xsl:when test="starts-with($name,'input.')">
+ <p class="elem-mdl"><span>empty (<a href="#void-element">void element</a>)</span></p>
+ </xsl:when>
<xsl:when test="$name='li'">
<xsl:for-each select="document($rnc-html)//*[@id='li']/*[@class = 'model']">
<xsl:variable name="pname" select="../@id"/>
@@ -1575,7 +1578,6 @@
= 'pattern'][descendant::h:a[@href = concat('#',$full-name)
or starts-with(@href,concat('#',$full-name,'.elem.'))
]][not(@id='script')]">
- <xsl:message> name: <xsl:value-of select="$name"/></xsl:message>
<xsl:if test="not($full-name = @id)">
<xsl:call-template name="make.context"/>
</xsl:if>
@@ -1966,6 +1968,18 @@
</xsl:when>
<xsl:otherwise>
<xsl:copy-of select="."/>
+ <xsl:if test="$name = 'audio'">
+ <span class="postfix intermixed">&</span>
+ <xsl:text> </xsl:text>
+ <a href="#audio.attrs.src">src</a>
+ <span class="postfix optional">?</span>
+ </xsl:if>
+ <xsl:if test="$name = 'video'">
+ <span class="postfix intermixed">&</span>
+ <xsl:text> </xsl:text>
+ <a href="#video.attrs.src">src</a>
+ <span class="postfix optional">?</span>
+ </xsl:if>
</xsl:otherwise>
</xsl:choose>
</p>
@@ -2612,10 +2626,10 @@
<a href="#common.elem.metadata">metadata elements</a>
</xsl:when>
<xsl:when test="@href='#audio.attrs.src'">
- <a class="ref" href="{@href}">audio.attrs.src</a>
+ <a class="ref attribute" href="{@href}">src</a>
</xsl:when>
<xsl:when test="@href='#video.attrs.src'">
- <a class="ref" href="{@href}">video.attrs.src</a>
+ <a class="ref attribute" href="{@href}">src</a>
</xsl:when>
<xsl:when test="@href='#common.elem.phrasing'">
<a class="ref" href="{@href}">phrasing elements</a>
Received on Friday, 5 February 2010 08:17:28 UTC