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

html5/spec-author-view/tools preprocess.xsl,1.67,1.68

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 01 Jul 2011 05:05:02 +0000
To: public-html-commits@w3.org
Message-Id: <E1QcVuY-0003Er-E7@lionel-hutz.w3.org>
Update of /sources/public/html5/spec-author-view/tools
In directory hutz:/tmp/cvs-serv12406/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.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- preprocess.xsl	1 Jul 2011 04:39:05 -0000	1.67
+++ preprocess.xsl	1 Jul 2011 05:05:00 -0000	1.68
@@ -444,6 +444,24 @@
       <xsl:text>&#10;</xsl:text>
     </xsl:for-each>
   </xsl:template>
+  <xsl:template match="div[@class = 'impl'][child::p[child::dfn[@id = 'dom-area-href']]]">
+    <xsl:for-each select="p[child::dfn[@id = 'dom-area-href']]">
+      <xsl:text>&#10;</xsl:text>
+      <p>
+        <xsl:apply-templates/>
+      </p>
+      <xsl:text>&#10;</xsl:text>
+    </xsl:for-each>
+  </xsl:template>
+  <xsl:template match="div[@class = 'impl'][child::p[child::dfn[@id = 'dom-a-href']]]">
+    <xsl:for-each select="p[child::dfn[@id = 'dom-a-href']]">
+      <xsl:text>&#10;</xsl:text>
+      <p>
+        <xsl:apply-templates/>
+      </p>
+      <xsl:text>&#10;</xsl:text>
+    </xsl:for-each>
+  </xsl:template>
   <xsl:template match="div[@class = 'impl'][child::p[child::dfn[@id = 'dom-a-protocol']]]">
     <xsl:for-each select="p[child::dfn[@id = 'dom-a-protocol']]">
       <xsl:text>&#10;</xsl:text>
@@ -492,7 +510,7 @@
     <xsl:variable name="title" select="@title"/>
     <xsl:choose>
       <xsl:when test="not(preceding::dl[@class = 'domintro']/dt/code[@title = $title])
-        and not(preceding::dfn[@id = $title])
+        and not(preceding::dfn[@id = translate($title, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')])
         and not($title = 'dom-applicationCache' and preceding::code[@title = 'dom-applicationCache'])
         and not($title = 'dom-BarProp-visible' and preceding::code[@title = 'dom-BarProp-visible'])
         and not($title = 'dom-cva-validity' and preceding::code[@title = 'dom-cva-validity'])
Received on Friday, 1 July 2011 05:05:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 1 July 2011 05:05:05 GMT