spec/Overview.html 1.1026 1837 Make <svg:foreignObject> scoping. (bug 5

Make <svg:foreignObject> scoping. (bug 5815) (credit: hs) (whatwg r1837)
(changed by: Ian Hickson)

Diffs for this change per section: 
  http://people.w3.org/mike/diffs/html5/spec/Overview.1.1026.html#have-an
  http://people.w3.org/mike/diffs/html5/spec/Overview.1.1026.html#scoping
  http://people.w3.org/mike/diffs/html5/spec/Overview.1.1026.html#phrasing1

Current content per affected section: 
  http://dev.w3.org/html5/spec/Overview.html#have-an
  http://dev.w3.org/html5/spec/Overview.html#scoping
  http://dev.w3.org/html5/spec/Overview.html#phrasing1

Previously published WD content per affected section: 
  http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#have-an
  http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#scoping
  http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#phrasing1

Cumulative diff: http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1025&r2=1.1026&f=h

http://html5.org/tools/web-apps-tracker?from=1836&to=1837

===================================================================
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:24:33 UTC