W3C home > Mailing lists > Public > public-html-commits@w3.org > April 2011

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

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 20 Apr 2011 15:33:29 +0000
To: public-html-commits@w3.org
Message-Id: <E1QCZPF-0006N3-Uq@lionel-hutz.w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 20 April 2011 15:33:33 GMT