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

Update of /sources/public/html5/spec-author-view/tools
In directory hutz:/tmp/cvs-serv27104/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.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- preprocess.xsl	2 Jul 2011 04:59:21 -0000	1.81
+++ preprocess.xsl	2 Jul 2011 05:58:38 -0000	1.82
@@ -461,15 +461,12 @@
   <xsl:template match="div[@class = 'impl']">
     <xsl:for-each select="p[child::a[@href = '#reflect']]
       | p[child::dfn[@id = 'dom-a-protocol']]
-      | p[child::dfn[@id = 'dom-applicationcache']]
-      | p[child::dfn[@id = 'dom-area-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-fieldset-elements']]
       | p[child::dfn[@id = 'dom-history']]
       | p[child::dfn[@id = 'dom-keygen-type']]
       | p[child::dfn[@id = 'dom-meter-value']]
@@ -480,12 +477,15 @@
       | p[child::dfn[@id = 'dom-input-indeterminate']]
       | p[child::dfn[@id = 'dom-media-startoffsettime']]
       | p[child::dfn[@id = 'dom-tokenlist-tostring']]
+      | p[child::dfn[starts-with(@id, 'dom-form-')]]
+          [not(@id = 'dom-form-elements')]
+          [not(@id = 'dom-form-length')]
+          [not(@id = 'dom-form-submit')]
+          [not(@id = 'dom-form-reset')]
+          [not(@id = 'dom-form-checkvalidity')]
       | p[child::dfn[starts-with(@id, 'dom-iframe-')]]
       | p[child::dfn[starts-with(@id, 'dom-image-')]]
       | p[child::dfn[starts-with(@id, 'dom-object-')]]
-      | p[child::dfn[starts-with(@id, 'dom-option-')]]
-      | p[child::dfn[starts-with(@id, 'dom-select-')]]
-      | p[child::dfn[starts-with(@id, 'dom-textarea-')]]
       ">
       <xsl:text>&#10;</xsl:text>
       <p>
@@ -542,8 +542,6 @@
         and not($title = 'dom-dir')
         and not($title = 'dom-hidden')
         and not($title = 'dom-a-protocol')
-        and not($title = 'dom-applicationcache')
-        and not($title = 'dom-area-protocol')
         and not($title = 'dom-area-protocol')
         and not($title = 'dom-audio-s')
         and not($title = 'dom-Audio')
@@ -568,20 +566,9 @@
         and not($title = 'dom-media-startoffsettime')
         and not($title = 'dom-radionodelist-value')
         and not($title = 'dom-tokenlist-tostring')
-        and not(starts-with($title, 'dom-DataTransferItemList-'))
-        and not(starts-with($title, 'dom-form-'))
         and not(starts-with($title, 'dom-iframe-'))
         and not(starts-with($title, 'dom-image-'))
         and not(starts-with($title, 'dom-object-'))
-        and not(starts-with($title, 'dom-option-'))
-        and not(starts-with($title, 'dom-select-'))
-        and not(starts-with($title, 'dom-textarea-'))
-        and not(starts-with($title, 'dom-TextTrack-'))
-        and not(starts-with($title, 'dom-TextTrackCue-'))
-        and not(starts-with($title, 'dom-TextTrackCueList-'))
-        and not(starts-with($title, 'dom-window-'))
-        and not(starts-with($title, 'dom-windowtimers-'))
-        and not(preceding::dfn[@id = translate($title, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')])
         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'])
@@ -597,13 +584,8 @@
         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-windowtimers-setTimeout' and preceding::code[@title = 'dom-windowtimers-setTimeout'])
-        and not($title = 'dom-windowtimers-setInterval' and preceding::code[@title = 'dom-windowtimers-setInterval'])
         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-HTMLAllCollection-namedItem' and preceding::code[@title = 'dom-HTMLAllCollection-namedItem'])
-        and not($title = 'dom-HTMLFormControlsCollection-namedItem' and preceding::code[@title = 'dom-HTMLFormControlsCollection-namedItem'])
-        and not($title = 'dom-HTMLOptionsCollection-namedItem' and preceding::code[@title = 'dom-HTMLOptionsCollection-namedItem'])
         ">
         <xsl:choose>
           <xsl:when test="self::*[local-name() = 'code']">

Received on Saturday, 2 July 2011 05:58:42 UTC