html5/pubnotes Overview.html,1.250,1.251 Overview.src.html,1.238,1.239 specgen.xsl,1.30,1.31 style.css,1.63,1.64

Update of /sources/public/html5/pubnotes
In directory hutz:/tmp/cvs-serv8513

Modified Files:
	Overview.html Overview.src.html specgen.xsl style.css 
Log Message:
1.923 "Define 'computed value' for things not in a tree (mostly affects canvas stuff). (whatwg r1734)"


Index: specgen.xsl
===================================================================
RCS file: /sources/public/html5/pubnotes/specgen.xsl,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- specgen.xsl	11 Jun 2008 01:46:24 -0000	1.30
+++ specgen.xsl	12 Jun 2008 13:31:16 -0000	1.31
@@ -255,39 +255,6 @@
     </div>
   </xsl:template>
 
-  <!-- start including from HTML4 differences doc -->
-
-  <xsl:template match="*[@id = 'summary']">
-    <div id="summary" class="section">
-      <xsl:apply-templates
-        select="document('summary.html')//h:div[child::*[@id='changelog']]"/>
-    </div>
-  </xsl:template>
-
-  <xsl:template match="h:div[child::*[@id='changelog']]">
-    <xsl:apply-templates/>
-  </xsl:template>
-
-  <xsl:template match="h:h2[@id = 'changelog']" priority="10">
-    <h2>Summary: High-level list of selected changes <a
-        href="#summary">#</a>
-      <xsl:text> </xsl:text><a href="#summary-toc">T</a></h2>
-  </xsl:template>
-
-  <xsl:template match="h:div[child::*[@id='changelog']]/h:p[1]">
-    <p>This section provides a high-level list of selected changes
-      made to the HTML 5 draft specification after 22 January
-      2008. For more detailed descriptions of the changes,
-      see the sections in this document that follow this one.
-      (Note: The source for this summary is maintained in the <a
-        href="http://www.w3.org/TR/html5-diff/" >HTML 5
-        differences from HTML 4</a> document <a
-        href="#html4diffs">[HTML4DIFFS]</a>; the summary was
-      copied from that document into this one.)</p>
-  </xsl:template>
-
-  <!-- end including from HTML4 differences doc -->
-
   <xsl:template name='revision-note'>
       <xsl:if test='$maturity="ED"'>
         <div class='ednote'>
@@ -511,7 +478,8 @@
     </xsl:choose>
   </xsl:template>
 
-  <xsl:template match='h:h2[not(../@id = "abstract")
+  <xsl:template match='h:h2[
+    not(../@id = "abstract")
     and not(../@id="status")
     and not(../@id="toc")
     ]'
@@ -519,9 +487,12 @@
     <xsl:variable name="myid">
       <xsl:value-of select="../@id"/>
     </xsl:variable>
+    <xsl:variable name="id-adjusted">
+      <xsl:value-of select="substring-before($myid, '_')"/>
+    </xsl:variable>
     <xsl:variable name="filename">
       <xsl:value-of
-        select="concat(ancestor-or-self::h:section[../../../h:*[@id = $sectionsID]]/@id,'.html')"/>
+        select="concat(substring-before(ancestor-or-self::h:section[../../../h:*[@id = $sectionsID]]/@id, '_'),'.html')"/>
     </xsl:variable>
     <xsl:element name="{name()}" namespace="{namespace-uri()}">
       <xsl:copy-of select='@*[namespace-uri()="" or namespace-uri="http://www.w3.org/XML/1998/namespace"]'/>
@@ -542,23 +513,58 @@
       <xsl:text> </xsl:text>
       <a class="toc-bak" href="#{$myid}-toc">T</a>
     </xsl:element>
-    <xsl:if test="not($myid = 'fpwd')
+    <xsl:if test="
+      not(contains($myid,'details_'))
       and not($myid = 'references')
-      and not($myid = 'wsiwyg')
+      and not(contains($myid,'wsiwyg'))
       ">
