html5/spec-author-view/tools postprocess.xsl,1.6,1.7

Update of /sources/public/html5/spec-author-view/tools
In directory hutz:/tmp/cvs-serv24391/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.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- postprocess.xsl	17 Aug 2010 09:52:48 -0000	1.6
+++ postprocess.xsl	20 Apr 2011 15:33:27 -0000	1.7
@@ -15,7 +15,7 @@
   <xsl:template match="a[@href[starts-with(.,'#')]]">
     <xsl:variable name="ref" select="@href"/>
     <xsl:choose>
-      <xsl:when test="not(key('local-frags',$ref))">
+      <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"/> -->
         <!-- * </xsl:message> -->

Received on Wednesday, 20 April 2011 15:33:31 UTC