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

html5/spec-author-view/tools preprocess.xsl,1.49,1.50

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 28 Jun 2011 10:51:36 +0000
To: public-html-commits@w3.org
Message-Id: <E1QbVtI-0007A0-5k@lionel-hutz.w3.org>
Update of /sources/public/html5/spec-author-view/tools
In directory hutz:/tmp/cvs-serv27392/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.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- preprocess.xsl	28 Jun 2011 10:35:49 -0000	1.49
+++ preprocess.xsl	28 Jun 2011 10:51:34 -0000	1.50
@@ -439,7 +439,7 @@
     <a>
       <xsl:copy-of select="@*"/>
       <xsl:attribute name="href">
-        <xsl:value-of select="concat('#ix-', substring-after(@href, '#'))"/>
+        <xsl:value-of select="concat('#ix-on', substring-after(@href, '-on'))"/>
       </xsl:attribute>
       <xsl:apply-templates/>
     </a>
@@ -447,7 +447,7 @@
   <xsl:template match="dl[@class = 'domintro']/dt/code[@title[starts-with(.,'dom-')]]">
     <xsl:variable name="title" select="@title"/>
     <xsl:choose>
-      <xsl:when test="preceding::dl[@class = 'domintro']/dt/code[@title = $title]
+      <xsl:when test="not(preceding::dl[@class = 'domintro']/dt/code[@title = $title])
         and not($title = 'dom-navigator')
         and not($title = 'dom-htmlcollection-item')
         and not($title = 'dom-HTMLCollection-item')
Received on Tuesday, 28 June 2011 10:51:40 GMT

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