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

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 UTC