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

html5/spec Overview.html,1.1025,1.1026

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 01 Jul 2008 00:19:40 +0000
To: public-html-commits@w3.org
Message-Id: <E1KDTau-0006Ks-G0@lionel-hutz.w3.org>

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

Modified Files:
	Overview.html 
Log Message:
Make <svg:foreignObject> scoping. (bug 5815) (credit: hs) (whatwg r1837)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1025
retrieving revision 1.1026
diff -u -d -r1.1025 -r1.1026
--- Overview.html	1 Jul 2008 00:08:39 -0000	1.1025
+++ Overview.html	1 Jul 2008 00:19:37 -0000	1.1026
@@ -44174,8 +44174,8 @@
      <code><a href="#caption0">caption</a></code>, <code><a
      href="#html">html</a></code>, <code>marquee</code>, <code><a
      href="#object">object</a></code>, <code><a
-     href="#table">table</a></code>, <code><a href="#td">td</a></code> and
-     <code><a href="#th">th</a></code>.
+     href="#table">table</a></code>, <code><a href="#td">td</a></code>,
+     <code><a href="#th">th</a></code>, and SVG's <code>foreignObject</code>.
 
    <dt><dfn id=formatting>Formatting</dfn>
 
@@ -44205,9 +44205,7 @@
 
   <p>The <a href="#stack">stack of open elements</a> is said to <dfn
    id=have-an title="has an element in scope">have an element in scope</dfn>
-   or <dfn id=have-an0 title="has an element in table scope">have an element
-   in <em>table scope</em></dfn> when the following algorithm terminates in a
-   match state:
+   when the following algorithm terminates in a match state:
 
   <ol>
    <li>
@@ -44219,44 +44217,71 @@
      state.
 
    <li>
-    <p>Otherwise, if <var title="">node</var> is a <code><a
-     href="#table">table</a></code> element, terminate in a failure state.
-
-   <li>
-    <p>Otherwise, if the algorithm is the "has an element in scope" variant
-     (rather than the "has an element in table scope" variant), and <var
-     title="">node</var> is one of the following, terminate in a failure
-     state:</p>
+    <p>Otherwise, if <var title="">node</var> is one of the following
+     elements, terminate in a failure state:</p>
 
     <ul class=brief>
-     <li><code><a href="#applet">applet</a></code>
+     <li><code><a href="#applet">applet</a></code> in the HTML namespace
 
-     <li><code><a href="#caption0">caption</a></code>
+     <li><code><a href="#caption0">caption</a></code> in the HTML namespace
 
-     <li><code><a href="#td">td</a></code>
+     <li><code><a href="#html">html</a></code> in the HTML namespace</li>
+     <!-- (This can only happen if the <var title="">node</var> is the topmost node of the <span>stack of open elements</span>, and prevents the next step from being invoked if there are no more elements in the stack.) -->
 
-     <li><code><a href="#th">th</a></code>
+     <li><code><a href="#table">table</a></code> in the HTML namespace
 
-     <li><code>button</code>
+     <li><code><a href="#td">td</a></code> in the HTML namespace
 
-     <li><code>marquee</code>
+     <li><code><a href="#th">th</a></code> in the HTML namespace
 
-     <li><code><a href="#object">object</a></code>
+     <li><code>button</code> in the HTML namespace
+
+     <li><code>marquee</code> in the HTML namespace
+
+     <li><code><a href="#object">object</a></code> in the HTML namespace
+
+     <li><code title="">foreignObject</code> in the SVG namespace
     </ul>
 
    <li>
-    <p>Otherwise, if <var title="">node</var> is an <code><a
-     href="#html">html</a></code> element, terminate in a failure state.
-     (This can only happen if the <var title="">node</var> is the topmost
-     node of the <a href="#stack">stack of open elements</a>, and prevents
-     the next step from being invoked if there are no more elements in the
-     stack.)
+    <p>Otherwise, set <var title="">node</var> to the previous entry in the
+     <a href="#stack">stack of open elements</a> and return to step 2. (This
+     will never fail, since the loop will always terminate in the previous
+     step if the top of the stack &mdash; an <code><a
+     href="#html">html</a></code> element &mdash; is reached.)
+  </ol>
+
+  <p>The <a href="#stack">stack of open elements</a> is said to <dfn
+   id=have-an0 title="has an element in table scope">have an element in
+   <em>table scope</em></dfn> when the following algorithm terminates in a
+   match state:
+
+  <ol>
+   <li>
+    <p>Initialise <var title="">node</var> to be the <a
+     href="#current5">current node</a> (the bottommost node of the stack).
+
+   <li>
+    <p>If <var title="">node</var> is the target node, terminate in a match
+     state.
+
+   <li>
+    <p>Otherwise, if <var title="">node</var> is one of the following
+     elements, terminate in a failure state:</p>
+
+    <ul class=brief>
+     <li><code><a href="#html">html</a></code> in the HTML namespace</li>
+     <!-- (This can only happen if the <var title="">node</var> is the topmost node of the <span>stack of open elements</span>, and prevents the next step from being invoked if there are no more elements in the stack.) -->
+
+     <li><code><a href="#table">table</a></code> in the HTML namespace
+    </ul>
 
    <li>
     <p>Otherwise, set <var title="">node</var> to the previous entry in the
      <a href="#stack">stack of open elements</a> and return to step 2. (This
      will never fail, since the loop will always terminate in the previous
-     step if the top of the stack is reached.)
+     step if the top of the stack &mdash; an <code><a
+     href="#html">html</a></code> element &mdash; is reached.)
   </ol>
 
   <p>Nothing happens if at any time any of the elements in the <a
Received on Tuesday, 1 July 2008 00:20:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 9 October 2008 20:32:57 GMT