- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 13 Apr 2010 09:16:29 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv17578 Modified Files: Overview.html Log Message: Try to make <button> not scoping, for compat. (whatwg r5032) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4047 retrieving revision 1.4048 diff -u -d -r1.4047 -r1.4048 --- Overview.html 13 Apr 2010 08:50:09 -0000 1.4047 +++ Overview.html 13 Apr 2010 09:16:24 -0000 1.4048 @@ -53432,42 +53432,41 @@ <p>Elements in the stack fall into the following categories:</p> <dl><dt><dfn id="special">Special</dfn></dt> - <dd><p>The following HTML elements have varying levels of special parsing rules: <code><a href="#the-address-element">address</a></code>, <code><a href="#the-area-element">area</a></code>, <code><a href="#the-article-element">article</a></code>, <code><a href="#the-aside-element">aside</a></code>, <code><a href="#the-base-element">base</a></code>, <code><a href="#basefont">basefont</a></code>, <code><a href="#bgsound">bgsound</a></code>, <code><a href="#the-blockquote-element">blockquote</a></code>, <code><a href="#the-body-element-0">body</a></code>, <code><a href="#the-br-element">br</a></code>, - <code><a href="#center">center</a></code>, <code><a href="#the-col-element">col</a></code>, <code><a href="#the-colgroup-element">colgroup</a></code>, - <code><a href="#the-command">command</a></code>, <!--v2DDATAGRID <code>datagrid</code>-->, - <code><a href="#the-dd-element">dd</a></code>, <code><a href="#the-details-element">details</a></code>, <code><a href="#dir">dir</a></code>, - <code><a href="#the-div-element">div</a></code>, <code><a href="#the-dl-element">dl</a></code>, <code><a href="#the-dt-element">dt</a></code>, - <code><a href="#the-embed-element">embed</a></code>, <code><a href="#the-fieldset-element">fieldset</a></code>, <code><a href="#the-figure-element">figure</a></code>, - <code><a href="#the-footer-element">footer</a></code>, <code><a href="#the-form-element">form</a></code>, <code><a href="#frame">frame</a></code>, - <code><a href="#frameset">frameset</a></code>, <code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h1</a></code>, <code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h2</a></code>, - <code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h3</a></code>, <code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h4</a></code>, <code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h5</a></code>, <code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h6</a></code>, - <code><a href="#the-head-element-0">head</a></code>, <code><a href="#the-header-element">header</a></code>, <code><a href="#the-hgroup-element">hgroup</a></code>, - <code><a href="#the-hr-element">hr</a></code>, <code><a href="#the-iframe-element">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="#the-img-element">img</a></code>, - <code><a href="#the-input-element">input</a></code>, <code><a href="#isindex-0">isindex</a></code>, <code><a href="#the-li-element">li</a></code>, - <code><a href="#the-link-element">link</a></code>, <code><a href="#listing">listing</a></code>, <code><a href="#menus">menu</a></code>, - <code><a href="#meta">meta</a></code>, <code><a href="#the-nav-element">nav</a></code>, <code><a href="#noembed">noembed</a></code>, - <code><a href="#noframes">noframes</a></code>, <code><a href="#the-noscript-element">noscript</a></code>, <code><a href="#the-ol-element">ol</a></code>, - <code><a href="#the-p-element">p</a></code>, <code><a href="#the-param-element">param</a></code>, <code><a href="#plaintext">plaintext</a></code>, - <code><a href="#the-pre-element">pre</a></code>, <code><a href="#script">script</a></code>, <code><a href="#the-section-element">section</a></code>, - <code><a href="#the-select-element">select</a></code>, <code><a href="#the-style-element">style</a></code>, <code><a href="#the-tbody-element">tbody</a></code>, - <code><a href="#the-textarea-element">textarea</a></code>, <code><a href="#the-tfoot-element">tfoot</a></code>, <code><a href="#the-thead-element">thead</a></code>, - <code><a href="#the-title-element-0">title</a></code>, <code><a href="#the-tr-element">tr</a></code>, <code><a href="#the-ul-element">ul</a></code>, - <code><a href="#the-wbr-element">wbr</a></code>, and <code><a href="#xmp">xmp</a></code>.</dd> + <code><a href="#the-button-element">button</a></code>, <code><a href="#center">center</a></code>, <code><a href="#the-col-element">col</a></code>, + <code><a href="#the-colgroup-element">colgroup</a></code>, <code><a href="#the-command">command</a></code>, <!--v2DDATAGRID + <code>datagrid</code>-->, <code><a href="#the-dd-element">dd</a></code>, <code><a href="#the-details-element">details</a></code>, + <code><a href="#dir">dir</a></code>, <code><a href="#the-div-element">div</a></code>, <code><a href="#the-dl-element">dl</a></code>, + <code><a href="#the-dt-element">dt</a></code>, <code><a href="#the-embed-element">embed</a></code>, <code><a href="#the-fieldset-element">fieldset</a></code>, + <code><a href="#the-figure-element">figure</a></code>, <code><a href="#the-footer-element">footer</a></code>, <code><a href="#the-form-element">form</a></code>, + <code><a href="#frame">frame</a></code>, <code><a href="#frameset">frameset</a></code>, <code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h1</a></code>, + <code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h2</a></code>, <code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h3</a></code>, <code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h4</a></code>, <code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h5</a></code>, + <code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h6</a></code>, <code><a href="#the-head-element-0">head</a></code>, <code><a href="#the-header-element">header</a></code>, + <code><a href="#the-hgroup-element">hgroup</a></code>, <code><a href="#the-hr-element">hr</a></code>, <code><a href="#the-iframe-element">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="#the-img-element">img</a></code>, <code><a href="#the-input-element">input</a></code>, <code><a href="#isindex-0">isindex</a></code>, + <code><a href="#the-li-element">li</a></code>, <code><a href="#the-link-element">link</a></code>, <code><a href="#listing">listing</a></code>, + <code><a href="#menus">menu</a></code>, <code><a href="#meta">meta</a></code>, <code><a href="#the-nav-element">nav</a></code>, + <code><a href="#noembed">noembed</a></code>, <code><a href="#noframes">noframes</a></code>, <code><a href="#the-noscript-element">noscript</a></code>, + <code><a href="#the-ol-element">ol</a></code>, <code><a href="#the-p-element">p</a></code>, <code><a href="#the-param-element">param</a></code>, + <code><a href="#plaintext">plaintext</a></code>, <code><a href="#the-pre-element">pre</a></code>, <code><a href="#script">script</a></code>, + <code><a href="#the-section-element">section</a></code>, <code><a href="#the-select-element">select</a></code>, <code><a href="#the-style-element">style</a></code>, + <code><a href="#the-tbody-element">tbody</a></code>, <code><a href="#the-textarea-element">textarea</a></code>, <code><a href="#the-tfoot-element">tfoot</a></code>, + <code><a href="#the-thead-element">thead</a></code>, <code><a href="#the-title-element-0">title</a></code>, <code><a href="#the-tr-element">tr</a></code>, + <code><a href="#the-ul-element">ul</a></code>, <code><a href="#the-wbr-element">wbr</a></code>, and <code><a href="#xmp">xmp</a></code>.</dd> <dt><dfn id="scoping">Scoping</dfn></dt> <dd><p>The following HTML elements introduce new <a href="#has-an-element-in-scope" title="has an element in scope">scopes</a> for various parts of the - parsing: <code><a href="#the-applet-element">applet</a></code>, <code><a href="#the-button-element">button</a></code>, - <code><a href="#the-caption-element">caption</a></code>, <code><a href="#the-html-element-0">html</a></code>, <code><a href="#the-marquee-element">marquee</a></code>, - <code><a href="#the-object-element">object</a></code>, <code><a href="#the-table-element">table</a></code>, <code><a href="#the-td-element">td</a></code>, - <code><a href="#the-th-element">th</a></code>, and SVG's <code>foreignObject</code>.</dd> + parsing: <code><a href="#the-applet-element">applet</a></code>, <code><a href="#the-caption-element">caption</a></code>, + <code><a href="#the-html-element-0">html</a></code>, <code><a href="#the-marquee-element">marquee</a></code>, <code><a href="#the-object-element">object</a></code>, + <code><a href="#the-table-element">table</a></code>, <code><a href="#the-td-element">td</a></code>, <code><a href="#the-th-element">th</a></code>, and SVG's + <code>foreignObject</code>.</dd> <dt><dfn id="formatting">Formatting</dfn></dt> <dd><p>The following HTML elements are those that end up in the @@ -57085,14 +57084,35 @@ </dd> - <!-- end tags for non-phrasing flow content elements --> + <!-- button is a hybrid --> + <dt>A start tag whose tag name is "button"</dt> + <dd> + + <p>If the <a href="#stack-of-open-elements">stack of open elements</a> <a href="#has-an-element-in-scope" title="has + an element in scope">has a <code>button</code> element in + scope</a>, then this is a <a href="#parse-error">parse error</a>; + act as if an end tag with the tag name "button" had been seen, + then reprocess the token.</p> + + <p>Otherwise:</p> + + <p><a href="#reconstruct-the-active-formatting-elements">Reconstruct the active formatting elements</a>, if + any.</p> + + <p><a href="#insert-an-html-element">Insert an HTML element</a> for the token.</p> + + <p>Set the <a href="#frameset-ok-flag">frameset-ok flag</a> to "not ok".</p> + + </dd> + + <!-- end tags for non-phrasing flow content elements (and button) --> <!-- the normal ones --> <dt>An end tag whose tag name is one of: "address", "article", - "aside", "blockquote", "center", <!--v2DATAGRID"datagrid",--> - "details", "dir", "div", "dl", "fieldset", "figure", "footer", - "header", "hgroup", "listing", "menu", "nav", "ol", "pre", - "section", "ul"</dt> + "aside", "blockquote", "button", "center", + <!--v2DATAGRID"datagrid",--> "details", "dir", "div", "dl", + "fieldset", "figure", "footer", "header", "hgroup", "listing", + "menu", "nav", "ol", "pre", "section", "ul"</dt> <dd> <p>If the <a href="#stack-of-open-elements">stack of open elements</a> does not <a href="#has-an-element-in-scope" title="has an element in scope">have an element in scope</a> @@ -57233,6 +57253,8 @@ </ol></dd> + <!-- see also applet/marquee/object lower down --> + <dt>An end tag whose tag name is "sarcasm"</dt> <dd> <p>Take a deep breath, then act as described in the "any other end @@ -57465,29 +57487,6 @@ </dd> - <dt>A start tag whose tag name is "button"</dt> - <dd> - - <p>If the <a href="#stack-of-open-elements">stack of open elements</a> <a href="#has-an-element-in-scope" title="has - an element in scope">has a <code>button</code> element in - scope</a>, then this is a <a href="#parse-error">parse error</a>; - act as if an end tag with the tag name "button" had been seen, - then reprocess the token.</p> - - <p>Otherwise:</p> - - <p><a href="#reconstruct-the-active-formatting-elements">Reconstruct the active formatting elements</a>, if - any.</p> - - <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>Set the <a href="#frameset-ok-flag">frameset-ok flag</a> to "not ok".</p> - - </dd> - <dt>A start tag token whose tag name is one of: "applet", "marquee", "object"</dt> <dd> @@ -57504,7 +57503,7 @@ </dd> - <dt>An end tag token whose tag name is one of: "applet", "button", + <dt>An end tag token whose tag name is one of: "applet", "marquee", "object"</dt> <dd>
Received on Tuesday, 13 April 2010 09:16:31 UTC