[html5] r8663 - [e] (0) Rename 'list marker' and 'scope marker' to just 'marker' for consistency [...]

whatwg at whatwg.org whatwg at whatwg.org
Sun Jun 8 09:48:17 PDT 2014


Author: ianh
Date: 2014-06-08 09:48:14 -0700 (Sun, 08 Jun 2014)
New Revision: 8663

Modified:
   complete.html
   index
   source
Log:
[e] (0) Rename 'list marker' and 'scope marker' to just 'marker' for consistency and clarity, and cross-reference them all
Affected topics: HTML Syntax and Parsing

Modified: complete.html
===================================================================
--- complete.html	2014-06-06 22:28:26 UTC (rev 8662)
+++ complete.html	2014-06-08 16:48:14 UTC (rev 8663)
@@ -290,7 +290,7 @@
   </script><body onload=init()>
   <header class="head with-buttons" id=head><p><a href=//www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 6 June 2014</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 8 June 2014</h2>
    </hgroup><div>
     <div>
      <a href=//whatwg.org/html><span><strong>Multipage Version</strong> <code>whatwg.org/html</code></span></a>
@@ -88660,14 +88660,13 @@
   <p>Initially, the <dfn id=list-of-active-formatting-elements>list of active formatting elements</dfn> is empty. It is used to handle
   mis-nested <a href=#formatting title=formatting>formatting element tags</a>.</p>
 
-  <p>The list contains elements in the <a href=#formatting>formatting</a> category, and scope markers. The
-  scope markers are inserted when entering <code><a href=#the-applet-element>applet</a></code> elements, buttons,
+<!--CLEANUP--><!--anywhere that mentions concept-parser-marker-->
+  <p>The list contains elements in the <a href=#formatting>formatting</a> category, and <a href=#concept-parser-marker title=concept-parser-marker>markers</a>. The
+  <dfn id=concept-parser-marker title=concept-parser-marker>markers</dfn> are inserted when entering <code><a href=#the-applet-element>applet</a></code> elements, buttons,
   <code><a href=#the-object-element>object</a></code> elements, marquees, table cells, and table captions, and are used to prevent
   formatting from "leaking" <em>into</em> <code><a href=#the-applet-element>applet</a></code> elements, buttons, <code><a href=#the-object-element>object</a></code>
   elements, marquees, and tables.</p>
 
-  <p class=note>The scope markers are unrelated to the concept of an element being <a href=#has-an-element-in-scope title="has an element in scope">in scope</a>.</p>
-
   <p>In addition, each element in the <a href=#list-of-active-formatting-elements>list of active formatting elements</a> is associated
   with the token for which it was created, so that further elements can be created for that token if
   necessary.</p>
@@ -88676,8 +88675,8 @@
   elements</dfn> an element <var title="">element</var>, the UA must perform the following
   steps:</p>
 
-  <ol id=noah><li><p>If there are already three elements in the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>
-   after the last list marker, if any, or anywhere in the list if there are no list markers, that
+  <ol id=noah><!--CLEANUP--><li><p>If there are already three elements in the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>
+   after the last <a href=#concept-parser-marker title=concept-parser-marker>marker</a>, if any, or anywhere in the list if there are no <a href=#concept-parser-marker title=concept-parser-marker>markers</a>, that
    have the same tag name, namespace, and attributes as <var title="">element</var>, then remove the
    earliest such element from the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>. For these
    purposes, the attributes must be compared as they were when the elements were created by the
@@ -88698,7 +88697,7 @@
    is nothing to reconstruct; stop this algorithm.</li>
 
    <li><p>If the last (most recently added) entry in the <a href=#list-of-active-formatting-elements>list of active formatting
-   elements</a> is a marker, or if it is an element that is in the <a href=#stack-of-open-elements>stack of open
+   elements</a> is a <a href=#concept-parser-marker title=concept-parser-marker>marker</a>, or if it is an element that is in the <a href=#stack-of-open-elements>stack of open
    elements</a>, then there is nothing to reconstruct; stop this algorithm.</li>
 
    <li><p>Let <var title="">entry</var> be the last (most recently added) element in the <a href=#list-of-active-formatting-elements>list
@@ -88710,7 +88709,7 @@
    <li><p>Let <var title="">entry</var> be the entry one earlier than <var title="">entry</var> in
    the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>.</li>
 