-      <div class="spec-links">
-        <p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/{$filename}#{$myid}"
-            ><xsl:apply-templates select='node()'/></a>” in the
-          10 June 2008 version of the specification.</p>
-        <p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/{$filename}#{$myid}"
-            ><xsl:apply-templates select='node()'/></a>” in a
-          diff-marked version of the specification, showing
-          changes made between 22 January 2008 and 10 June
-          2008.</p>
-      </div>
+      <xsl:choose>
+        <xsl:when test="ancestor::*[@id = 'details_wd2']">
+          <xsl:call-template name="make-spec-links">
+            <xsl:with-param name="spec-url">http://www.w3.org/html/wg/html5</xsl:with-param>
+            <xsl:with-param name="diff-url">http://www.w3.org/html/wg/html5</xsl:with-param>
+            <xsl:with-param name="date-old">10 June 2008</xsl:with-param>
+            <xsl:with-param name="date-new">current “Editor’s Draft”</xsl:with-param>
+            <xsl:with-param name="filename"/>
+            <xsl:with-param name="id-adjusted" select="$id-adjusted"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="ancestor::*[@id = 'details_fpwd']">
+          <xsl:call-template name="make-spec-links">
+            <xsl:with-param name="spec-url">http://www.w3.org/TR/2008/WD-html5-20080610</xsl:with-param>
+            <xsl:with-param name="diff-url">http://www.w3.org/TR/2008/WD-html5-20080610/diff</xsl:with-param>
+            <xsl:with-param name="date-old">22 January 2008</xsl:with-param>
+            <xsl:with-param name="date-new">10 June 2008</xsl:with-param>
+            <xsl:with-param name="filename" select="$filename"/>
+            <xsl:with-param name="id-adjusted" select="$id-adjusted"/>
+          </xsl:call-template>
+        </xsl:when>
+      </xsl:choose>
     </xsl:if>
   </xsl:template>
 
+  <xsl:template name="make-spec-links">
+    <xsl:param name="spec-url"/>
+    <xsl:param name="diff-url"/>
+    <xsl:param name="date-old"/>
+    <xsl:param name="date-new"/>
+    <xsl:param name="filename"/>
+    <xsl:param name="id-adjusted"/>
+    <div class="spec-links">
+      <p class="spec-link">View “<a href="{$spec-url}/{$filename}#{$id-adjusted}"
+          ><xsl:apply-templates select='node()'/></a>” in the
+        <xsl:value-of select="$date-new"/>
+        version of the specification.</p>
+      <p class="spec-link">View “<a href="{$diff-url}/{$filename}#{$id-adjusted}"
+          ><xsl:apply-templates select='node()'/></a>” in a
+        diff-marked version of the specification, showing
+        changes made between
+        <xsl:value-of select="$date-old"/>
+        and 
+        <xsl:value-of select="$date-new"/>.</p>
+    </div>
+  </xsl:template>
+
   <xsl:template match='h:*[@class="ednote"]'>
     <div>
       <xsl:copy-of select='@*[namespace-uri()="" or namespace-uri="http://www.w3.org/XML/1998/namespace"]'/>

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/pubnotes/Overview.html,v
retrieving revision 1.250
retrieving revision 1.251
diff -u -d -r1.250 -r1.251
--- Overview.html	11 Jun 2008 01:46:24 -0000	1.250
+++ Overview.html	12 Jun 2008 13:31:16 -0000	1.251
@@ -21,7 +21,14 @@
       primarily documents changes that
       have been made to the HTML 5 draft specification since the
       time of its 22 January 2008 publication as a First Public
