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

html5/spec-author-view/tools preprocess.xsl,1.54,1.55

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 29 Jun 2011 04:56:19 +0000
To: public-html-commits@w3.org
Message-Id: <E1Qbmp1-0000Em-Ak@lionel-hutz.w3.org>
Update of /sources/public/html5/spec-author-view/tools
In directory hutz:/tmp/cvs-serv805/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.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- preprocess.xsl	29 Jun 2011 04:30:25 -0000	1.54
+++ preprocess.xsl	29 Jun 2011 04:56:17 -0000	1.55
@@ -457,29 +457,7 @@
   <xsl:template match="dl[@class = 'domintro']/dt/code[@title[starts-with(.,'dom-')]]">
     <xsl:variable name="title" select="@title"/>
     <xsl:choose>
-      <xsl:when test="not(preceding::dl[@class = 'domintro']/dt/code[@title = $title])
-        and not($title = 'dom-applicationCache')
-        and not($title = 'dom-BarProp-visible')
-        and not($title = 'dom-cva-validity')
-        and not($title = 'dom-DataTransferItemList-add')
-        and not($title = 'dom-document-open')
-        and not($title = 'dom-external')
-        and not($title = 'dom-history')
-        and not($title = 'dom-innerHTML')
-        and not($title = 'dom-outerHTML')
-        and not($title = 'dom-media-textTracks')
-        and not($title = 'dom-navigator-registerProtocolHandler')
-        and not($title = 'dom-navigator-registerContentHandler')
-        and not($title = 'dom-navigator')
-        and not($title = 'dom-select-item')
-        and not($title = 'dom-windowtimers-setTimeout')
-        and not($title = 'dom-windowtimers-setInterval')
-        and not($title = 'dom-HTMLCollection-item')
-        and not($title = 'dom-HTMLCollection-length')
-        and not($title = 'dom-HTMLAllCollection-namedItem')
-        and not($title = 'dom-HTMLFormControlsCollection-namedItem')
-        and not($title = 'dom-HTMLOptionsCollection-namedItem')
-        ">
+      <xsl:when test="not(preceding::code[@title = $title])">
         <code>
           <xsl:copy-of select="@*"/>
           <xsl:attribute name="id">
Received on Wednesday, 29 June 2011 04:56:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 29 June 2011 04:56:26 GMT