-   <li><p>If <var title="">entry</var> is neither a marker nor an element that is also in the
+   <li><p>If <var title="">entry</var> is neither a <a href=#concept-parser-marker title=concept-parser-marker>marker</a> nor an element that is also in the
    <a href=#stack-of-open-elements>stack of open elements</a>, go to the step labeled <i>rewind</i>.</li>
 
    <li><p><i>Advance</i>: Let <var title="">entry</var> be the element one later than <var title="">entry</var> in the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>.</li>
@@ -88741,8 +88740,8 @@
    <li><p>Remove <var title="">entry</var> from the <a href=#list-of-active-formatting-elements>list of active formatting
    elements</a>.</li>
 
-   <li><p>If <var title="">entry</var> was a marker, then stop the algorithm at this point. The list
-   has been cleared up to the last marker.</li>
+   <li><p>If <var title="">entry</var> was a <a href=#concept-parser-marker title=concept-parser-marker>marker</a>, then stop the algorithm at this point. The list
+   has been cleared up to the last <a href=#concept-parser-marker title=concept-parser-marker>marker</a>.</li>
 
    <li><p>Go to step 1.</li>
 
@@ -91591,7 +91590,7 @@
 
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token.</p>
 
-    <p>Insert a marker at the end of the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>.</p>
+    <p>Insert a <a href=#concept-parser-marker title=concept-parser-marker>marker</a> at the end of the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>.</p>
 
     <p>Set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok".</p>
 
@@ -92431,8 +92430,8 @@
    <dd>
 
     <p>If the <a href=#list-of-active-formatting-elements>list of active formatting elements</a> contains an <code><a href=#the-a-element>a</a></code> element
-    between the end of the list and the last marker on the list (or the start of the list if there
-    is no marker on the list), then this is a <a href=#parse-error>parse error</a>; run the <a href=#adoption-agency-algorithm>adoption
+    between the end of the list and the last <a href=#concept-parser-marker title=concept-parser-marker>marker</a> on the list (or the start of the list if there
+    is no <a href=#concept-parser-marker title=concept-parser-marker>marker</a> on the list), then this is a <a href=#parse-error>parse error</a>; run the <a href=#adoption-agency-algorithm>adoption
     agency algorithm</a> for the tag name "a", then remove that element from the <a href=#list-of-active-formatting-elements>list of
     active formatting elements</a> and the <a href=#stack-of-open-elements>stack of open elements</a> if the
     <a href=#adoption-agency-algorithm>adoption agency algorithm</a> didn't already remove it (it might not have if the
@@ -92496,7 +92495,7 @@
 
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token.</p>
 
-    <p>Insert a marker at the end of the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>.</p>
+    <p>Insert a <a href=#concept-parser-marker title=concept-parser-marker>marker</a> at the end of the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>.</p>
 
     <p>Set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok".</p>
 
@@ -92959,7 +92958,7 @@
     <p>Let <var title="">formatting element</var> be the last element in the <a href=#list-of-active-formatting-elements>list of active
     formatting elements</a> that:</p>
 
-    <ul><li>is between the end of the list and the last scope marker in the list, if any, or the start
+    <ul><!--CLEANUP--><li>is between the end of the list and the last <a href=#concept-parser-marker title=concept-parser-marker>marker</a> in the list, if any, or the start
      of the list otherwise, and</li>
 
      <li>has the tag name <var title="">subject</var>.</li>
@@ -93253,7 +93252,7 @@
 
     <p><a href=#clear-the-stack-back-to-a-table-context>Clear the stack back to a table context</a>. (See below.)</p>
 
-    <p>Insert a marker at the end of the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>.</p>
+    <p>Insert a <a href=#concept-parser-marker title=concept-parser-marker>marker</a> at the end of the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>.</p>
 
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token, then switch the <a href=#insertion-mode>insertion
     mode</a> to "<a href=#parsing-main-incaption title="insertion mode: in caption">in caption</a>".</p>
@@ -93753,7 +93752,7 @@
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token, then switch the <a href=#insertion-mode>insertion
     mode</a> to "<a href=#parsing-main-intd title="insertion mode: in cell">in cell</a>".</p>
 
-    <p>Insert a marker at the end of the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>.</p>
+    <p>Insert a <a href=#concept-parser-marker title=concept-parser-marker>marker</a> at the end of the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>.</p>
 
    </dd>
 
@@ -95092,16 +95091,16 @@
   <a href=#insertion-mode>insertion mode</a> is "<a href=#parsing-main-intr title="insertion mode: in row">in row</a>".</p>
 
   <p>The <code><a href=#the-td-element>td</a></code> element start tag token, after putting a <code><a href=#the-td-element>td</a></code> element on the