-      Working Draft <a href="#html5fpwd">[HTML5FPWD]</a>.</p>
+      Working Draft <a href="#html5fpwd">[HTML5FPWD]</a>. Note that it
+        documents substantive changes only, and omits editorial
+        changes. It is intended to be readable as a “standalone”
+        document — meaning that readers are meant to be able to
+        use it to get an overview of the changes that have been
+        made, without necessarily needing to read the
+        specification itself or to read through the entire diff
[...8097 lines suppressed...]
-          Hugh Winkler, Jacques Distler, James Justin Harrell,
-          Jason White, Jens Fendler, Jjgod Jiang, Johan Herland,
-          Jim Jewett, Jim Meehan, Joe Clark, Julian Reschke, Laura
-          L. Carlson, Laura Wisewell, Lee Kowalkowski, Leif
-          Halvard Silli, Magnus Kristiansen, Masataka Yakura,
-          Michael Carter, Michael(tm) Smith, Neil Soiffer, Olaf
-          Hoffmann, Oliver Hunt, Peter Karlsson, Philip TAYLOR,
-          Ralf Stoltze, Raphael Champeimont, Rene Saarsoo, Richard
-          Ishida, Steve Faulkner, Sunava Dutta, Terrence Wood, Tim
-          Johansson, Wayne Pollock, Yi-An Huang</p>
-        </blockquote>
-      </div>
-      </div>
-      <div id="references" class="section">
-        <h2>References <a class="hash" href="#references">#</a> <a class="toc-bak" href="#references-toc">T</a></h2>
+      <div id="references_fpwd" class="section">
+        <h2>References <a class="hash" href="#references_fpwd">#</a> <a class="toc-bak" href="#references_fpwd-toc">T</a></h2>
         <dl>
           <dt id="html5fpwd">[HTML5FPWD]</dt>
           <dd><a href="http://www.w3.org/TR/2008/WD-html5-20080122/">HTML 5: A vocabulary and associated APIs for HTML and

Index: style.css
===================================================================
RCS file: /sources/public/html5/pubnotes/style.css,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- style.css	10 Jun 2008 10:16:16 -0000	1.63
+++ style.css	12 Jun 2008 13:31:16 -0000	1.64
@@ -247,9 +247,10 @@
 code {
   padding: 2px;
   background-color: white;
+  color: cadetblue;
+  font-weight: bold;
 }
 .element, .event, .domattribute, .method, .htmlattribute {
-  font-weight: bold;
 }
 .element {
   color: blue;

Index: Overview.src.html
===================================================================
RCS file: /sources/public/html5/pubnotes/Overview.src.html,v
retrieving revision 1.238
retrieving revision 1.239
diff -u -d -r1.238 -r1.239
--- Overview.src.html	11 Jun 2008 01:46:24 -0000	1.238
+++ Overview.src.html	12 Jun 2008 13:31:16 -0000	1.239
@@ -57,7 +57,14 @@
       primarily documents changes that
       have been made to the HTML 5 draft specification since the
       time of its 22 January 2008 publication as a First Public
-      Working Draft <a href="#html5fpwd">[HTML5FPWD]</a>.</p>
+      Working Draft <a href="#html5fpwd">[HTML5FPWD]</a>. Note that it
+        documents substantive changes only, and omits editorial
+        changes. It is intended to be readable as a “standalone”
+        document — meaning that readers are meant to be able to
+        use it to get an overview of the changes that have been
+        made, without necessarily needing to read the
+        specification itself or to read through the entire diff
[...6574 lines suppressed...]
-          Dave Camp, David Bloom, David Carlisle, Dean Edridge,
-          Debi Orton, Evan Prodromou, Geoffrey Garen, Henry Mason,
-          Hugh Winkler, Jacques Distler, James Justin Harrell,
-          Jason White, Jens Fendler, Jjgod Jiang, Johan Herland,
-          Jim Jewett, Jim Meehan, Joe Clark, Julian Reschke, Laura
-          L. Carlson, Laura Wisewell, Lee Kowalkowski, Leif
-          Halvard Silli, Magnus Kristiansen, Masataka Yakura,
-          Michael Carter, Michael(tm) Smith, Neil Soiffer, Olaf
-          Hoffmann, Oliver Hunt, Peter Karlsson, Philip TAYLOR,
-          Ralf Stoltze, Raphael Champeimont, Rene Saarsoo, Richard
-          Ishida, Steve Faulkner, Sunava Dutta, Terrence Wood, Tim
-          Johansson, Wayne Pollock, Yi-An Huang</p>
-        </blockquote>
-      </section>
-      </section>
-      <section id=references>
+      <section id=references_fpwd>
         <h2>References</h2>
         <dl>
           <dt id=html5fpwd>[HTML5FPWD]</dt>

Received on Thursday, 12 June 2008 13:34:32 UTC