- From: poot <cvsmail@w3.org>
- Date: Tue, 16 Jun 2009 04:46:01 +0900 (JST)
- To: public-html-diffs@w3.org
fill in the obsolete features sections a bit (still lots more to add).
(whatwg r3256)
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2403&r2=1.2404&f=h
http://html5.org/tools/web-apps-tracker?from=3255&to=3256
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2403
retrieving revision 1.2404
diff -u -d -r1.2403 -r1.2404
--- Overview.html 15 Jun 2009 19:26:59 -0000 1.2403
+++ Overview.html 15 Jun 2009 19:45:38 -0000 1.2404
@@ -1169,7 +1169,7 @@
every HTML or DOM feature supported by Web browsers. Browsers
support many features that are considered to be very bad for
accessibility or that are otherwise inappropriate. For example, the
- <code>blink</code> element is clearly presentational and authors
+ <code><a href="#blink">blink</a></code> element is clearly presentational and authors
wishing to cause text to blink should instead use CSS.<p>The scope of this specification is not to describe an entire
operating system. In particular, hardware configuration software,
image manipulation tools, and applications that users would be
@@ -4678,8 +4678,8 @@
from the collection.</p>
<p>Returns null if no element with that ID or name could be found.</p>
<p>Only <code><a href="#the-a-element">a</a></code>, <code><a href="#the-applet-element">applet</a></code>, <code><a href="#the-area-element">area</a></code>,
- <code><a href="#the-embed-element">embed</a></code>, <code><a href="#the-form-element">form</a></code>, <code>frame</code>,
- <code>frameset</code>, <code><a href="#the-iframe-element">iframe</a></code>, <code><a href="#the-img-element">img</a></code>, and
+ <code><a href="#the-embed-element">embed</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-iframe-element">iframe</a></code>, <code><a href="#the-img-element">img</a></code>, and
<code><a href="#the-object-element">object</a></code> elements can have a name for the purpose of
this method; their name is given by the value of their <code title="">name</code> attribute.</p>
</dd>
@@ -4707,8 +4707,8 @@
<p>The <span>names of the supported named properties</span> consist
of the values of the <code title="">name</code> attributes of each
<code><a href="#the-a-element">a</a></code>, <code><a href="#the-applet-element">applet</a></code>, <code><a href="#the-area-element">area</a></code>,
- <code><a href="#the-embed-element">embed</a></code>, <code><a href="#the-form-element">form</a></code>, <code>frame</code>,
- <code>frameset</code>, <code><a href="#the-iframe-element">iframe</a></code>, <code><a href="#the-img-element">img</a></code>, and
+ <code><a href="#the-embed-element">embed</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-iframe-element">iframe</a></code>, <code><a href="#the-img-element">img</a></code>, and
<code><a href="#the-object-element">object</a></code> element <a href="#represented-by-the-collection">represented by the
collection</a> with a <code title="">name</code> attribute, plus
the list of IDs that the elements <a href="#represented-by-the-collection">represented by the
@@ -4719,7 +4719,7 @@
<ul><li>It is an <code><a href="#the-a-element">a</a></code>, <code><a href="#the-applet-element">applet</a></code>,
<code><a href="#the-area-element">area</a></code>, <code><a href="#the-embed-element">embed</a></code>, <code><a href="#the-form-element">form</a></code>,
- <code>frame</code>, <code>frameset</code>, <code><a href="#the-iframe-element">iframe</a></code>,
+ <code><a href="#frame">frame</a></code>, <code><a href="#frameset">frameset</a></code>, <code><a href="#the-iframe-element">iframe</a></code>,
<code><a href="#the-img-element">img</a></code>, or <code><a href="#the-object-element">object</a></code> element with a <code title="">name</code> attribute equal to <var title="">key</var>,
or,</li>
@@ -5588,7 +5588,6 @@
readonly attribute <a href="#htmlcollection-0">HTMLCollection</a> <a href="#dom-document-plugins" title="dom-document-plugins">plugins</a>;
readonly attribute <a href="#htmlcollection-0">HTMLCollection</a> <a href="#dom-document-links" title="dom-document-links">links</a>;
readonly attribute <a href="#htmlcollection-0">HTMLCollection</a> <a href="#dom-document-forms" title="dom-document-forms">forms</a>;
- readonly attribute <a href="#htmlcollection-0">HTMLCollection</a> <a href="#dom-document-anchors" title="dom-document-anchors">anchors</a>;
readonly attribute <a href="#htmlcollection-0">HTMLCollection</a> <a href="#dom-document-scripts" title="dom-document-scripts">scripts</a>;
readonly attribute <a href="#htmlcollection-0">HTMLCollection</a> <a href="#dom-document-items" title="dom-document-items">items</a>;
NodeList <a href="#dom-document-getelementsbyname" title="dom-document-getElementsByName">getElementsByName</a>(in DOMString elementName);
@@ -5915,8 +5914,7 @@
otherwise. Various algorithms during page loading affect this
value. When the value is set, the user agent must <a href="#fire-a-simple-event">fire a
simple event</a> called <code title="event-readystatechange">readystatechange</code> at the
- <code>Document</code> object.</p> <!-- XXX define
- document.onreadystatechange -->
+ <code>Document</code> object.</p>
<p>The <dfn id="dom-document-readystate" title="dom-document-readyState"><code>readyState</code></dfn> DOM
attribute must, on getting, return the <a href="#current-document-readiness">current document
@@ -5999,12 +5997,12 @@
<dd>
<p>Returns <a href="#the-body-element-0">the body element</a>.</p>
<p>Can be set, to replace <a href="#the-body-element-0">the body element</a>.</p>
- <p>If the new value is not a <code><a href="#the-body-element">body</a></code> or <code>frameset</code> element, this will throw a <code><a href="#hierarchy_request_err">HIERARCHY_REQUEST_ERR</a></code> exception.</p>
+ <p>If the new value is not a <code><a href="#the-body-element">body</a></code> or <code><a href="#frameset">frameset</a></code> element, this will throw a <code><a href="#hierarchy_request_err">HIERARCHY_REQUEST_ERR</a></code> exception.</p>
</dd>
</dl><p><dfn id="the-body-element-0">The body element</dfn> of a document is the first child of
<a href="#the-html-element-0">the <code>html</code> element</a> that is either a
- <code><a href="#the-body-element">body</a></code> element or a <code>frameset</code> element. If
+ <code><a href="#the-body-element">body</a></code> element or a <code><a href="#frameset">frameset</a></code> element. If
there is no such element, it is null. <span class="impl">If the body
element is null, then when the specification requires that events be
fired at "the body element", they must instead be fired at the
@@ -6013,11 +6011,18 @@
<p>The <dfn id="dom-document-body" title="dom-document-body"><code>body</code></dfn>
attribute, on getting, must return <a href="#the-body-element-0">the body element</a> of
the document (either a <code><a href="#the-body-element">body</a></code> element, a
- <code>frameset</code> element, or null). On setting, the following
+ <code><a href="#frameset">frameset</a></code> element, or null). On setting, the following
algorithm must be run:</p>
- <ol><li>If the new value is not a <code><a href="#the-body-element">body</a></code> or
- <code>frameset</code> element, then raise a
+ <ol><!-- if changes are requested:
+ http://lxr.mozilla.org/seamonkey/source/content/html/document/src/nsHTMLDocument.cpp
+ search for ::GetBody ::SetBody
+ http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/html/HTMLDocument.cpp
+ search for ::setBody
+ http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/dom/Document.cpp
+ search for ::body
+ --><li>If the new value is not a <code><a href="#the-body-element">body</a></code> or
+ <code><a href="#frameset">frameset</a></code> element, then raise a
<code><a href="#hierarchy_request_err">HIERARCHY_REQUEST_ERR</a></code> exception and abort these
steps.</li>
@@ -6034,14 +6039,7 @@
<li>Otherwise, the <a href="#the-body-element-0">the body element</a> is null. Append
the new value to the root element.</li>
- </ol><!--XXX
- http://lxr.mozilla.org/seamonkey/source/content/html/document/src/nsHTMLDocument.cpp
- search for ::GetBody ::SetBody
- http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/html/HTMLDocument.cpp
- search for ::setBody
- http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/dom/Document.cpp
- search for ::body
- --></div><hr><dl class="domintro"><dt><var title="">document</var> . <code title="dom-document-images"><a href="#dom-document-images">images</a></code></dt>
+ </ol></div><hr><dl class="domintro"><dt><var title="">document</var> . <code title="dom-document-images"><a href="#dom-document-images">images</a></code></dt>
<dd>
<p>Returns an <code><a href="#htmlcollection-0">HTMLCollection</a></code> of the <code><a href="#the-img-element">img</a></code> elements in the <code>Document</code>.</p>
</dd>
@@ -6096,14 +6094,6 @@
<code>Document</code> node, whose filter matches only
<code><a href="#the-form-element">form</a></code> elements.</p>
- <p>The <dfn id="dom-document-anchors" title="dom-document-anchors"><code>anchors</code></dfn>
- attribute must return an <code><a href="#htmlcollection-0">HTMLCollection</a></code> rooted at the
- <code>Document</code> node, whose filter matches only <code><a href="#the-a-element">a</a></code>
- elements with <code title="attr-a-name"><a href="#attr-a-name">name</a></code>
- attributes.</p><!-- XXX move this to the obsolete APIs section or
- add it to the domintro bit above, noting that such elements are
- invalid -->
-
<p>The <dfn id="dom-document-scripts" title="dom-document-scripts"><code>scripts</code></dfn>
attribute must return an <code><a href="#htmlcollection-0">HTMLCollection</a></code> rooted at the
<code>Document</code> node, whose filter matches only
@@ -6113,7 +6103,7 @@
<dd>
<p>Returns a <code>NodeList</code> of <code><a href="#the-a-element">a</a></code>,
<code><a href="#the-applet-element">applet</a></code>, <code><a href="#the-button-element">button</a></code>, <code><a href="#the-form-element">form</a></code>,
- <code>frame</code>, <code>frameset</code>, <code><a href="#the-iframe-element">iframe</a></code>,
+ <code><a href="#frame">frame</a></code>, <code><a href="#frameset">frameset</a></code>, <code><a href="#the-iframe-element">iframe</a></code>,
<code><a href="#the-img-element">img</a></code>, <code><a href="#the-input-element">input</a></code>, <code><a href="#the-map-element">map</a></code>,
<code><a href="#meta">meta</a></code>, <code><a href="#the-object-element">object</a></code>, <!-- not param, per IE8
--> <code><a href="#the-select-element">select</a></code>, and <code><a href="#the-textarea-element">textarea</a></code> elements in the
@@ -6135,8 +6125,8 @@
<p>The <dfn id="dom-document-getelementsbyname" title="dom-document-getElementsByName"><code>getElementsByName(<var title="">name</var>)</code></dfn> method takes a string <var title="">name</var>, and must return a live <code>NodeList</code>
containing all the <code><a href="#the-a-element">a</a></code>, <code><a href="#the-applet-element">applet</a></code>,
- <code><a href="#the-button-element">button</a></code>, <code><a href="#the-form-element">form</a></code>, <code>frame</code>,
- <code>frameset</code>, <code><a href="#the-iframe-element">iframe</a></code>, <code><a href="#the-img-element">img</a></code>,
+ <code><a href="#the-button-element">button</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-iframe-element">iframe</a></code>, <code><a href="#the-img-element">img</a></code>,
<code><a href="#the-input-element">input</a></code>, <code><a href="#the-map-element">map</a></code>, <code><a href="#meta">meta</a></code>,
<code><a href="#the-object-element">object</a></code>, <!-- not param, per IE8 -->
<code><a href="#the-select-element">select</a></code>, and <code><a href="#the-textarea-element">textarea</a></code> elements in that
@@ -40073,8 +40063,8 @@
</div><h3 id="windows"><span class="secno">6.1 </span>Browsing contexts</h3><p>A <dfn id="browsing-context">browsing context</dfn> is an environment in which
<code>Document</code> objects are presented to the user.<p class="note">A tab or window in a Web browser typically contains
- a <a href="#browsing-context">browsing context</a>, as does an <code><a href="#the-iframe-element">iframe</a></code><span class="impl"> or <code>frame</code>s in a
- <code>frameset</code></span>.<p>Each <a href="#browsing-context">browsing context</a> has a corresponding
+ a <a href="#browsing-context">browsing context</a>, as does an <code><a href="#the-iframe-element">iframe</a></code><span class="impl"> or <code><a href="#frame">frame</a></code>s in a
+ <code><a href="#frameset">frameset</a></code></span>.<p>Each <a href="#browsing-context">browsing context</a> has a corresponding
<code><a href="#windowproxy">WindowProxy</a></code> object.<p>The collection of <code>Document</code>s is the <a href="#browsing-context">browsing
context</a>'s <a href="#session-history">session history</a>. At any time, one
<code>Document</code> in each <a href="#browsing-context">browsing context</a> is
@@ -40791,7 +40781,7 @@
<ul><li>The value of the <code title="">name</code> content attribute
for all <code><a href="#the-a-element">a</a></code>, <code><a href="#the-applet-element">applet</a></code>, <code><a href="#the-area-element">area</a></code>,
- <code><a href="#the-embed-element">embed</a></code>, <code>frame</code>, <code>frameset</code>,
+ <code><a href="#the-embed-element">embed</a></code>, <code><a href="#frame">frame</a></code>, <code><a href="#frameset">frameset</a></code>,
<code><a href="#the-form-element">form</a></code>, <code><a href="#the-iframe-element">iframe</a></code>, <code><a href="#the-img-element">img</a></code>, and
<code><a href="#the-object-element">object</a></code> elements in the <a href="#active-document">active document</a>
that have a <code title="">name</code> content attribute, and,</li>
@@ -40846,8 +40836,8 @@
above algorithm, are those that are either:</p>
<ul><li><code><a href="#the-a-element">a</a></code>, <code><a href="#the-applet-element">applet</a></code>, <code><a href="#the-area-element">area</a></code>,
- <code><a href="#the-embed-element">embed</a></code>, <code><a href="#the-form-element">form</a></code>, <code>frame</code>,
- <code>frameset</code>, <code><a href="#the-iframe-element">iframe</a></code>, <code><a href="#the-img-element">img</a></code>, or
+ <code><a href="#the-embed-element">embed</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-iframe-element">iframe</a></code>, <code><a href="#the-img-element">img</a></code>, or
<code><a href="#the-object-element">object</a></code> elements that have a <code title="attr-name">name</code> content attribute whose value is <var title="">name</var>, or</li>
<li><a href="#html-elements">HTML elements</a> elements that have an <code title="attr-id"><a href="#the-id-attribute">id</a></code> content attribute whose value is <var title="">name</var>.</li>
@@ -51968,7 +51958,7 @@
tag</a> may be omitted if the <code><a href="#the-p-element">p</a></code> element is
immediately followed by an <code><a href="#the-address-element">address</a></code>,
<code><a href="#the-article-element">article</a></code>, <code><a href="#the-aside-element">aside</a></code>, <code><a href="#the-blockquote-element">blockquote</a></code>,
- <code><a href="#datagrid">datagrid</a></code>, <code><a href="#the-dialog-element">dialog</a></code>, <code>dir</code>,
+ <code><a href="#datagrid">datagrid</a></code>, <code><a href="#the-dialog-element">dialog</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-fieldset-element">fieldset</a></code>,
<code><a href="#the-footer-element">footer</a></code>, <code><a href="#the-form-element">form</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>,
@@ -52906,7 +52896,7 @@
then switch the <a href="#insertion-mode">insertion mode</a> to "<a href="#parsing-main-inbody" title="insertion mode: in body">in body</a>" and abort these
steps.</li>
- <li>If <var title="">node</var> is a <code>frameset</code> element,
+ <li>If <var title="">node</var> is a <code><a href="#frameset">frameset</a></code> element,
then switch the <a href="#insertion-mode">insertion mode</a> to "<a href="#parsing-main-inframeset" title="insertion mode: in frameset">in frameset</a>" and abort
these steps. (<a href="#fragment-case">fragment case</a>)</li>
@@ -52969,27 +52959,27 @@
<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>basefont</code>, <code>bgsound</code>,
+ <code><a href="#basefont">basefont</a></code>, <code>bgsound</code>,
<code><a href="#the-blockquote-element">blockquote</a></code>, <code><a href="#the-body-element">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>, <code><a href="#datagrid">datagrid</a></code>, <code><a href="#the-dd-element">dd</a></code>,
- <code><a href="#the-details-element">details</a></code>, <code><a href="#the-dialog-element">dialog</a></code>, <code>dir</code>,
+ <code><a href="#the-details-element">details</a></code>, <code><a href="#the-dialog-element">dialog</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>frame</code>,
- <code>frameset</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-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">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>isindex</code>, <code><a href="#the-li-element">li</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>listing</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>noembed</code>,
- <code>noframes</code>, <code><a href="#the-noscript-element">noscript</a></code>, <code><a href="#the-ol-element">ol</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>plaintext</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>spacer</code>, <code><a href="#the-style-element">style</a></code>,
+ <code><a href="#the-select-element">select</a></code>, <code><a href="#spacer">spacer</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">title</a></code>, <code><a href="#the-tr-element">tr</a></code>,
<code><a href="#the-ul-element">ul</a></code>, and <code>wbr</code>.</dd>
@@ -53005,11 +52995,11 @@
<dt><dfn id="formatting">Formatting</dfn></dt>
<dd><p>The following HTML elements are those that end up in the
<a href="#list-of-active-formatting-elements">list of active formatting elements</a>: <code><a href="#the-a-element">a</a></code>,
- <code><a href="#the-b-element">b</a></code>, <code>big</code>, <code><a href="#the-code-element">code</a></code>,
- <code><a href="#the-em-element">em</a></code>, <code>font</code>, <code><a href="#the-i-element">i</a></code>,
- <code>nobr</code>, <code>s</code>, <code><a href="#the-small-element">small</a></code>,
- <code>strike</code>, <code><a href="#the-strong-element">strong</a></code>, <code>tt</code>, and
- <code>u</code>.</dd>
+ <code><a href="#the-b-element">b</a></code>, <code><a href="#big">big</a></code>, <code><a href="#the-code-element">code</a></code>,
+ <code><a href="#the-em-element">em</a></code>, <code><a href="#font">font</a></code>, <code><a href="#the-i-element">i</a></code>,
+ <code>nobr</code>, <code><a href="#s">s</a></code>, <code><a href="#the-small-element">small</a></code>,
+ <code><a href="#strike">strike</a></code>, <code><a href="#the-strong-element">strong</a></code>, <code><a href="#tt">tt</a></code>, and
+ <code><a href="#u">u</a></code>.</dd>
<dt><dfn id="phrasing">Phrasing</dfn></dt>
<dd><p>All other elements found while parsing an HTML
@@ -57899,7 +57889,7 @@
<p>If the parser was <em>not</em> originally created as part
of the <a href="#html-fragment-parsing-algorithm">HTML fragment parsing algorithm</a>
(<a href="#fragment-case">fragment case</a>), and the <a href="#current-node">current
- node</a> is no longer a <code>frameset</code> element, then
+ node</a> is no longer a <code><a href="#frameset">frameset</a></code> element, then
switch the <a href="#insertion-mode">insertion mode</a> to "<a href="#parsing-main-afterframeset" title="insertion mode: after frameset">after
frameset</a>".</p>
@@ -58372,12 +58362,12 @@
character.</p>
<p>If <var title="">current node</var> is an
- <code><a href="#the-area-element">area</a></code>, <code><a href="#the-base-element">base</a></code>, <code>basefont</code>,
+ <code><a href="#the-area-element">area</a></code>, <code><a href="#the-base-element">base</a></code>, <code><a href="#basefont">basefont</a></code>,
<code>bgsound</code>, <code><a href="#the-br-element">br</a></code>, <code><a href="#the-col-element">col</a></code>,
- <code><a href="#the-embed-element">embed</a></code>, <code>frame</code>, <code><a href="#the-hr-element">hr</a></code>,
+ <code><a href="#the-embed-element">embed</a></code>, <code><a href="#frame">frame</a></code>, <code><a href="#the-hr-element">hr</a></code>,
<code><a href="#the-img-element">img</a></code>, <code><a href="#the-input-element">input</a></code>, <code><a href="#the-keygen-element">keygen</a></code>,
<code><a href="#the-link-element">link</a></code>, <code><a href="#meta">meta</a></code>, <code><a href="#the-param-element">param</a></code>,
- <code>spacer</code>, or <code>wbr</code> element, then
+ <code><a href="#spacer">spacer</a></code>, or <code>wbr</code> element, then
continue on to the next child node at this point.</p> <!--
also, i guess: image and isindex, but we don't list those
because we don't consider those "elements", more "macros", and
@@ -58403,8 +58393,8 @@
<p>If one of the ancestors of <var title="">current node</var>
is a <code><a href="#the-style-element">style</a></code>, <code><a href="#script">script</a></code>,
- <code>xmp</code>, <code><a href="#the-iframe-element">iframe</a></code>, <code>noembed</code>,
- <code>noframes</code>, <code><a href="#the-noscript-element">noscript</a></code>, or
+ <code>xmp</code>, <code><a href="#the-iframe-element">iframe</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>, or
<code>plaintext</code> element, then append the value of <var title="">current node</var>'s <code title="">data</code> DOM
attribute literally.</p> <!-- note about noscript: we're
assuming here that scripting is enabled. If this algorithm is
@@ -58565,8 +58555,8 @@
<dt>If it is a <code><a href="#the-style-element">style</a></code>, <code><a href="#script">script</a></code>,
- <code>xmp</code>, <code><a href="#the-iframe-element">iframe</a></code>, <code>noembed</code>, or
- <code>noframes</code> element</dt>
+ <code>xmp</code>, <code><a href="#the-iframe-element">iframe</a></code>, <code><a href="#noembed">noembed</a></code>, or
+ <code><a href="#noframes">noframes</a></code> element</dt>
<dd>Set the <a href="#content-model-flag">content model flag</a> to
the CDATA state.</dd>
@@ -61252,17 +61242,17 @@
</table><p>If the <code><a href="#the-body-element">body</a></code> element's <code>Document</code>'s
<a href="#browsing-context">browsing context</a> is a <a href="#nested-browsing-context">nested browsing
context</a>, and the <a href="#browsing-context-container">browsing context container</a> of
- that <a href="#nested-browsing-context">nested browsing context</a> is a <code>frame</code> or
+ that <a href="#nested-browsing-context">nested browsing context</a> is a <code><a href="#frame">frame</a></code> or
<code><a href="#the-iframe-element">iframe</a></code> element, then the <dfn id="container-frame-element">container frame
element</dfn> of the <code><a href="#the-body-element">body</a></code> element is that
- <code>frame</code> or <code><a href="#the-iframe-element">iframe</a></code> element. Otherwise, there
+ <code><a href="#frame">frame</a></code> or <code><a href="#the-iframe-element">iframe</a></code> element. Otherwise, there
is no <a href="#container-frame-element">container frame element</a>.</p>
<hr><p>If the <code>Document</code> has a <a href="#root-element">root element</a>, and
the <code>Document</code>'s <a href="#browsing-context">browsing context</a> is a
<a href="#nested-browsing-context">nested browsing context</a>, and the <a href="#browsing-context-container">browsing context
container</a> of that <a href="#nested-browsing-context">nested browsing context</a> is a
- <code>frame</code> or <code><a href="#the-iframe-element">iframe</a></code> element, and that element
+ <code><a href="#frame">frame</a></code> or <code><a href="#the-iframe-element">iframe</a></code> element, and that element
has a <code title="attr-frames-scrolling">scrolling</code>
attribute, then the user agent is expected to compare the value of
the attribute in an <a href="#ascii-case-insensitive">ASCII case-insensitive</a> manner to
@@ -61575,25 +61565,25 @@
'border-bottom-color', and 'border-right-color' properties to the
resulting color.</p>
- <hr><p>When a <code>font</code> element has a <code title="attr-font-color">color</code> attribute, its value is
+ <hr><p>When a <code><a href="#font">font</a></code> element has a <code title="attr-font-color">color</code> attribute, its value is
expected to be parsed using the <a href="#rules-for-parsing-a-legacy-color-value">rules for parsing a legacy
color value</a>, and if that does not return an error, the user
agent is expected to treat the attribute as a <a href="#presentational-hints" title="presentational hints">presentational hint</a> setting the
element's 'color' property to the resulting color.</p>
- <p>When a <code>font</code> element has a <code title="attr-font-face">face</code> attribute, the user agent is
+ <p>When a <code><a href="#font">font</a></code> element has a <code title="attr-font-face">face</code> attribute, the user agent is
expected to treat the attribute as a <a href="#presentational-hints" title="presentational
hints">presentational hint</a> setting the element's
'font-family' property to the attribute's value.</p>
- <p>When a <code>font</code> element has a <code title="attr-font-pointsize">pointsize</code> attribute, the user
+ <p>When a <code><a href="#font">font</a></code> element has a <code title="attr-font-pointsize">pointsize</code> attribute, the user
agent is expected to parse that attribute's value using the
<a href="#rules-for-parsing-non-negative-integers">rules for parsing non-negative integers</a>, and if this
doesn't generate an error, then the user agent is expected to use
the parsed value as a <em>point</em> length for a <a href="#presentational-hints" title="presentational hints">presentational hint</a> for the
'font-size' property on the element.</p>
- <p>When a <code>font</code> element has a <code title="attr-font-size">size</code> attribute, the user agent is
+ <p>When a <code><a href="#font">font</a></code> element has a <code title="attr-font-size">size</code> attribute, the user agent is
expected to use the following steps to treat the attribute as a
<a href="#presentational-hints" title="presentational hints">presentational hint</a>
setting the element's 'font-size' property:</p>
@@ -62830,12 +62820,12 @@
<h3 id="frames-and-framesets"><span class="secno">11.5 </span>Frames and framesets</h3>
<p>When an <code><a href="#the-html-element">html</a></code> element's second child element is a
- <code>frameset</code> element, the user agent is expected to render
- the <code>frameset</code> element as described below across the
+ <code><a href="#frameset">frameset</a></code> element, the user agent is expected to render
+ the <code><a href="#frameset">frameset</a></code> element as described below across the
surface of the <a href="#view">view</a>, instead of applying the usual CSS
rendering rules.</p>
- <p>When rendering a <code>frameset</code> on a surface, the user
+ <p>When rendering a <code><a href="#frameset">frameset</a></code> on a surface, the user
agent is expected to use the following layout algorithm:</p>
<ol><li>
@@ -62880,13 +62870,13 @@
<p>Invoke the algorithm defined below to <a href="#convert-a-list-of-dimensions-to-a-list-of-pixel-values">convert a list of
dimensions to a list of pixel values</a> using <var title="">cols</var> as the input list, and the width of the
- surface that the <code>frameset</code> is being rendered into, in
+ surface that the <code><a href="#frameset">frameset</a></code> is being rendered into, in
CSS pixels, as the input dimension. Let <var title="">sized
cols</var> be the resulting list.</p>
<p>Invoke the algorithm defined below to <a href="#convert-a-list-of-dimensions-to-a-list-of-pixel-values">convert a list of
dimensions to a list of pixel values</a> using <var title="">rows</var> as the input list, and the height of the
- surface that the <code>frameset</code> is being rendered into, in
+ surface that the <code><a href="#frameset">frameset</a></code> is being rendered into, in
CSS pixels, as the input dimension. Let <var title="">sized
rows</var> be the resulting list.</p>
@@ -62911,8 +62901,8 @@
<li>
<p>Let <var title="">children</var> be the list of
- <code>frame</code> and <code>frameset</code> elements that are
- children of the <code>frameset</code> element for which the
+ <code><a href="#frame">frame</a></code> and <code><a href="#frameset">frameset</a></code> elements that are
+ children of the <code><a href="#frameset">frameset</a></code> element for which the
algorithm was invoked.</p>
</li>
@@ -62932,12 +62922,12 @@
<p>If there are any elements left in <var title="">children</var>, take the first element in the list,
and assign it to the rectangle.</p>
- <p>If this is a <code>frameset</code> element, then recurse
- the entire <code>frameset</code> layout algorithm for that
- <code>frameset</code> element, with the rectangle as the
+ <p>If this is a <code><a href="#frameset">frameset</a></code> element, then recurse
+ the entire <code><a href="#frameset">frameset</a></code> layout algorithm for that
+ <code><a href="#frameset">frameset</a></code> element, with the rectangle as the
surface.</p>
- <p>Otherwise, it is a <code>frame</code> element; create a
+ <p>Otherwise, it is a <code><a href="#frame">frame</a></code> element; create a
<a href="#nested-browsing-context">nested browsing context</a> sized to fit the
rectangle.</p>
@@ -62953,7 +62943,7 @@
<li>
- <p>If the <code>frameset</code> element <a href="#has-a-border">has a border</a>,
+ <p>If the <code><a href="#frameset">frameset</a></code> element <a href="#has-a-border">has a border</a>,
draw an outer set of borders around the rectangles, using the
element's <a href="#frame-border-color">frame border color</a>.</p>
@@ -62963,13 +62953,13 @@
element's <a href="#frame-border-color">frame border color</a>.</p>
<p>For each (visible) border that does not abut a rectangle that
- is assigned a <code>frame</code> element with a <code title="attr-frame-noresize">noresize</code> attribute (including
- rectangles in further nested <code>frameset</code> elements), the
+ is assigned a <code><a href="#frame">frame</a></code> element with a <code title="attr-frame-noresize">noresize</code> attribute (including
+ rectangles in further nested <code><a href="#frameset">frameset</a></code> elements), the
user agent is expected to allow the user to move the border,
resizing the rectangles within, keeping the proportions of any
- nested <code>frameset</code> grids.</p>
+ nested <code><a href="#frameset">frameset</a></code> grids.</p>
- <p>A <code>frameset</code> or <code>frame</code> element <dfn id="has-a-border">has
+ <p>A <code><a href="#frameset">frameset</a></code> or <code><a href="#frame">frame</a></code> element <dfn id="has-a-border">has
a border</dfn> if the following algorithm returns true:</p>
<ol><li><p>If the element has a <code title="attr-frames-frameborder">frameborder</code> attribute
@@ -62981,14 +62971,14 @@
return false.</li>
<li><p>Otherwise, if the element has a parent element that is a
- <code>frameset</code> element, then return true if <em>that</em>
+ <code><a href="#frameset">frameset</a></code> element, then return true if <em>that</em>
element <a href="#has-a-border">has a border</a>, and false if it does
not.</li>
<li><p>Otherwise, return true.</li>
- </ol><p>The <dfn id="frame-border-color">frame border color</dfn> of a <code>frameset</code> or
- <code>frame</code> element is the color obtained from the
+ </ol><p>The <dfn id="frame-border-color">frame border color</dfn> of a <code><a href="#frameset">frameset</a></code> or
+ <code><a href="#frame">frame</a></code> element is the color obtained from the
following algorithm:</p>
<ol><li><p>If the element has a <code title="attr-frames-bordercolor">bordercolor</code> attribute, and
@@ -62997,7 +62987,7 @@
return the color so obtained.</li>
<li><p>Otherwise, if the element has a parent element that is a
- <code>frameset</code> element, then the <a href="#frame-border-color">frame border
+ <code><a href="#frameset">frameset</a></code> element, then the <a href="#frame-border-color">frame border
color</a> of that element.</p>
<li><p>Otherwise, return gray.</li>
@@ -63222,10 +63212,6 @@
section. They are documented to enable user agents to support legacy
content in an interoperable fashion.</p>
-<!-- XXX Elements that have been dropped: ACRONYM B BASEFONT BLINK BIG
-CENTER DIR DIV FONT FRAME FRAMESET I ISINDEX NOEMBED NOFRAMES
-S SPACER STRIKE TT U -->
-
<h3 id="self-contained-features"><span class="secno">12.1 </span>Self-contained features</h3>
@@ -63248,9 +63234,16 @@
if supported</span>.</p>
<pre class="idl">[XXX] interface <a href="#htmldocument">HTMLDocument</a> {
+ readonly attribute <a href="#htmlcollection-0">HTMLCollection</a> <a href="#dom-document-anchors" title="dom-document-anchors">anchors</a>;
readonly attribute <a href="#htmlcollection-0">HTMLCollection</a> <a href="#dom-document-applets" title="dom-document-applets">applets</a>;
};</pre>
+ <p>The <dfn id="dom-document-anchors" title="dom-document-anchors"><code>anchors</code></dfn>
+ attribute must return an <code><a href="#htmlcollection-0">HTMLCollection</a></code> rooted at the
+ <code>Document</code> node, whose filter matches only <code><a href="#the-a-element">a</a></code>
+ elements with <code title="attr-a-name"><a href="#attr-a-name">name</a></code>
+ attributes.</p>
+
<p>The <dfn id="dom-document-applets" title="dom-document-applets"><code>applets</code></dfn>
attribute must return an <code><a href="#htmlcollection-0">HTMLCollection</a></code> rooted at the
<code>Document</code> node, whose filter matches only
@@ -63452,20 +63445,52 @@
whatsoever or have no requirements beyond those described elsewhere
in this specification:</p>
- <ul><li><dfn id="center"><code>center</code></dfn></li>
+ <dl><!-- alphabetical by first element in the group, except CSS goes last --><dt><dfn id="acronym"><code>acronym</code></dfn></dt>
+ <dd><p>Use <code><a href="#the-abbr-element">abbr</a></code> instead.</dd>
- </ul><hr><p>The following attributes are obsolete and either have no meaning
- whatsoever or have no requirements beyond those described elsewhere
- in this specification:</p>
+ <dt><dfn id="dir"><code>dir</code></dfn></dt>
+ <dd><p>Use <code><a href="#the-ul-element">ul</a></code> instead.</dd>
- <ul><li><dfn id="attr-a-name" title="attr-a-name"><code>name</code></dfn> on <code><a href="#the-a-element">a</a></code> elements</li>
- <li><dfn id="attr-body-alink" title="attr-body-alink"><code>alink</code></dfn> on <code><a href="#the-body-element">body</a></code> elements</li>
- <li><dfn id="attr-body-background" title="attr-body-background"><code>background</code></dfn> on <code><a href="#the-body-element">body</a></code> elements</li>
- <li><dfn id="attr-body-bgcolor" title="attr-body-bgcolor"><code>bgcolor</code></dfn> on <code><a href="#the-body-element">body</a></code> elements</li>
- <li><dfn id="attr-body-link" title="attr-body-link"><code>link</code></dfn> on <code><a href="#the-body-element">body</a></code> elements</li>
- <li><dfn id="attr-body-text" title="attr-body-text"><code>text</code></dfn> on <code><a href="#the-body-element">body</a></code> elements</li>
- <li><dfn id="attr-body-vlink" title="attr-body-vlink"><code>vlink</code></dfn> on <code><a href="#the-body-element">body</a></code> elements</li>
- </ul><h3 id="other-dom-apis"><span class="secno">12.3 </span>Other DOM APIs</h3>
+ <dt><dfn id="frame"><code>frame</code></dfn></dt>
+ <dt><dfn id="frameset"><code>frameset</code></dfn></dt>
+ <dt><dfn id="noframes"><code>noframes</code></dfn></dt>
+ <dd><p>Use <code><a href="#the-iframe-element">iframe</a></code> and CSS instead.</dd>
+
+ <dt><dfn id="isindex-0"><code>isindex</code></dfn></dt>
+ <dd><p>Use an explicit <code><a href="#the-form-element">form</a></code> and <a href="#text-state-and-search-state" title="attr-input-type-text">text field</a> combination instead.</dd>
+
+ <dt><dfn id="noembed"><code>noembed</code></dfn></dt>
+ <dd><p>Use <code><a href="#the-object-element">object</a></code> instead of <code><a href="#the-embed-element">embed</a></code> when fallback is necessary.</dd>
+
+ <dt><dfn id="basefont"><code>basefont</code></dfn></dt>
+ <dt><dfn id="big"><code>big</code></dfn></dt>
+ <dt><dfn id="blink"><code>blink</code></dfn></dt>
+ <dt><dfn id="center"><code>center</code></dfn></dt>
+ <dt><dfn id="font"><code>font</code></dfn></dt>
+ <dt><dfn id="s"><code>s</code></dfn></dt>
+ <dt><dfn id="spacer"><code>spacer</code></dfn></dt>
+ <dt><dfn id="strike"><code>strike</code></dfn></dt>
+ <dt><dfn id="tt"><code>tt</code></dfn></dt>
+ <dt><dfn id="u"><code>u</code></dfn></dt>
+ <dd><p>Use CSS instead.</dd>
+
+ </dl><hr><p>The following attributes are obsolete (though the elements are
+ still part of the language) and either have no meaning whatsoever or
+ have no requirements beyond those described elsewhere in this
+ specification:</p>
+
+ <dl><!-- alphabetical by element then attribute of first item in group, except CSS goes last --><dt><dfn id="attr-a-name" title="attr-a-name"><code>name</code></dfn> on <code><a href="#the-a-element">a</a></code> elements</dt>
+ <dd><p>Use the <code title="attr-id"><a href="#the-id-attribute">id</a></code> attribute instead.</dd>
+
+ <dt><dfn id="attr-body-alink" title="attr-body-alink"><code>alink</code></dfn> on <code><a href="#the-body-element">body</a></code> elements</dt>
+ <dt><dfn id="attr-body-background" title="attr-body-background"><code>background</code></dfn> on <code><a href="#the-body-element">body</a></code> elements</dt>
+ <dt><dfn id="attr-body-bgcolor" title="attr-body-bgcolor"><code>bgcolor</code></dfn> on <code><a href="#the-body-element">body</a></code> elements</dt>
+ <dt><dfn id="attr-body-link" title="attr-body-link"><code>link</code></dfn> on <code><a href="#the-body-element">body</a></code> elements</dt>
+ <dt><dfn id="attr-body-text" title="attr-body-text"><code>text</code></dfn> on <code><a href="#the-body-element">body</a></code> elements</dt>
+ <dt><dfn id="attr-body-vlink" title="attr-body-vlink"><code>vlink</code></dfn> on <code><a href="#the-body-element">body</a></code> elements</dt>
+ <dd><p>Use CSS instead.</dd>
+
+ </dl><h3 id="other-dom-apis"><span class="secno">12.3 </span>Other DOM APIs</h3>
<p>These APIs expose obsolete content attributes.</p>
@@ -63567,7 +63592,7 @@
violation is motivated by a desire for compatibility with legacy
content. <a href="#references">[ECMA262]</a></p>
- <hr><p>Any <code>frameset</code> elements must support the following
+ <hr><p>Any <code><a href="#frameset">frameset</a></code> elements must support the following
<a href="#event-handler-content-attributes">event handler content attributes</a> exposing the
<a href="#event-handler-attributes-0">event handler attributes</a> of the <code><a href="#window">Window</a></code>
object:</p>
@@ -63589,7 +63614,7 @@
<li><code title="handler-window-onstorage"><a href="#handler-window-onstorage">onstorage</a></code></li>
<li><code title="handler-window-onundo"><a href="#handler-window-onundo">onundo</a></code></li>
<li><code title="handler-window-onunload"><a href="#handler-window-onunload">onunload</a></code></li>
- </ul><p>In addition, <code>frameset</code> elements must implement the
+ </ul><p>In addition, <code><a href="#frameset">frameset</a></code> elements must implement the
following interface:</p>
<pre class="idl">interface <dfn id="htmlframesetelement">HTMLFramesetElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
@@ -63617,7 +63642,7 @@
<p>The <code title="handler-window-onblur"><a href="#handler-window-onblur">onblur</a></code>, <code title="handler-window-onerror"><a href="#handler-window-onerror">onerror</a></code>, <code title="handler-window-onfocus"><a href="#handler-window-onfocus">onfocus</a></code>, and <code title="handler-window-onload"><a href="#handler-window-onload">onload</a></code> <a href="#event-handler-attributes-0">event handler
attributes</a> of the <code><a href="#window">Window</a></code> object, exposed on the
- <code>frameset</code> element, shadow the generic <a href="#event-handler-attributes-0">event
+ <code><a href="#frameset">frameset</a></code> element, shadow the generic <a href="#event-handler-attributes-0">event
handler attributes</a> with the same names normally supported by
<a href="#html-elements">HTML elements</a>.</p>
Received on Monday, 15 June 2009 19:46:38 UTC