-  tree, puts a marker on the <a href=#list-of-active-formatting-elements>list of active formatting elements</a> (it also switches to
+  tree, puts a <a href=#concept-parser-marker title=concept-parser-marker>marker</a> on the <a href=#list-of-active-formatting-elements>list of active formatting elements</a> (it also switches to
   the "<a href=#parsing-main-intd title="insertion mode: in cell">in cell</a>" <a href=#insertion-mode>insertion mode</a>).</p>
 
-  <ul class=domTree><li class=t1><code><a href=#the-html-element>html</a></code><ul><li class=t1><code><a href=#the-head-element>head</a></code><li class=t1><code><a href=#the-body-element>body</a></code><ul><li class=t1><code><a href=#the-b-element>b</a></code><li class=t1><code><a href=#the-table-element>table</a></code><ul><li class=t1><code><a href=#the-tbody-element>tbody</a></code><ul><li class=t1><code><a href=#the-tr-element>tr</a></code><ul><li class=t1><code><a href=#the-td-element>td</a></code></ul></ul></ul></ul></ul></ul><p>The marker means that when the "aaa" character tokens are seen, no <code><a href=#the-b-element>b</a></code> element is
+  <ul class=domTree><li class=t1><code><a href=#the-html-element>html</a></code><ul><li class=t1><code><a href=#the-head-element>head</a></code><li class=t1><code><a href=#the-body-element>body</a></code><ul><li class=t1><code><a href=#the-b-element>b</a></code><li class=t1><code><a href=#the-table-element>table</a></code><ul><li class=t1><code><a href=#the-tbody-element>tbody</a></code><ul><li class=t1><code><a href=#the-tr-element>tr</a></code><ul><li class=t1><code><a href=#the-td-element>td</a></code></ul></ul></ul></ul></ul></ul><p>The <a href=#concept-parser-marker title=concept-parser-marker>marker</a> means that when the "aaa" character tokens are seen, no <code><a href=#the-b-element>b</a></code> element is
   created to hold the resulting <code><a href=#text>Text</a></code> node:</p>
 
   <ul class=domTree><li class=t1><code><a href=#the-html-element>html</a></code><ul><li class=t1><code><a href=#the-head-element>head</a></code><li class=t1><code><a href=#the-body-element>body</a></code><ul><li class=t1><code><a href=#the-b-element>b</a></code><li class=t1><code><a href=#the-table-element>table</a></code><ul><li class=t1><code><a href=#the-tbody-element>tbody</a></code><ul><li class=t1><code><a href=#the-tr-element>tr</a></code><ul><li class=t1><code><a href=#the-td-element>td</a></code><ul><li class=t3><code>#text</code>: <span title="">aaa</span></ul></ul></ul></ul></ul></ul></ul><p>The end tags are handled in a straight-forward manner; after handling them, the <a href=#stack-of-open-elements>stack of
   open elements</a> has on it the elements <code><a href=#the-html-element>html</a></code>, <code><a href=#the-body-element>body</a></code>,
   <code><a href=#the-table-element>table</a></code>, and <code><a href=#the-tbody-element>tbody</a></code>; the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>
-  still has the <code><a href=#the-b-element>b</a></code> element in it (the marker having been removed by the "td" end tag
+  still has the <code><a href=#the-b-element>b</a></code> element in it (the <a href=#concept-parser-marker title=concept-parser-marker>marker</a> having been removed by the "td" end tag
   token); and the <a href=#insertion-mode>insertion mode</a> is "<a href=#parsing-main-intbody title="insertion mode: in table body">in
   table body</a>".</p>
 
@@ -95217,8 +95216,9 @@
   three <code><a href=#the-b-element>b</a></code> elements with the class attribute, and two unadorned <code><a href=#the-b-element>b</a></code> elements)
   get reconstructed before the element's "X".</p>
 
+<!--CLEANUP-->
   <p>Also note how this means that in the final paragraph only six <code><a href=#the-b-element>b</a></code> end tags are
-  needed to completely clear the list of formatting elements, even though nine <code><a href=#the-b-element>b</a></code> start
+  needed to completely clear the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>, even though nine <code><a href=#the-b-element>b</a></code> start
   tags have been seen up to this point.</p>
 
 

