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

html5/spec-author-view/tools preprocess.xsl,1.41,1.42

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 28 Jun 2011 07:59:48 +0000
To: public-html-commits@w3.org
Message-Id: <E1QbTD2-0003nC-BQ@lionel-hutz.w3.org>
Update of /sources/public/html5/spec-author-view/tools
In directory hutz:/tmp/cvs-serv14530/tools

Modified Files:
	preprocess.xsl 
Log Message:
Structured clone: Preserve sparse arrays and mention that non-index properties of arrays are preserved too. (whatwg r6274)

[updated by splitter]


Index: preprocess.xsl
===================================================================
RCS file: /sources/public/html5/spec-author-view/tools/preprocess.xsl,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- preprocess.xsl	2 Jun 2011 16:09:05 -0000	1.41
+++ preprocess.xsl	28 Jun 2011 07:59:46 -0000	1.42
@@ -435,5 +435,14 @@
       <a href="#the-menu-element">menu</a>
       elements.</p>
   </xsl:template>
+  <xsl:template match="dl[@class = 'domintro']/dt/code[@title[starts-with(.,'dom-')]]">
+    <code>
+      <xsl:copy-of select="@*"/>
+      <xsl:attribute name="id">
+        <xsl:value-of select="@title"/>
+      </xsl:attribute>
+      <xsl:apply-templates/>
+    </code>
+  </xsl:template>
   <xsl:template match="link[@href[starts-with(.,'data:text/css')]]"/>
 </xsl:stylesheet>
Received on Tuesday, 28 June 2011 07:59:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 28 June 2011 07:59:58 GMT