- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 30 Jun 2011 15:55:28 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view/tools
In directory hutz:/tmp/cvs-serv27842/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.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- preprocess.xsl 30 Jun 2011 15:38:04 -0000 1.60
+++ preprocess.xsl 30 Jun 2011 15:55:26 -0000 1.61
@@ -435,6 +435,16 @@
<a href="#the-menu-element">menu</a>
elements.</p>
</xsl:template>
+ <xsl:template match="div[@class = 'impl'][child::p[child::a[@href = '#reflect']]]">
+ <p>
+ <xsl:copy-of select="p[child::a[@href = '#reflect']]"/>
+ <xsl:apply-templates select="p[child::a[@href = '#reflect']]"/>
+ </p>
+ <div>
+ <xsl:copy-of select="@*"/>
+ <xsl:copy-of select="node()[not(p[child::a[@href = '#reflect']])]"/>
+ </div>
+ </xsl:template>
<xsl:template match="a[@href[starts-with(.,'#handler-window-on')]]">
<a>
<xsl:copy-of select="@*"/>
Received on Thursday, 30 June 2011 15:55:29 UTC