Modified: index
===================================================================
--- index	2014-06-06 22:28:26 UTC (rev 8662)
+++ index	2014-06-08 16:48:14 UTC (rev 8663)
@@ -290,7 +290,7 @@
   </script><body onload=init()>
   <header class="head with-buttons" id=head><p><a href=//www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 6 June 2014</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 8 June 2014</h2>
    </hgroup><div>
     <div>
      <a href=//whatwg.org/html><span><strong>Multipage Version</strong> <code>whatwg.org/html</code></span></a>
@@ -88660,14 +88660,13 @@
   <p>Initially, the <dfn id=list-of-active-formatting-elements>list of active formatting elements</dfn> is empty. It is used to handle
   mis-nested <a href=#formatting title=formatting>formatting element tags</a>.</p>
 
-  <p>The list contains elements in the <a href=#formatting>formatting</a> category, and scope markers. The
-  scope markers are inserted when entering <code><a href=#the-applet-element>applet</a></code> elements, buttons,
+<!--CLEANUP--><!--anywhere that mentions concept-parser-marker-->
+  <p>The list contains elements in the <a href=#formatting>formatting</a> category, and <a href=#concept-parser-marker title=concept-parser-marker>markers</a>. The
+  <dfn id=concept-parser-marker title=concept-parser-marker>markers</dfn> are inserted when entering <code><a href=#the-applet-element>applet</a></code> elements, buttons,
   <code><a href=#the-object-element>object</a></code> elements, marquees, table cells, and table captions, and are used to prevent
   formatting from "leaking" <em>into</em> <code><a href=#the-applet-element>applet</a></code> elements, buttons, <code><a href=#the-object-element>object</a></code>
   elements, marquees, and tables.</p>
 
-  <p class=note>The scope markers are unrelated to the concept of an element being <a href=#has-an-element-in-scope title="has an element in scope">in scope</a>.</p>
-
   <p>In addition, each element in the <a href=#list-of-active-formatting-elements>list of active formatting elements</a> is associated
   with the token for which it was created, so that further elements can be created for that token if
   necessary.</p>
@@ -88676,8 +88675,8 @@
   elements</dfn> an element <var title="">element</var>, the UA must perform the following
   steps:</p>
 
-  <ol id=noah><li><p>If there are already three elements in the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>
-   after the last list marker, if any, or anywhere in the list if there are no list markers, that
+  <ol id=noah><!--CLEANUP--><li><p>If there are already three elements in the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>
+   after the last <a href=#concept-parser-marker title=concept-parser-marker>marker</a>, if any, or anywhere in the list if there are no <a href=#concept-parser-marker title=concept-parser-marker>markers</a>, that
    have the same tag name, namespace, and attributes as <var title="">element</var>, then remove the
    earliest such element from the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>. For these
    purposes, the attributes must be compared as they were when the elements were created by the
@@ -88698,7 +88697,7 @@
    is nothing to reconstruct; stop this algorithm.</li>
 
    <li><p>If the last (most recently added) entry in the <a href=#list-of-active-formatting-elements>list of active formatting
-   elements</a> is a marker, or if it is an element that is in the <a href=#stack-of-open-elements>stack of open
+   elements</a> is a <a href=#concept-parser-marker title=concept-parser-marker>marker</a>, or if it is an element that is in the <a href=#stack-of-open-elements>stack of open
    elements</a>, then there is nothing to reconstruct; stop this algorithm.</li>
 
    <li><p>Let <var title="">entry</var> be the last (most recently added) element in the <a href=#list-of-active-formatting-elements>list
@@ -88710,7 +88709,7 @@
    <li><p>Let <var title="">entry</var> be the entry one earlier than <var title="">entry</var> in
    the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>.</li>
 
-   <li><p>If <var title="">entry</var> is neither a marker nor an element that is also in the
+   <li><p>If <var title="">entry</var> is neither a <a href=#concept-parser-marker title=concept-parser-marker>marker</a> nor an element that is also in the
    <a href=#stack-of-open-elements>stack of open elements</a>, go to the step labeled <i>rewind</i>.</li>
 
    <li><p><i>Advance</i>: Let <var title="">entry</var> be the element one later than <var title="">entry</var> in the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>.</li>
@@ -88741,8 +88740,8 @@
    <li><p>Remove <var title="">entry</var> from the <a href=#list-of-active-formatting-elements>list of active formatting
    elements</a>.</li>
 
