- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 01 Jul 2011 07:50:30 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view/tools
In directory hutz:/tmp/cvs-serv27117/tools
Modified Files:
preprocess.xsl
Log Message:
Revamp how audioTracks and videoTracks work on HTMLMediaElement and MediaStream. (whatwg r6275)
[updated by splitter]
Index: preprocess.xsl
===================================================================
RCS file: /sources/public/html5/spec-author-view/tools/preprocess.xsl,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -d -r1.71 -r1.72
--- preprocess.xsl 1 Jul 2011 06:58:25 -0000 1.71
+++ preprocess.xsl 1 Jul 2011 07:50:28 -0000 1.72
@@ -434,6 +434,20 @@
<a href="#the-menu-element">menu</a>
elements.</p>
</xsl:template>
+ <xsl:template match="a[@href='#hrefMEDIAFRAG']">
+ <a>
+ <xsl:copy-of select="@*"/>
+ <xsl:attribute name="href">#refsMEDIAFRAG</xsl:attribute>
+ <xsl:apply-templates/>
+ </a>
+ </xsl:template>
+ <xsl:template match="a[@href='#DOMEVENTS']">
+ <a>
+ <xsl:copy-of select="@*"/>
+ <xsl:attribute name="href">#refsDOMEVENTS</xsl:attribute>
+ <xsl:apply-templates/>
+ </a>
+ </xsl:template>
<xsl:template match="div[@class = 'impl']">
<xsl:for-each select="p[child::a[@href = '#reflect']]">
<xsl:text> </xsl:text>
@@ -458,20 +472,35 @@
</xsl:for-each>
</xsl:template>
<xsl:template match="pre[@class = 'idl']//a[@href[starts-with(.,'#handler-')]]">
- <a>
- <xsl:copy-of select="@*"/>
- <xsl:attribute name="href">
- <xsl:choose>
- <xsl:when test="@href[starts-with(.,'#handler-window-on')]">
- <xsl:value-of select="concat('#ix-handler-window-on', substring-after(@href, '-on'))"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="concat('#ix-handler-on', substring-after(@href, '-on'))"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- <xsl:apply-templates/>
- </a>
+ <xsl:choose>
+ <xsl:when test= "
+ @href = 'onenter'
+ or @href = 'onexit'
+ or @href = 'onchecking'
+ or @href = 'onnoupdate'
+ or @href = 'ondownloading'
+ or @href = 'onupdateready'
+ or @href = 'oncached'
+ or @href = 'onobsolete'
+ "
+ />
+ <xsl:otherwise>
+ <a>
+ <xsl:copy-of select="@*"/>
+ <xsl:attribute name="href">
+ <xsl:choose>
+ <xsl:when test="@href[starts-with(.,'#handler-window-on')]">
+ <xsl:value-of select="concat('#ix-handler-window-on', substring-after(@href, '-on'))"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="concat('#ix-handler-on', substring-after(@href, '-on'))"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+ <xsl:apply-templates/>
+ </a>
+ </xsl:otherwise>
+ </xsl:choose>
</xsl:template>
<xsl:template match="table[@id = 'ix-event-handlers']//tr/td/code[@title[starts-with(.,'handler-')]]/a">
<span>
Received on Friday, 1 July 2011 07:50:32 UTC