- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 20 Apr 2011 16:54:46 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view/tools
In directory hutz:/tmp/cvs-serv14792/tools
Modified Files:
postprocess.xsl
Log Message:
Rework MediaController so that it exposes more events so that you can keep track of the overall state. (whatwg r6018)
[updated by splitter]
Index: postprocess.xsl
===================================================================
RCS file: /sources/public/html5/spec-author-view/tools/postprocess.xsl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- postprocess.xsl 20 Apr 2011 15:33:27 -0000 1.7
+++ postprocess.xsl 20 Apr 2011 16:54:44 -0000 1.8
@@ -15,6 +15,12 @@
<xsl:template match="a[@href[starts-with(.,'#')]]">
<xsl:variable name="ref" select="@href"/>
<xsl:choose>
+ <xsl:when test="not(key('local-frags',$ref)) and ancestor::ol[@class = 'toc' or @class='brief toc']">
+ <xsl:message>
+ <xsl:value-of select="$ref"/>
+ </xsl:message>
+ <xsl:for-each select=".."/>
+ </xsl:when>
<xsl:when test="not(key('local-frags',$ref)) and not(ancestor::ol[@class = 'toc' or @class='brief toc'])">
<!-- * <xsl:message> -->
<!-- * <xsl:value-of select="$ref"/> -->
Received on Wednesday, 20 April 2011 16:54:49 UTC