-   <li><p>If <var title="">entry</var> was a marker, then stop the algorithm at this point. The list
-   has been cleared up to the last marker.</li>
+   <li><p>If <var title="">entry</var> was a <a href=#concept-parser-marker title=concept-parser-marker>marker</a>, then stop the algorithm at this point. The list
+   has been cleared up to the last <a href=#concept-parser-marker title=concept-parser-marker>marker</a>.</li>
 
    <li><p>Go to step 1.</li>
 
@@ -91591,7 +91590,7 @@
 
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token.</p>
 
-    <p>Insert a marker at the end of the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>.</p>
+    <p>Insert a <a href=#concept-parser-marker title=concept-parser-marker>marker</a> at the end of the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>.</p>
 
     <p>Set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok".</p>
 
@@ -92431,8 +92430,8 @@
    <dd>
 
     <p>If the <a href=#list-of-active-formatting-elements>list of active formatting elements</a> contains an <code><a href=#the-a-element>a</a></code> element
-    between the end of the list and the last marker on the list (or the start of the list if there
-    is no marker on the list), then this is a <a href=#parse-error>parse error</a>; run the <a href=#adoption-agency-algorithm>adoption
+    between the end of the list and the last <a href=#concept-parser-marker title=concept-parser-marker>marker</a> on the list (or the start of the list if there
+    is no <a href=#concept-parser-marker title=concept-parser-marker>marker</a> on the list), then this is a <a href=#parse-error>parse error</a>; run the <a href=#adoption-agency-algorithm>adoption
     agency algorithm</a> for the tag name "a", then remove that element from the <a href=#list-of-active-formatting-elements>list of
     active formatting elements</a> and the <a href=#stack-of-open-elements>stack of open elements</a> if the
     <a href=#adoption-agency-algorithm>adoption agency algorithm</a> didn't already remove it (it might not have if the
@@ -92496,7 +92495,7 @@
 
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token.</p>
 
-    <p>Insert a marker at the end of the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>.</p>
+    <p>Insert a <a href=#concept-parser-marker title=concept-parser-marker>marker</a> at the end of the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>.</p>
 
     <p>Set the <a href=#frameset-ok-flag>frameset-ok flag</a> to "not ok".</p>
 
@@ -92959,7 +92958,7 @@
     <p>Let <var title="">formatting element</var> be the last element in the <a href=#list-of-active-formatting-elements>list of active
     formatting elements</a> that:</p>
 
-    <ul><li>is between the end of the list and the last scope marker in the list, if any, or the start
+    <ul><!--CLEANUP--><li>is between the end of the list and the last <a href=#concept-parser-marker title=concept-parser-marker>marker</a> in the list, if any, or the start
      of the list otherwise, and</li>
 
      <li>has the tag name <var title="">subject</var>.</li>
@@ -93253,7 +93252,7 @@
 
     <p><a href=#clear-the-stack-back-to-a-table-context>Clear the stack back to a table context</a>. (See below.)</p>
 
-    <p>Insert a marker at the end of the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>.</p>
+    <p>Insert a <a href=#concept-parser-marker title=concept-parser-marker>marker</a> at the end of the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>.</p>
 
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token, then switch the <a href=#insertion-mode>insertion
     mode</a> to "<a href=#parsing-main-incaption title="insertion mode: in caption">in caption</a>".</p>
@@ -93753,7 +93752,7 @@
     <p><a href=#insert-an-html-element>Insert an HTML element</a> for the token, then switch the <a href=#insertion-mode>insertion
     mode</a> to "<a href=#parsing-main-intd title="insertion mode: in cell">in cell</a>".</p>
 
-    <p>Insert a marker at the end of the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>.</p>
+    <p>Insert a <a href=#concept-parser-marker title=concept-parser-marker>marker</a> at the end of the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>.</p>
 
    </dd>
 
@@ -95092,16 +95091,16 @@
   <a href=#insertion-mode>insertion mode</a> is "<a href=#parsing-main-intr title="insertion mode: in row">in row</a>".</p>
 
   <p>The <code><a href=#the-td-element>td</a></code> element start tag token, after putting a <code><a href=#the-td-element>td</a></code> element on the
-  tree, puts a marker on the <a href=#list-of-active-formatting-elements>list of active formatting elements</a> (it also switches to
+  tree, puts a <a href=#concept-parser-marker title=concept-parser-marker>marker</a> on the <a href=#list-of-active-formatting-elements>list of active formatting elements</a> (it also switches to
   the "<a href=#parsing-main-intd title="insertion mode: in cell">in cell</a>" <a href=#insertion-mode>insertion mode</a>).</p>
 
