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

html5/spec-author-view/tools preprocess.xsl,1.46,1.47

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 28 Jun 2011 10:11:17 +0000
To: public-html-commits@w3.org
Message-Id: <E1QbVGH-0003b2-Kx@lionel-hutz.w3.org>
Update of /sources/public/html5/spec-author-view/tools
In directory hutz:/tmp/cvs-serv13668/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.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- preprocess.xsl	28 Jun 2011 09:44:01 -0000	1.46
+++ preprocess.xsl	28 Jun 2011 10:11:15 -0000	1.47
@@ -435,6 +435,14 @@
       <a href="#the-menu-element">menu</a>
       elements.</p>
   </xsl:template>
+  <xsl:template match="pre[@class = 'idl']//a[@href[starts-with(.,'#handler-')]]">
+    <a>
+      <xsl:copy-of select="@*"/>
+      <xsl:attribute name="href">
+        <xsl:value-of select="concat('#ix', substring-after(@href, '#'))"/>
+      </xsl:attribute>
+    </a>
+  </xsl:template>
   <xsl:template match="dl[@class = 'domintro']/dt/code[@title[starts-with(.,'dom-')]]">
     <xsl:variable name="title" select="@title"/>
     <xsl:choose>
Received on Tuesday, 28 June 2011 10:11:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 28 June 2011 10:11:24 GMT