[html5] r2128 - [ct] (0) Make the parser handle <option> and <optgroup> more usefully in the 'in [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Aug 29 03:38:18 PDT 2008


Author: ianh
Date: 2008-08-29 03:38:16 -0700 (Fri, 29 Aug 2008)
New Revision: 2128

Modified:
   index
   source
Log:
[ct] (0) Make the parser handle <option> and <optgroup> more usefully in the 'in body' state.

Modified: index
===================================================================
--- index	2008-08-29 10:06:07 UTC (rev 2127)
+++ index	2008-08-29 10:38:16 UTC (rev 2128)
@@ -47110,20 +47110,20 @@
      href="#h5">h5</a></code>, <code><a href="#h6">h6</a></code>, <code><a
      href="#head">head</a></code>, <code><a href="#header">header</a></code>,
      <code><a href="#hr">hr</a></code>, <code><a
-     href="#iframe">iframe</a></code>, <!--
-   <code>image</code>, (commented out because this isn't an element
-   that can end up on the stack, so it doesn't matter) -->
+     href="#iframe">iframe</a></code>, <!-- <code>image</code>,
+   (commented out because this isn't an element that can end up on the
+   stack, so it doesn't matter) -->
      <code><a href="#img">img</a></code>, <code>input</code>,
      <code>isindex</code>, <code><a href="#li">li</a></code>, <code><a
      href="#link">link</a></code>, <code>listing</code>, <code><a
      href="#menu">menu</a></code>, <code><a href="#meta0">meta</a></code>,
      <code><a href="#nav">nav</a></code>, <code>noembed</code>,
      <code>noframes</code>, <code><a href="#noscript">noscript</a></code>,
-     <code><a href="#ol">ol</a></code>, <code>optgroup</code>,
-     <code>option</code>, <code><a href="#p">p</a></code>, <code><a
-     href="#param">param</a></code>, <code>plaintext</code>, <code><a
-     href="#pre">pre</a></code>, <code><a href="#script1">script</a></code>,
-     <code><a href="#section">section</a></code>, <code>select</code>,
+     <code><a href="#ol">ol</a></code>, <code><a href="#p">p</a></code>,
+     <code><a href="#param">param</a></code>, <code>plaintext</code>,
+     <code><a href="#pre">pre</a></code>, <code><a
+     href="#script1">script</a></code>, <code><a
+     href="#section">section</a></code>, <code>select</code>,
      <code>spacer</code>, <code><a href="#style1">style</a></code>, <code><a
      href="#tbody">tbody</a></code>, <code>textarea</code>, <code><a
      href="#tfoot0">tfoot</a></code>, <code><a
@@ -51404,6 +51404,19 @@
      in table</a>". Otherwise, switch the <span>insertion mode</span> to "<a
      href="#in-select" title="insertion mode: in select">in select</a>".</p>
 
+   <dt>A start tag whose tag name is one of: "optgroup", "option"
+
+   <dd>
+    <p>If the <a href="#stack">stack of open elements</a> <a href="#have-an"
+     title="has an element in scope">has an <code>option</code> element in
+     scope</a>, then act as if an end tag with the tag name "option" had been
+     seen.</p>
+
+    <p><a href="#reconstruct">Reconstruct the active formatting elements</a>,
+     if any.</p>
+
+    <p><a href="#insert0">Insert an HTML element</a> for the token.</p>
+
    <dt>A start tag whose tag name is one of: "rp", "rt"
 
    <dd> <!-- the parsing rules for ruby really don't match IE much at all,

Modified: source
===================================================================
--- source	2008-08-29 10:06:07 UTC (rev 2127)
+++ source	2008-08-29 10:38:16 UTC (rev 2128)
@@ -44495,19 +44495,18 @@
    <code>command</code>, <code>datagrid</code>, <code>dd</code>,
    <code>details</code>, <code>dialog</code>, <code>dir</code>,
    <code>div</code>, <code>dl</code>, <code>dt</code>,
-   <code>embed</code>, <code>eventsource</code>
-   <code>fieldset</code>, <code>figure</code>, <code>footer</code>,
-   <code>form</code>, <code>frame</code>, <code>frameset</code>,
-   <code>h1</code>, <code>h2</code>, <code>h3</code>, <code>h4</code>,
-   <code>h5</code>, <code>h6</code>, <code>head</code>,
-   <code>header</code>, <code>hr</code>, <code>iframe</code>, <!--
-   <code>image</code>, (commented out because this isn't an element
-   that can end up on the stack, so it doesn't matter) -->
-   <code>img</code>, <code>input</code>, <code>isindex</code>,
-   <code>li</code>, <code>link</code>, <code>listing</code>,
-   <code>menu</code>, <code>meta</code>, <code>nav</code>,
-   <code>noembed</code>, <code>noframes</code>, <code>noscript</code>,
-   <code>ol</code>, <code>optgroup</code>, <code>option</code>,
+   <code>embed</code>, <code>eventsource</code> <code>fieldset</code>,
+   <code>figure</code>, <code>footer</code>, <code>form</code>,
+   <code>frame</code>, <code>frameset</code>, <code>h1</code>,
+   <code>h2</code>, <code>h3</code>, <code>h4</code>, <code>h5</code>,
+   <code>h6</code>, <code>head</code>, <code>header</code>,
+   <code>hr</code>, <code>iframe</code>, <!-- <code>image</code>,
+   (commented out because this isn't an element that can end up on the
+   stack, so it doesn't matter) --> <code>img</code>,
+   <code>input</code>, <code>isindex</code>, <code>li</code>,
+   <code>link</code>, <code>listing</code>, <code>menu</code>,
+   <code>meta</code>, <code>nav</code>, <code>noembed</code>,
+   <code>noframes</code>, <code>noscript</code>, <code>ol</code>,
    <code>p</code>, <code>param</code>, <code>plaintext</code>,
    <code>pre</code>, <code>script</code>, <code>section</code>,
    <code>select</code>, <code>spacer</code>, <code>style</code>,
@@ -48321,6 +48320,21 @@
 
    </dd>
 
+   <dt>A start tag whose tag name is one of: "optgroup", "option"</dt>
+   <dd>
+
+    <p>If the <span>stack of open elements</span> <span title="has an
+    element in scope">has an <code>option</code> element in
+    scope</span>, then act as if an end tag with the tag name "option"
+    had been seen.</p>
+
+    <p><span>Reconstruct the active formatting elements</span>, if
+    any.</p>
+
+    <p><span>Insert an HTML element</span> for the token.</p>
+
+   </dd>
+
    <dt>A start tag whose tag name is one of: "rp", "rt"</dt>
    <dd>
 




More information about the Commit-Watchers mailing list