-  <ul class=domTree><li class=t1><code><a href=#the-html-element>html</a></code><ul><li class=t1><code><a href=#the-head-element>head</a></code><li class=t1><code><a href=#the-body-element>body</a></code><ul><li class=t1><code><a href=#the-b-element>b</a></code><li class=t1><code><a href=#the-table-element>table</a></code><ul><li class=t1><code><a href=#the-tbody-element>tbody</a></code><ul><li class=t1><code><a href=#the-tr-element>tr</a></code><ul><li class=t1><code><a href=#the-td-element>td</a></code></ul></ul></ul></ul></ul></ul><p>The marker means that when the "aaa" character tokens are seen, no <code><a href=#the-b-element>b</a></code> element is
+  <ul class=domTree><li class=t1><code><a href=#the-html-element>html</a></code><ul><li class=t1><code><a href=#the-head-element>head</a></code><li class=t1><code><a href=#the-body-element>body</a></code><ul><li class=t1><code><a href=#the-b-element>b</a></code><li class=t1><code><a href=#the-table-element>table</a></code><ul><li class=t1><code><a href=#the-tbody-element>tbody</a></code><ul><li class=t1><code><a href=#the-tr-element>tr</a></code><ul><li class=t1><code><a href=#the-td-element>td</a></code></ul></ul></ul></ul></ul></ul><p>The <a href=#concept-parser-marker title=concept-parser-marker>marker</a> means that when the "aaa" character tokens are seen, no <code><a href=#the-b-element>b</a></code> element is
   created to hold the resulting <code><a href=#text>Text</a></code> node:</p>
 
   <ul class=domTree><li class=t1><code><a href=#the-html-element>html</a></code><ul><li class=t1><code><a href=#the-head-element>head</a></code><li class=t1><code><a href=#the-body-element>body</a></code><ul><li class=t1><code><a href=#the-b-element>b</a></code><li class=t1><code><a href=#the-table-element>table</a></code><ul><li class=t1><code><a href=#the-tbody-element>tbody</a></code><ul><li class=t1><code><a href=#the-tr-element>tr</a></code><ul><li class=t1><code><a href=#the-td-element>td</a></code><ul><li class=t3><code>#text</code>: <span title="">aaa</span></ul></ul></ul></ul></ul></ul></ul><p>The end tags are handled in a straight-forward manner; after handling them, the <a href=#stack-of-open-elements>stack of
   open elements</a> has on it the elements <code><a href=#the-html-element>html</a></code>, <code><a href=#the-body-element>body</a></code>,
   <code><a href=#the-table-element>table</a></code>, and <code><a href=#the-tbody-element>tbody</a></code>; the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>
-  still has the <code><a href=#the-b-element>b</a></code> element in it (the marker having been removed by the "td" end tag
+  still has the <code><a href=#the-b-element>b</a></code> element in it (the <a href=#concept-parser-marker title=concept-parser-marker>marker</a> having been removed by the "td" end tag
   token); and the <a href=#insertion-mode>insertion mode</a> is "<a href=#parsing-main-intbody title="insertion mode: in table body">in
   table body</a>".</p>
 
@@ -95217,8 +95216,9 @@
   three <code><a href=#the-b-element>b</a></code> elements with the class attribute, and two unadorned <code><a href=#the-b-element>b</a></code> elements)
   get reconstructed before the element's "X".</p>
 
+<!--CLEANUP-->
   <p>Also note how this means that in the final paragraph only six <code><a href=#the-b-element>b</a></code> end tags are
-  needed to completely clear the list of formatting elements, even though nine <code><a href=#the-b-element>b</a></code> start
+  needed to completely clear the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>, even though nine <code><a href=#the-b-element>b</a></code> start
   tags have been seen up to this point.</p>
 
 

Modified: source
===================================================================
--- source	2014-06-06 22:28:26 UTC (rev 8662)
+++ source	2014-06-08 16:48:14 UTC (rev 8663)
@@ -97651,15 +97651,13 @@
   <p>Initially, the <dfn>list of active formatting elements</dfn> is empty. It is used to handle
   mis-nested <span data-x="formatting">formatting element tags</span>.</p>
 
-  <p>The list contains elements in the <span>formatting</span> category, and scope markers. The
-  scope markers are inserted when entering <code>applet</code> elements, buttons,
+<!--CLEANUP--><!--anywhere that mentions concept-parser-marker-->
+  <p>The list contains elements in the <span>formatting</span> category, and <span data-x="concept-parser-marker">markers</span>. The
+  <dfn data-x="concept-parser-marker">markers</dfn> are inserted when entering <code>applet</code> elements, buttons,
   <code>object</code> elements, marquees, table cells, and table captions, and are used to prevent
   formatting from "leaking" <em>into</em> <code>applet</code> elements, buttons, <code>object</code>
   elements, marquees, and tables.</p>
 
