html5/spec-author-view/tools preprocess.xsl,1.52,1.53

Update of /sources/public/html5/spec-author-view/tools
In directory hutz:/tmp/cvs-serv21303/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.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- preprocess.xsl	29 Jun 2011 02:56:52 -0000	1.52
+++ preprocess.xsl	29 Jun 2011 03:12:47 -0000	1.53
@@ -436,7 +436,6 @@
       elements.</p>
   </xsl:template>
   <xsl:template match="pre[@class = 'idl']//a[@href[starts-with(.,'#handler-')]]">
-  <xsl:template match="pre[@class = 'idl']//a[@href[starts-with(.,'#handler-')]]">
     <a>
       <xsl:copy-of select="@*"/>
       <xsl:attribute name="href">
@@ -445,7 +444,16 @@
       <xsl:apply-templates/>
     </a>
   </xsl:template>
-  <xsl:template match="table[@id = 'ix-event-handlers']//tr/td/code/[@title[starts-with(.,'handler-')]]/a">
+  <xsl:template match="table[@id = 'ix-event-handlers']//tr/td/code[@title[starts-with(.,'handler-')]]/a">
+    <span>
+      <xsl:value-of select="."/>
+    </span>
+  </xsl:template>
+  <xsl:template match="table[@id = 'ix-event-handlers']//tr/td/a[@title[starts-with(.,'handler-')]]">
+    <span>
+      <xsl:value-of select="."/>
+    </span>
+  </xsl:template>
   <xsl:template match="dl[@class = 'domintro']/dt/code[@title[starts-with(.,'dom-')]]">
     <xsl:variable name="title" select="@title"/>
     <xsl:choose>

Received on Wednesday, 29 June 2011 03:12:54 UTC