html5/spec Overview.html,1.922,1.923

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv22904

Modified Files:
	Overview.html 
Log Message:
Define 'computed value' for things not in a tree (mostly affects canvas stuff). (whatwg r1734)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.922
retrieving revision 1.923
diff -u -d -r1.922 -r1.923
--- Overview.html	8 Jun 2008 19:40:58 -0000	1.922
+++ Overview.html	9 Jun 2008 22:22:34 -0000	1.923
@@ -59,7 +59,7 @@
     for HTML and XHTML</h2>
 
    <h2 class="no-num no-toc" id=w3c-working>W3C Working Draft
-    <!--ZZZ  8 June 2008-->9 June 2008</h2>
+    <!--ZZZ  9 June 2008-->9 June 2008</h2>
 
    <dl><!-- ZZZ: replace '20080609' with '[CDATA]' -->
 
@@ -199,7 +199,7 @@
   <p>The W3C <a href="http://www.w3.org/html/wg/">HTML Working Group</a> is
    the W3C working group responsible for this specification's progress along
    the W3C Recommendation track. <!--ZZZ:--> This specification is the
-   <!-- ZZZ  8 June 2008 --> 9 June 2008 Working Draft. <!--:ZZZ--></p>
+   <!-- ZZZ  9 June 2008 --> 9 June 2008 Working Draft. <!--:ZZZ--></p>
   <!-- relationship to other work (required) -->
 
   <p>This specification is also being produced by the <a
@@ -2516,9 +2516,11 @@
    context, the "computed value of the 'color' property" for the purposes of
    determining the computed value of the <code title="">currentColor</code>
    keyword is the computed value of the 'color' property on the element in
-   question. <a href="#references">[CSS3COLOR]</a></p>
-  <!-- XXX what if that
-  element has no computed value? e.g. if it is not in a document? -->
+   question. If the computed value of the 'color' property is undefined for a
+   particular case (e.g. because the element is not in a document), then the
+   "computed value of the 'color' property" for the purposes of determining
+   the computed value of the <code title="">currentColor</code> keyword is
+   fully opaque black. <a href="#references">[CSS3COLOR]</a>
 
   <p class=example>If a canvas gradient's <code
    title=dom-canvasgradient-addColorStop><a
@@ -19904,9 +19906,11 @@
    href="#canvas">canvas</a></code> element. When the 'font-weight' component
    is set to the relative values 'bolder' and 'lighter', these must be
    interpreted relative to the computed value of the 'font-weight' property
-   of the corresponding <code><a href="#canvas">canvas</a></code> element.</p>
-  <!-- XXX what if that
-  element has no computed value? e.g. if it is not in a document? -->
+   of the corresponding <code><a href="#canvas">canvas</a></code> element. If
+   the computed values are undefined for a particular case (e.g. because the
+   <code><a href="#canvas">canvas</a></code> element is not in a document),
+   then the relative keywords must be interpreted relative to the
+   normal-weight 10px sans-serif default.
 
   <p>The <dfn id=textalign
    title=dom-context-2d-textAlign><code>textAlign</code></dfn> DOM attribute,

Received on Monday, 9 June 2008 22:23:11 UTC