-  <p class="note">The scope markers are unrelated to the concept of an element being <span
-  data-x="has an element in scope">in scope</span>.</p>
-
   <p>In addition, each element in the <span>list of active formatting elements</span> is associated
   with the token for which it was created, so that further elements can be created for that token if
   necessary.</p>
@@ -97670,8 +97668,9 @@
 
   <ol id="noah">
 
+<!--CLEANUP-->
    <li><p>If there are already three elements in the <span>list of active formatting elements</span>
-   after the last list marker, if any, or anywhere in the list if there are no list markers, that
+   after the last <span data-x="concept-parser-marker">marker</span>, if any, or anywhere in the list if there are no <span data-x="concept-parser-marker">markers</span>, that
    have the same tag name, namespace, and attributes as <var data-x="">element</var>, then remove the
    earliest such element from the <span>list of active formatting elements</span>. For these
    purposes, the attributes must be compared as they were when the elements were created by the
@@ -97696,7 +97695,7 @@
    is nothing to reconstruct; stop this algorithm.</p></li>
 
    <li><p>If the last (most recently added) entry in the <span>list of active formatting
-   elements</span> is a marker, or if it is an element that is in the <span>stack of open
+   elements</span> is a <span data-x="concept-parser-marker">marker</span>, or if it is an element that is in the <span>stack of open
    elements</span>, then there is nothing to reconstruct; stop this algorithm.</p></li>
 
    <li><p>Let <var data-x="">entry</var> be the last (most recently added) element in the <span>list
@@ -97708,7 +97707,7 @@
    <li><p>Let <var data-x="">entry</var> be the entry one earlier than <var data-x="">entry</var> in
    the <span>list of active formatting elements</span>.</p></li>
 
-   <li><p>If <var data-x="">entry</var> is neither a marker nor an element that is also in the
+   <li><p>If <var data-x="">entry</var> is neither a <span data-x="concept-parser-marker">marker</span> nor an element that is also in the
    <span>stack of open elements</span>, go to the step labeled <i>rewind</i>.</p></li>
 
    <li><p><i>Advance</i>: Let <var data-x="">entry</var> be the element one later than <var
@@ -97745,8 +97744,8 @@
    <li><p>Remove <var data-x="">entry</var> from the <span>list of active formatting
    elements</span>.</p></li>
 
-   <li><p>If <var data-x="">entry</var> was a marker, then stop the algorithm at this point. The list
-   has been cleared up to the last marker.</p></li>
+   <li><p>If <var data-x="">entry</var> was a <span data-x="concept-parser-marker">marker</span>, then stop the algorithm at this point. The list
+   has been cleared up to the last <span data-x="concept-parser-marker">marker</span>.</p></li>
 
    <li><p>Go to step 1.</p></li>
 
@@ -101070,7 +101069,7 @@
 
     <p><span>Insert an HTML element</span> for the token.</p>
 
-    <p>Insert a marker at the end of the <span>list of active formatting elements</span>.</p>
+    <p>Insert a <span data-x="concept-parser-marker">marker</span> at the end of the <span>list of active formatting elements</span>.</p>
 
     <p>Set the <span>frameset-ok flag</span> to "not ok".</p>
 
@@ -101994,8 +101993,8 @@
    <dd>
 
     <p>If the <span>list of active formatting elements</span> contains an <code>a</code> element
-    between the end of the list and the last marker on the list (or the start of the list if there
-    is no marker on the list), then this is a <span>parse error</span>; run the <span>adoption
+    between the end of the list and the last <span data-x="concept-parser-marker">marker</span> on the list (or the start of the list if there
+    is no <span data-x="concept-parser-marker">marker</span> on the list), then this is a <span>parse error</span>; run the <span>adoption
     agency algorithm</span> for the tag name "a", then remove that element from the <span>list of
     active formatting elements</span> and the <span>stack of open elements</span> if the
     <span>adoption agency algorithm</span> didn't already remove it (it might not have if the
@@ -102059,7 +102058,7 @@
 
     <p><span>Insert an HTML element</span> for the token.</p>
 
