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

html5/spec-author-view/tools preprocess.xsl,1.82,1.83

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Sat, 02 Jul 2011 06:26:44 +0000
To: public-html-commits@w3.org
Message-Id: <E1QctfA-0007gq-NZ@lionel-hutz.w3.org>
Update of /sources/public/html5/spec-author-view/tools
In directory hutz:/tmp/cvs-serv29463/tools

Modified Files:
	preprocess.xsl 
Log Message:
Attempt to reorganise the rendering section to make it more usable for implementors (whatwg r6276)

[updated by splitter]


Index: preprocess.xsl
===================================================================
RCS file: /sources/public/html5/spec-author-view/tools/preprocess.xsl,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- preprocess.xsl	2 Jul 2011 05:58:38 -0000	1.82
+++ preprocess.xsl	2 Jul 2011 06:26:42 -0000	1.83
@@ -462,13 +462,11 @@
     <xsl:for-each select="p[child::a[@href = '#reflect']]
       | p[child::dfn[@id = 'dom-a-protocol']]
       | p[child::dfn[@id = 'dom-area-protocol']]
-      | p[child::dfn[@id = 'dom-audio-s']]
       | p[child::dfn[@id = 'dom-base-href']]
       | p[child::dfn[@id = 'dom-cva-validity']]
       | p[child::dfn[@id = 'dom-dragevent-initdragevent']]
       | p[child::dfn[@id = 'dom-external']]
       | p[child::dfn[@id = 'dom-history']]
-      | p[child::dfn[@id = 'dom-keygen-type']]
       | p[child::dfn[@id = 'dom-meter-value']]
       | p[child::dfn[@id = 'dom-hashchangeevent-inithashchangeevent']]
       | p[child::dfn[@id = 'dom-pagetransitionevent-initpagetransitionevent']]
@@ -537,55 +535,49 @@
   </xsl:template>
   <xsl:template match="dl[@class = 'domintro']/dt/*[@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-dir')
         and not($title = 'dom-hidden')
+        and not($title = 'dom-image')
+        and not($title = 'dom-option')
+        and not($title = 'dom-BarProp-visible' and preceding::code[@title = 'dom-BarProp-visible'])
+        and not($title = 'dom-id' and preceding::code[@title = 'dom-id'])
+        and not($title = 'dom-title' and preceding::code[@title = 'dom-title'])
+        and not($title = 'dom-innerHTML' and preceding::code[@title = 'dom-innerHTML'])
+        and not($title = 'dom-outerHTML' and preceding::code[@title = 'dom-outerHTML'])
+        and not($title = 'dom-media-textTracks' and preceding::code[@title = 'dom-media-textTracks'])
+        and not($title = 'dom-navigator-registerProtocolHandler' and preceding::code[@title = 'dom-navigator-registerProtocolHandler'])
+        and not($title = 'dom-navigator-registerContentHandler' and preceding::code[@title = 'dom-navigator-registerContentHandler'])
+        and not($title = 'dom-navigator' and preceding::code[@title = 'dom-navigator'])
+        and not($title = 'dom-select-item' and preceding::code[@title = 'dom-select-item'])
+        and not($title = 'dom-HTMLCollection-item' and preceding::code[@title = 'dom-HTMLCollection-item'])
+        and not($title = 'dom-HTMLCollection-length' and preceding::code[@title = 'dom-HTMLCollection-length'])
+        and not($title = 'dom-document-open' and preceding::code[@title = 'dom-document-open'])
+        and not($title = 'dom-document-nameditem')
+        -->
+    <xsl:choose>
+      <xsl:when test="not(preceding::dl[@class = 'domintro']/dt/code[@title = $title])
         and not($title = 'dom-a-protocol')
         and not($title = 'dom-area-protocol')
-        and not($title = 'dom-audio-s')
-        and not($title = 'dom-Audio')
         and not($title = 'dom-base-href')
         and not($title = 'dom-cva-validity')
-        and not($title = 'dom-document-nameditem')
         and not($title = 'dom-dragevent-initdragevent')
         and not($title = 'dom-external')
-        and not($title = 'dom-fieldset-elements')
         and not($title = 'dom-history')
-        and not($title = 'dom-htmlallcollection-nameditem')
-        and not($title = 'dom-htmloptionscollection-remove')
-        and not($title = 'dom-image')
-        and not($title = 'dom-keygen-type')
         and not($title = 'dom-meter-value')
-        and not($title = 'dom-option')
         and not($title = 'dom-hashchangeevent-inithashchangeevent')
         and not($title = 'dom-pagetransitionevent-initpagetransitionevent')
         and not($title = 'dom-popstateevent-initpopstateevent')
         and not($title = 'dom-progress-value')
         and not($title = 'dom-input-indeterminate')
         and not($title = 'dom-media-startoffsettime')
-        and not($title = 'dom-radionodelist-value')
         and not($title = 'dom-tokenlist-tostring')
         and not(starts-with($title, 'dom-iframe-'))
         and not(starts-with($title, 'dom-image-'))
         and not(starts-with($title, 'dom-object-'))
-        and not($title = 'dom-applicationCache' and preceding::code[@title = 'dom-applicationCache'])
-        and not($title = 'dom-BarProp-visible' and preceding::code[@title = 'dom-BarProp-visible'])
         and not($title = 'dom-cva-validity' and preceding::code[@title = 'dom-cva-validity'])
-        and not($title = 'dom-document-open' and preceding::code[@title = 'dom-document-open'])
         and not($title = 'dom-external' and preceding::code[@title = 'dom-external'])
         and not($title = 'dom-history' and preceding::code[@title = 'dom-history'])
-        and not($title = 'dom-id' and preceding::code[@title = 'dom-id'])
-        and not($title = 'dom-title' and preceding::code[@title = 'dom-title'])
-        and not($title = 'dom-innerHTML' and preceding::code[@title = 'dom-innerHTML'])
-        and not($title = 'dom-outerHTML' and preceding::code[@title = 'dom-outerHTML'])
-        and not($title = 'dom-media-textTracks' and preceding::code[@title = 'dom-media-textTracks'])
-        and not($title = 'dom-navigator-registerProtocolHandler' and preceding::code[@title = 'dom-navigator-registerProtocolHandler'])
-        and not($title = 'dom-navigator-registerContentHandler' and preceding::code[@title = 'dom-navigator-registerContentHandler'])
-        and not($title = 'dom-navigator' and preceding::code[@title = 'dom-navigator'])
-        and not($title = 'dom-select-item' and preceding::code[@title = 'dom-select-item'])
-        and not($title = 'dom-HTMLCollection-item' and preceding::code[@title = 'dom-HTMLCollection-item'])
-        and not($title = 'dom-HTMLCollection-length' and preceding::code[@title = 'dom-HTMLCollection-length'])
         ">
         <xsl:choose>
           <xsl:when test="self::*[local-name() = 'code']">
Received on Saturday, 2 July 2011 06:27:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 2 July 2011 06:27:43 GMT