-    <p>Insert a marker at the end of the <span>list of active formatting elements</span>.</p>
+    <p>Insert a <span data-x="concept-parser-marker">marker</span> at the end of the <span>list of active formatting elements</span>.</p>
 
     <p>Set the <span>frameset-ok flag</span> to "not ok".</p>
 
@@ -102559,7 +102558,8 @@
 
     <ul>
 
-     <li>is between the end of the list and the last scope marker in the list, if any, or the start
+<!--CLEANUP-->
+     <li>is between the end of the list and the last <span data-x="concept-parser-marker">marker</span> in the list, if any, or the start
      of the list otherwise, and</li>
 
      <li>has the tag name <var data-x="">subject</var>.</li>
@@ -102887,7 +102887,7 @@
 
     <p><span>Clear the stack back to a table context</span>. (See below.)</p>
 
-    <p>Insert a marker at the end of the <span>list of active formatting elements</span>.</p>
+    <p>Insert a <span data-x="concept-parser-marker">marker</span> at the end of the <span>list of active formatting elements</span>.</p>
 
     <p><span>Insert an HTML element</span> for the token, then switch the <span>insertion
     mode</span> to "<span data-x="insertion mode: in caption">in caption</span>".</p>
@@ -103413,7 +103413,7 @@
     <p><span>Insert an HTML element</span> for the token, then switch the <span>insertion
     mode</span> to "<span data-x="insertion mode: in cell">in cell</span>".</p>
 
-    <p>Insert a marker at the end of the <span>list of active formatting elements</span>.</p>
+    <p>Insert a <span data-x="concept-parser-marker">marker</span> at the end of the <span>list of active formatting elements</span>.</p>
 
    </dd>
 
@@ -104900,12 +104900,12 @@
   <span>insertion mode</span> is "<span data-x="insertion mode: in row">in row</span>".</p>
 
   <p>The <code>td</code> element start tag token, after putting a <code>td</code> element on the
-  tree, puts a marker on the <span>list of active formatting elements</span> (it also switches to
+  tree, puts a <span data-x="concept-parser-marker">marker</span> on the <span>list of active formatting elements</span> (it also switches to
   the "<span data-x="insertion mode: in cell">in cell</span>" <span>insertion mode</span>).</p>
 
   <ul class="domTree"><li class="t1"><code>html</code><ul><li class="t1"><code>head</code></li><li class="t1"><code>body</code><ul><li class="t1"><code>b</code></li><li class="t1"><code>table</code><ul><li class="t1"><code>tbody</code><ul><li class="t1"><code>tr</code><ul><li class="t1"><code>td</code></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul>
 
-  <p>The marker means that when the "aaa" character tokens are seen, no <code>b</code> element is
+  <p>The <span data-x="concept-parser-marker">marker</span> means that when the "aaa" character tokens are seen, no <code>b</code> element is
   created to hold the resulting <code>Text</code> node:</p>
 
   <ul class="domTree"><li class="t1"><code>html</code><ul><li class="t1"><code>head</code></li><li class="t1"><code>body</code><ul><li class="t1"><code>b</code></li><li class="t1"><code>table</code><ul><li class="t1"><code>tbody</code><ul><li class="t1"><code>tr</code><ul><li class="t1"><code>td</code><ul><li class="t3"><code>#text</code>: <span data-x="">aaa</span></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul>
@@ -104913,7 +104913,7 @@
   <p>The end tags are handled in a straight-forward manner; after handling them, the <span>stack of
   open elements</span> has on it the elements <code>html</code>, <code>body</code>,
   <code>table</code>, and <code>tbody</code>; the <span>list of active formatting elements</span>
-  still has the <code>b</code> element in it (the marker having been removed by the "td" end tag
+  still has the <code>b</code> element in it (the <span data-x="concept-parser-marker">marker</span> having been removed by the "td" end tag
   token); and the <span>insertion mode</span> is "<span data-x="insertion mode: in table body">in
   table body</span>".</p>
 
@@ -105045,8 +105045,9 @@
   three <code>b</code> elements with the class attribute, and two unadorned <code>b</code> elements)
   get reconstructed before the element's "X".</p>
 
+<!--CLEANUP-->
   <p>Also note how this means that in the final paragraph only six <code>b</code> end tags are
-  needed to completely clear the list of formatting elements, even though nine <code>b</code> start
+  needed to completely clear the <span>list of active formatting elements</span>, even though nine <code>b</code> start
   tags have been seen up to this point.</p>
 
 



More information about the Commit-Watchers mailing list