- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 16 Feb 2010 08:36:57 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view In directory hutz:/tmp/cvs-serv19931 Modified Files: Overview.html apis-in-html-documents.html association-of-controls-and-forms.html browsers.html commands.html dom.html elements.html forms.html history.html iana.html index.html infrastructure.html offline.html scripting-1.html sections.html semantics.html spec.html text-level-semantics.html the-button-element.html the-iframe-element.html the-input-element.html urls.html video.html Log Message: Add some <dfn>s to make DOM Core and DOM Events xrefs work a bit. If you find other cross-spec things in complete.html that aren't linking, let me know and I'll add them here. (cross-spec links for internal things, like html to microdata, postmsg to websocket, or whatnot, will be dealt with automatically at some later date) (whatwg r4748) [updated by splitter] Index: infrastructure.html =================================================================== RCS file: /sources/public/html5/spec-author-view/infrastructure.html,v retrieving revision 1.568 retrieving revision 1.569 diff -u -d -r1.568 -r1.569 --- infrastructure.html 15 Feb 2010 19:17:02 -0000 1.568 +++ infrastructure.html 16 Feb 2010 08:36:53 -0000 1.569 @@ -360,10 +360,10 @@ document, then the node's <a href="#root-element">root element</a> is indeed the document's root element; however, if the node is not currently part of the document tree, the root element will be an orphaned node.</p><p>A node's <dfn id="home-subtree">home subtree</dfn> is the subtree rooted at that - node's <a href="#root-element">root element</a>.</p><p>The <code>Document</code> of a <code>Node</code> (such as an - element) is the <code>Document</code> that the <code>Node</code>'s + node's <a href="#root-element">root element</a>.</p><p>The <code><a href="#document">Document</a></code> of a <code>Node</code> (such as an + element) is the <code><a href="#document">Document</a></code> that the <code>Node</code>'s <code title="">ownerDocument</code> IDL attribute returns.</p><p>When an element's <a href="#root-element">root element</a> is the <a href="#root-element">root - element</a> of a <code>Document</code>, it is said to be <dfn id="in-a-document">in + element</a> of a <code><a href="#document">Document</a></code>, it is said to be <dfn id="in-a-document">in a <code>Document</code></dfn>. An element is said to have been <dfn id="insert-an-element-into-a-document" title="insert an element into a document">inserted into a document</dfn> when its <a href="#root-element">root element</a> changes and is now the document's <a href="#root-element">root element</a>. Analogously, an element is @@ -371,9 +371,9 @@ document">removed from a document</dfn> when its <a href="#root-element">root element</a> changes from being the document's <a href="#root-element">root element</a> to being another element.</p><p>If a <code>Node</code> is <a href="#in-a-document">in a <code>Document</code></a> - then that <code>Document</code> is always the <code>Node</code>'s - <code>Document</code>, and the <code>Node</code>'s <code title="">ownerDocument</code> IDL attribute thus always returns that - <code>Document</code>.</p><p>The term <dfn id="tree-order">tree order</dfn> means a pre-order, depth-first + then that <code><a href="#document">Document</a></code> is always the <code>Node</code>'s + <code><a href="#document">Document</a></code>, and the <code>Node</code>'s <code title="">ownerDocument</code> IDL attribute thus always returns that + <code><a href="#document">Document</a></code>.</p><p>The term <dfn id="tree-order">tree order</dfn> means a pre-order, depth-first traversal of DOM nodes involved (through the <code title="">parentNode</code>/<code title="">childNodes</code> relationship).</p><p>When it is stated that some element or attribute is <dfn id="ignore" title="ignore">ignored</dfn>, or treated as some other value, or handled as if it was something else, this refers only to the @@ -397,10 +397,10 @@ defined by the DOM Events specification. <!-- http://krijnhoetmer.nl/irc-logs/webapps/20091218 --> <a href="references.html#refsDOMEVENTS">[DOMEVENTS]</a></p><h4 id="plugins"><span class="secno">2.1.5 </span>Plugins</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The term <dfn id="plugin">plugin</dfn> is used to mean any content handler that supports displaying content as part of the user agent's - rendering of a <code>Document</code> object, but that neither acts + rendering of a <code><a href="#document">Document</a></code> object, but that neither acts as a <a href="browsers.html#child-browsing-context">child browsing context</a> of the - <code>Document</code> nor introduces any <code>Node</code> objects - to the <code>Document</code>'s DOM.</p><p>Typically such content handlers are provided by third parties, + <code><a href="#document">Document</a></code> nor introduces any <code>Node</code> objects + to the <code><a href="#document">Document</a></code>'s DOM.</p><p>Typically such content handlers are provided by third parties, though a user agent can designate content handlers to be plugins.</p><p class="example">One example of a plugin would be a PDF viewer that is instantiated in a <a href="browsers.html#browsing-context">browsing context</a> when the Index: text-level-semantics.html =================================================================== RCS file: /sources/public/html5/spec-author-view/text-level-semantics.html,v retrieving revision 1.568 retrieving revision 1.569 diff -u -d -r1.568 -r1.569 --- text-level-semantics.html 15 Feb 2010 19:17:04 -0000 1.568 +++ text-level-semantics.html 16 Feb 2010 08:36:54 -0000 1.569 @@ -358,7 +358,7 @@ <dd> - <p>Same as <code>textContent</code>.</p> + <p>Same as <code><a href="#textcontent">textContent</a></code>.</p> </dd> @@ -762,7 +762,7 @@ child <a href="infrastructure.html#text-node" title="text node">text nodes</a>, and that child element is an <code><a href="#the-abbr-element">abbr</a></code> element with a <code title="attr-abbr-title"><a href="#attr-abbr-title">title</a></code> attribute, then the exact value of <em>that</em> attribute is the term being defined. Otherwise, it - is the exact <code>textContent</code> of the <code><a href="#the-dfn-element">dfn</a></code> + is the exact <code><a href="#textcontent">textContent</a></code> of the <code><a href="#the-dfn-element">dfn</a></code> element that gives the term being defined.</p><!-- note that this means <dfn>x \n x</dfn> won't match <span>x x</span> --><p>If the <code title="attr-dfn-title"><a href="#attr-dfn-title">title</a></code> attribute of the <code><a href="#the-dfn-element">dfn</a></code> element is present, then it must contain only the term being defined.</p><p class="note">The <code title="attr-title"><a href="elements.html#the-title-attribute">title</a></code> attribute @@ -934,7 +934,7 @@ each <code><a href="sections.html#the-article-element">article</a></code> element, there must no more than one <code><a href="#the-time-element">time</a></code> element with a <code title="attr-time-pubdate"><a href="#attr-time-pubdate">pubdate</a></code> attribute whose nearest ancestor is that <code><a href="sections.html#the-article-element">article</a></code> element. Furthermore, for each - <code>Document</code>, there must be no more than one + <code><a href="#document">Document</a></code>, there must be no more than one <code><a href="#the-time-element">time</a></code> element with a <code title="attr-time-pubdate"><a href="#attr-time-pubdate">pubdate</a></code> attribute that does not have an ancestor <code><a href="sections.html#the-article-element">article</a></code> element.</p><p>The <dfn id="attr-time-datetime" title="attr-time-datetime"><code>datetime</code></dfn> attribute, if present, gives the date or time being @@ -942,11 +942,11 @@ contents.</p><p>If the element <i><a href="#needs-a-date">needs a date</a></i>, and the <code title="attr-time-datetime"><a href="#attr-time-datetime">datetime</a></code> attribute is present, then the attribute's value must be a <a href="common-microsyntaxes.html#valid-date-string-with-optional-time">valid date string with optional time</a>.</p><p>If the element <i><a href="#needs-a-date">needs a date</a></i>, but the <code title="attr-time-datetime"><a href="#attr-time-datetime">datetime</a></code> attribute is not present, - then the element's <code>textContent</code> must be a <a href="common-microsyntaxes.html#valid-date-string-in-content-with-optional-time">valid + then the element's <code><a href="#textcontent">textContent</a></code> must be a <a href="common-microsyntaxes.html#valid-date-string-in-content-with-optional-time">valid date string in content with optional time</a>.</p><p>If the element does not <i>need a date</i>, and the <code title="attr-time-datetime"><a href="#attr-time-datetime">datetime</a></code> attribute is present, then the attribute's value must be a <a href="common-microsyntaxes.html#valid-date-or-time-string">valid date or time string</a>.</p><p>If the element does not <i>need a date</i>, but the <code title="attr-time-datetime"><a href="#attr-time-datetime">datetime</a></code> attribute is not present, - then the element's <code>textContent</code> must be a <a href="common-microsyntaxes.html#valid-date-or-time-string-in-content">valid + then the element's <code><a href="#textcontent">textContent</a></code> must be a <a href="common-microsyntaxes.html#valid-date-or-time-string-in-content">valid date or time string in content</a>.</p><p>The date, if any, must be expressed using the Gregorian calendar.</p><div class="example"> Index: scripting-1.html =================================================================== RCS file: /sources/public/html5/spec-author-view/scripting-1.html,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- scripting-1.html 15 Feb 2010 19:17:02 -0000 1.15 +++ scripting-1.html 16 Feb 2010 08:36:53 -0000 1.16 @@ -485,7 +485,7 @@ <dt>"<code>text/javascript;e4x=1</code>"</dt> <dd>JavaScript with ECMAScript for XML. <a href="references.html#refsECMA357">[ECMA357]</a></dd> - </dl><h5 id="restrictions-for-contents-of-script-elements"><span class="secno">4.3.1.2 </span><dfn title="script content restrictions">Restrictions for contents of <code>script</code> elements</dfn></h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <code>textContent</code> of a <code><a href="#script">script</a></code> element must match the + </dl><h5 id="restrictions-for-contents-of-script-elements"><span class="secno">4.3.1.2 </span><dfn title="script content restrictions">Restrictions for contents of <code>script</code> elements</dfn></h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <code><a href="#textcontent">textContent</a></code> of a <code><a href="#script">script</a></code> element must match the <code title="">script</code> production in the following ABNF, the character set for which is Unicode. <a href="references.html#refsABNF">[ABNF]</a></p><pre>script = data1 *( escape [ script-start data3 ] "-->" data1 ) [ escape ] escape = "<!--" data2 *( script-start data3 script-end data2 ) Index: the-iframe-element.html =================================================================== RCS file: /sources/public/html5/spec-author-view/the-iframe-element.html,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- the-iframe-element.html 15 Feb 2010 19:17:04 -0000 1.25 +++ the-iframe-element.html 16 Feb 2010 08:36:54 -0000 1.26 @@ -347,7 +347,7 @@ </ol><p>For <code><a href="#the-iframe-element">iframe</a></code> elements in <a href="dom.html#xml-documents">XML documents</a>, the attribute, if present, must have a value that matches the - production labeled <code>document</code> in the XML + production labeled <code><a href="#document">document</a></code> in the XML specification. <a href="references.html#refsXML">[XML]</a></p><p>If the <code title="attr-iframe-src"><a href="#attr-iframe-src">src</a></code> attribute and the <code title="attr-iframe-srcdoc"><a href="#attr-iframe-srcdoc">srcdoc</a></code> attribute are both specified together, the <code title="attr-iframe-srcdoc"><a href="#attr-iframe-srcdoc">srcdoc</a></code> @@ -360,7 +360,7 @@ initial <code><a href="#about:blank">about:blank</a></code> page.</p><p class="note">If the user <a href="#navigate" title="navigate">navigates</a> away from this page, the <code><a href="#the-iframe-element">iframe</a></code>'s corresponding <code><a href="#windowproxy">WindowProxy</a></code> object will proxy new <code><a href="browsers.html#window">Window</a></code> - objects for new <code>Document</code> objects, but the <code title="attr-iframe-src"><a href="#attr-iframe-src">src</a></code> attribute will not change.</p><div class="example"> + objects for new <code><a href="#document">Document</a></code> objects, but the <code title="attr-iframe-src"><a href="#attr-iframe-src">src</a></code> attribute will not change.</p><div class="example"> <p>Here a blog uses the <code title="attr-iframe-srcdoc"><a href="#attr-iframe-srcdoc">srcdoc</a></code> attribute in conjunction with the <code title="attr-iframe-sandbox"><a href="#attr-iframe-sandbox">sandbox</a></code> and <code title="attr-iframe-seamless"><a href="#attr-iframe-seamless">seamless</a></code> attributes described @@ -518,7 +518,7 @@ pages directly, without the protection of the <code title="attr-iframe-sandbox"><a href="#attr-iframe-sandbox">sandbox</a></code> attribute.</p><p class="warning">If the <code title="attr-iframe-sandbox-allow-scripts"><a href="#attr-iframe-sandbox-allow-scripts">allow-scripts</a></code> keyword is set along with <code title="attr-iframe-sandbox-allow-same-origin"><a href="#attr-iframe-sandbox-allow-same-origin">allow-same-origin</a></code> keyword, and the file is from the <a href="#same-origin">same origin</a> as the - <code><a href="#the-iframe-element">iframe</a></code>'s <code>Document</code>, then a script in the + <code><a href="#the-iframe-element">iframe</a></code>'s <code><a href="#document">Document</a></code>, then a script in the "sandboxed" iframe could just reach out, remove the <code title="attr-iframe-sandbox"><a href="#attr-iframe-sandbox">sandbox</a></code> attribute, and then reload itself, effectively breaking out of the sandbox altogether.</p><hr><!-- v2: Might be interesting to have a value on seamless that Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec-author-view/Overview.html,v retrieving revision 1.699 retrieving revision 1.700 diff -u -d -r1.699 -r1.700 --- Overview.html 16 Feb 2010 08:27:06 -0000 1.699 +++ Overview.html 16 Feb 2010 08:36:52 -0000 1.700 @@ -304,7 +304,7 @@ </dl><p>This specification is available in the following formats: <a href="spec.html">single page HTML</a>, <a href="Overview.html">multipage HTML</a>. -This is revision 1.3795. +This is revision 1.3796. </p> <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2009 <a href="http://www.w3.org/"><abbr title="World Wide Index: history.html =================================================================== RCS file: /sources/public/html5/spec-author-view/history.html,v retrieving revision 1.571 retrieving revision 1.572 diff -u -d -r1.571 -r1.572 --- history.html 15 Feb 2010 19:17:01 -0000 1.571 +++ history.html 16 Feb 2010 08:36:53 -0000 1.572 @@ -292,12 +292,12 @@ <ol><li><a href="history.html#the-session-history-of-browsing-contexts"><span class="secno">5.4.1 </span>The session history of browsing contexts</a></li><li><a href="history.html#the-history-interface"><span class="secno">5.4.2 </span>The <code>History</code> interface</a></li><li><a href="history.html#the-location-interface"><span class="secno">5.4.3 </span>The <code>Location</code> interface</a></li></ol></li><li><a href="history.html#browsing-the-web"><span class="secno">5.5 </span>Browsing the Web</a> <ol><li><a href="history.html#history-traversal"><span class="secno">5.5.1 </span>History traversal</a></li><li><a href="history.html#unloading-documents"><span class="secno">5.5.2 </span>Unloading documents</a></li></ol></li></ol></li></ol></div> - <h3 id="history"><span class="secno">5.4 </span>Session history and navigation</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><h4 id="the-session-history-of-browsing-contexts"><span class="secno">5.4.1 </span>The session history of browsing contexts</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The sequence of <code>Document</code>s in a <a href="browsers.html#browsing-context">browsing + <h3 id="history"><span class="secno">5.4 </span>Session history and navigation</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><h4 id="the-session-history-of-browsing-contexts"><span class="secno">5.4.1 </span>The session history of browsing contexts</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The sequence of <code><a href="#document">Document</a></code>s in a <a href="browsers.html#browsing-context">browsing context</a> is its <dfn id="session-history">session history</dfn>.</p><p><code><a href="#history-0">History</a></code> objects provide a representation of the pages in the session history of <a href="browsers.html#browsing-context" title="browsing context">browsing contexts</a>. Each <a href="browsers.html#browsing-context">browsing context</a>, including <a href="browsers.html#nested-browsing-context">nested browsing context</a>, has - a distinct session history.</p><p>Each <code>Document</code> object in a <a href="browsers.html#browsing-context">browsing + a distinct session history.</p><p>Each <code><a href="#document">Document</a></code> object in a <a href="browsers.html#browsing-context">browsing context</a>'s <a href="#session-history">session history</a> is associated with a unique instance of the <code><a href="#history-0">History</a></code> object, although they all must model the same underlying <a href="#session-history">session history</a>.</p><p><code><a href="#history-0">History</a></code> objects represent their <a href="browsers.html#browsing-context">browsing @@ -306,7 +306,7 @@ <a href="urls.html#url">URL</a> or a <a href="#state-object">state object</a>, or both.</p><p class="note">Titles associated with <a href="#session-history-entry" title="session history entry">session history entries</a> need not have any relation with the current <code><a href="semantics.html#the-title-element-0">title</a></code> of the - <code>Document</code>. The title of a <a href="#session-history-entry">session history + <code><a href="#document">Document</a></code>. The title of a <a href="#session-history-entry">session history entry</a> is intended to explain the state of the document at that point, so that the user can navigate the document's history.</p><p>URLs without associated <a href="#state-object" title="state object">state @@ -320,13 +320,13 @@ <a href="browsers.html#active-document">active document</a> of the <a href="browsers.html#browsing-context">browsing context</a>. The <a href="#current-entry">current entry</a> is usually an entry for the <a href="#dom-location-href" title="dom-location-href">location</a> of the - <code>Document</code>. However, it can also be one of the entries + <code><a href="#document">Document</a></code>. However, it can also be one of the entries for <a href="#state-object" title="state object">state objects</a> added to the history by that document.</p><p>Entries that consist of <a href="#state-object" title="state object">state - objects</a> share the same <code>Document</code> as the entry for + objects</a> share the same <code><a href="#document">Document</a></code> as the entry for the page that was active when they were added.</p><p>Contiguous entries that differ just by fragment identifier also - share the same <code>Document</code>.</p><p class="note">All entries that share the same - <code>Document</code> (and that are therefore merely different + share the same <code><a href="#document">Document</a></code>.</p><p class="note">All entries that share the same + <code><a href="#document">Document</a></code> (and that are therefore merely different states of one particular document) are contiguous by definition.</p><h4 id="the-history-interface"><span class="secno">5.4.2 </span>The <code><a href="#history-0">History</a></code> interface</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><pre class="idl">interface <dfn id="history-0">History</dfn> { readonly attribute long <a href="#dom-history-length" title="dom-history-length">length</a>; void <a href="#dom-history-go" title="dom-history-go">go</a>(in optional long delta); @@ -394,7 +394,7 @@ object is the union of all the <a href="#session-history" title="session history">session histories</a> of all <a href="browsers.html#browsing-context" title="browsing context">browsing contexts</a> of all the <a href="browsers.html#fully-active">fully active</a> - <code>Document</code> objects that share the <code><a href="#history-0">History</a></code> + <code><a href="#document">Document</a></code> objects that share the <code><a href="#history-0">History</a></code> object's <a href="browsers.html#top-level-browsing-context">top-level browsing context</a>, with all the entries that are <a href="#current-entry" title="current entry">current entries</a> in their respective <a href="#session-history" title="session history">session @@ -503,7 +503,7 @@ State: <OUTPUT NAME=I>1</OUTPUT> <INPUT VALUE="Increment" TYPE=BUTTON ONCLICK="inc()"> </FORM></pre> - </div><h4 id="the-location-interface"><span class="secno">5.4.3 </span>The <code><a href="#location">Location</a></code> interface</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>Each <code>Document</code> object in a <a href="browsers.html#browsing-context">browsing + </div><h4 id="the-location-interface"><span class="secno">5.4.3 </span>The <code><a href="#location">Location</a></code> interface</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>Each <code><a href="#document">Document</a></code> object in a <a href="browsers.html#browsing-context">browsing context</a>'s session history is associated with a unique instance of a <code><a href="#location">Location</a></code> object.</p><dl class="domintro"><dt><var title="">document</var> . <code title="dom-document-location"><a href="#dom-document-location">location</a></code> [ = <var title="">value</var> ]</dt> <dt><var title="">window</var> . <code title="dom-location"><a href="#dom-location">location</a></code> [ = <var title="">value</var> ]</dt> Index: dom.html =================================================================== RCS file: /sources/public/html5/spec-author-view/dom.html,v retrieving revision 1.572 retrieving revision 1.573 diff -u -d -r1.572 -r1.573 --- dom.html 16 Feb 2010 08:27:06 -0000 1.572 +++ dom.html 16 Feb 2010 08:36:52 -0000 1.573 @@ -293,35 +293,35 @@ <ol><li><a href="dom.html#documents-in-the-dom"><span class="secno">3.1.1 </span>Documents in the DOM</a></li><li><a href="dom.html#security"><span class="secno">3.1.2 </span>Security</a></li><li><a href="dom.html#resource-metadata-management"><span class="secno">3.1.3 </span>Resource metadata management</a></li><li><a href="dom.html#dom-tree-accessors"><span class="secno">3.1.4 </span>DOM tree accessors</a></li><li><a href="dom.html#creating-documents"><span class="secno">3.1.5 </span>Creating documents</a></li></ol></li></ol></li></ol></div> <h2 id="dom"><span class="secno">3 </span>Semantics, structure, and APIs of HTML documents</h2><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><h3 id="documents"><span class="secno">3.1 </span>Documents</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>Every XML and HTML document in an HTML UA is represented by a - <code>Document</code> object. <a href="references.html#refsDOMCORE">[DOMCORE]</a></p><p><dfn id="the-document-s-address">The document's address</dfn> is an <a href="urls.html#absolute-url">absolute URL</a> - that is set when the <code>Document</code> is created. <dfn id="the-document-s-current-address">The + <code><a href="#document">Document</a></code> object. <a href="references.html#refsDOMCORE">[DOMCORE]</a></p><p><dfn id="the-document-s-address">The document's address</dfn> is an <a href="urls.html#absolute-url">absolute URL</a> + that is set when the <code><a href="#document">Document</a></code> is created. <dfn id="the-document-s-current-address">The document's current address</dfn> is an <a href="urls.html#absolute-url">absolute URL</a> - that can change during the lifetime of the <code>Document</code>, + that can change during the lifetime of the <code><a href="#document">Document</a></code>, for example when the user <a href="#navigate" title="navigate">navigates</a> to a <a href="#scroll-to-fragid" title="navigate-fragid">fragment identifier</a> on the page or when the <code title="dom-history-pushState"><a href="#dom-history-pushstate">pushState()</a></code> method is called with a new <a href="urls.html#url">URL</a>. </p><p class="note">Interactive user agents typically expose <a href="#the-document-s-current-address">the - document's current address</a> in their user interface.</p><p>When a <code>Document</code> is created by a <a href="#concept-script" title="concept-script">script</a> using the <code title="dom-DOMImplementation-createDocument">createDocument()</code> + document's current address</a> in their user interface.</p><p>When a <code><a href="#document">Document</a></code> is created by a <a href="#concept-script" title="concept-script">script</a> using the <code title="dom-DOMImplementation-createDocument">createDocument()</code> or <code title="dom-DOMHTMLImplementation-createHTMLDocument"><a href="#dom-domhtmlimplementation-createhtmldocument">createHTMLDocument()</a></code> APIs, <a href="#the-document-s-address">the document's address</a> is the same as <a href="#the-document-s-address">the document's address</a> of the <a href="browsers.html#active-document">active document</a> of the - <a href="#script-s-browsing-context">script's browsing context</a>.</p><p><code>Document</code> objects are assumed to be <dfn id="xml-documents">XML + <a href="#script-s-browsing-context">script's browsing context</a>.</p><p><code><a href="#document">Document</a></code> objects are assumed to be <dfn id="xml-documents">XML documents</dfn> unless they are flagged as being <dfn id="html-documents">HTML documents</dfn> when they are created. Whether a document is an <a href="#html-documents" title="HTML documents">HTML document</a> or an <a href="#xml-documents" title="XML documents">XML document</a> affects the behavior of - certain APIs and the case-sensitivity of some selectors.</p><h4 id="documents-in-the-dom"><span class="secno">3.1.1 </span>Documents in the DOM</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>All <code>Document</code> objects (in user agents implementing + certain APIs and the case-sensitivity of some selectors.</p><h4 id="documents-in-the-dom"><span class="secno">3.1.1 </span>Documents in the DOM</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>All <code><a href="#document">Document</a></code> objects (in user agents implementing this specification) also implement the <code><a href="#htmldocument">HTMLDocument</a></code> interface, available using binding-specific methods. (This is the case whether or not the document in question is an <a href="#html-documents" title="HTML documents">HTML document</a> or indeed whether it contains any <a href="infrastructure.html#html-elements">HTML - elements</a> at all.) <code>Document</code> objects also implement the document-level interface + elements</a> at all.) <code><a href="#document">Document</a></code> objects also implement the document-level interface of any other namespaces that the UA supports.</p><p class="example">For example, if an HTML implementation also - supports SVG, then the <code>Document</code> object implements both + supports SVG, then the <code><a href="#document">Document</a></code> object implements both <code><a href="#htmldocument">HTMLDocument</a></code> and <code>SVGDocument</code>.</p><p class="note">Because the <code><a href="#htmldocument">HTMLDocument</a></code> interface is now obtained using binding-specific casting methods instead of simply being the primary interface of the document object, it is no - longer defined as inheriting from <code>Document</code>.</p><pre class="idl">[OverrideBuiltins] + longer defined as inheriting from <code><a href="#document">Document</a></code>.</p><pre class="idl">[OverrideBuiltins] interface <dfn id="htmldocument">HTMLDocument</dfn> { // <a href="#resource-metadata-management">resource metadata management</a> [PutForwards=href] readonly attribute <a href="history.html#location">Location</a> <a href="#dom-document-location" title="dom-document-location">location</a>; @@ -361,7 +361,7 @@ // <a href="editing.html#editing">user interaction</a> <a href="editing.html#selection-0">Selection</a> <a href="#dom-document-getselection" title="dom-document-getSelection">getSelection</a>(); - readonly attribute <span>Element</span> <a href="#dom-document-activeelement" title="dom-document-activeElement">activeElement</a>; + readonly attribute <a href="#element">Element</a> <a href="#dom-document-activeelement" title="dom-document-activeElement">activeElement</a>; boolean <a href="#dom-document-hasfocus" title="dom-document-hasFocus">hasFocus</a>(); attribute DOMString <a href="#designMode" title="dom-document-designMode">designMode</a>; boolean <a href="#execCommand" title="dom-document-execCommand">execCommand</a>(in DOMString commandId); @@ -430,13 +430,13 @@ attribute <a href="webappapis.html#function">Function</a> <a href="#handler-onvolumechange" title="handler-onvolumechange">onvolumechange</a>; attribute <a href="webappapis.html#function">Function</a> <a href="#handler-onwaiting" title="handler-onwaiting">onwaiting</a>; }; -<span>Document</span> implements <a href="#htmldocument">HTMLDocument</a>;</pre><p>Since the <code><a href="#htmldocument">HTMLDocument</a></code> interface holds methods and +<a href="#document">Document</a> implements <a href="#htmldocument">HTMLDocument</a>;</pre><p>Since the <code><a href="#htmldocument">HTMLDocument</a></code> interface holds methods and attributes related to a number of disparate features, the members of this interface are described in various different sections.</p><h4 id="security"><span class="secno">3.1.2 </span>Security</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>User agents raise a <code><a href="urls.html#security_err">SECURITY_ERR</a></code> exception whenever any of the members of an <code><a href="#htmldocument">HTMLDocument</a></code> object are accessed by scripts whose <a href="origin-0.html#effective-script-origin">effective script origin</a> is not the <a href="#same-origin" title="same - origin">same</a> as the <code>Document</code>'s <a href="origin-0.html#effective-script-origin">effective + origin">same</a> as the <code><a href="#document">Document</a></code>'s <a href="origin-0.html#effective-script-origin">effective script origin</a>.</p><h4 id="resource-metadata-management"><span class="secno">3.1.3 </span><dfn>Resource metadata management</dfn></h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><dl class="domintro"><dt><var title="">document</var> . <code title="dom-document-URL"><a href="#dom-document-url">URL</a></code></dt> <dd> <p>Returns <a href="#the-document-s-address">the document's address</a>.</p> @@ -445,7 +445,7 @@ <dt><var title="">document</var> . <code title="dom-document-referrer"><a href="#dom-document-referrer">referrer</a></code></dt> <dd> <p>Returns <a href="#the-document-s-current-address" title="the document's current address">the - address</a> of the <code>Document</code> from which the user + address</a> of the <code><a href="#document">Document</a></code> from which the user navigated to this one, unless it was blocked or there was no such document, in which case it returns the empty string.</p> <p>The <code title="rel-noreferrer"><a href="links.html#link-type-noreferrer">noreferrer</a></code> link @@ -461,11 +461,11 @@ page).</p><hr><dl class="domintro"><dt><var title="">document</var> . <code title="dom-document-cookie"><a href="#dom-document-cookie">cookie</a></code> [ = <var title="">value</var> ]</dt> <dd> <p>Returns the HTTP cookies that apply to the - <code>Document</code>. If there are no cookies or cookies can't be + <code><a href="#document">Document</a></code>. If there are no cookies or cookies can't be applied to this resource, the empty string will be returned.</p> <p>Can be set, to add a new cookie to the element's set of HTTP cookies.</p> - <p>If the <code>Document</code> has no <a href="browsers.html#browsing-context">browsing + <p>If the <code><a href="#document">Document</a></code> has no <a href="browsers.html#browsing-context">browsing context</a> an <code><a href="urls.html#invalid_state_err">INVALID_STATE_ERR</a></code> exception will be thrown. If the contents are <a href="#sandboxed-origin-browsing-context-flag" title="sandboxed origin browsing context flag">sandboxed into a unique origin</a>, a @@ -512,8 +512,8 @@ </dl><dl class="domintro"><dt><var title="">document</var> . <code title="dom-document-readyState"><a href="#dom-document-readystate">readyState</a></code></dt> <dd> - <p>Returns "loading" while the <code>Document</code> is loading, and "complete" once it has loaded.</p> - <p>The <code title="event-readystatechange">readystatechange</code> event fires on the <code>Document</code> object when this value changes.</p> + <p>Returns "loading" while the <code><a href="#document">Document</a></code> is loading, and "complete" once it has loaded.</p> + <p>The <code title="event-readystatechange">readystatechange</code> event fires on the <code><a href="#document">Document</a></code> object when this value changes.</p> </dd> </dl><h4 id="dom-tree-accessors"><span class="secno">3.1.4 </span><dfn>DOM tree accessors</dfn></h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p><dfn id="the-html-element">The <code>html</code> element</dfn> of a document is the @@ -552,43 +552,43 @@ <code><a href="sections.html#the-body-element-0">body</a></code> element or a <code><a href="#frameset">frameset</a></code> element. If there is no such element, it is null. </p><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="urls.html#htmlcollection">HTMLCollection</a></code> of the <code><a href="embedded-content-1.html#the-img-element">img</a></code> elements in the <code>Document</code>.</p> + <p>Returns an <code><a href="urls.html#htmlcollection">HTMLCollection</a></code> of the <code><a href="embedded-content-1.html#the-img-element">img</a></code> elements in the <code><a href="#document">Document</a></code>.</p> </dd> <dt><var title="">document</var> . <code title="dom-document-embeds"><a href="#dom-document-embeds">embeds</a></code></dt> <dt><var title="">document</var> . <code title="dom-document-plugins"><a href="#dom-document-plugins">plugins</a></code></dt> <dd> - <p>Return an <code><a href="urls.html#htmlcollection">HTMLCollection</a></code> of the <code><a href="the-iframe-element.html#the-embed-element">embed</a></code> elements in the <code>Document</code>.</p> + <p>Return an <code><a href="urls.html#htmlcollection">HTMLCollection</a></code> of the <code><a href="the-iframe-element.html#the-embed-element">embed</a></code> elements in the <code><a href="#document">Document</a></code>.</p> </dd> <dt><var title="">document</var> . <code title="dom-document-links"><a href="#dom-document-links">links</a></code></dt> <dd> - <p>Returns an <code><a href="urls.html#htmlcollection">HTMLCollection</a></code> of the <code><a href="text-level-semantics.html#the-a-element">a</a></code> and <code><a href="the-map-element.html#the-area-element">area</a></code> elements in the <code>Document</code> that have <code title="attr-hyperlink-href"><a href="links.html#attr-hyperlink-href">href</a></code> attributes.</p> + <p>Returns an <code><a href="urls.html#htmlcollection">HTMLCollection</a></code> of the <code><a href="text-level-semantics.html#the-a-element">a</a></code> and <code><a href="the-map-element.html#the-area-element">area</a></code> elements in the <code><a href="#document">Document</a></code> that have <code title="attr-hyperlink-href"><a href="links.html#attr-hyperlink-href">href</a></code> attributes.</p> </dd> <dt><var title="">document</var> . <code title="dom-document-forms"><a href="#dom-document-forms">forms</a></code></dt> <dd> - <p>Return an <code><a href="urls.html#htmlcollection">HTMLCollection</a></code> of the <code><a href="forms.html#the-form-element">form</a></code> elements in the <code>Document</code>.</p> + <p>Return an <code><a href="urls.html#htmlcollection">HTMLCollection</a></code> of the <code><a href="forms.html#the-form-element">form</a></code> elements in the <code><a href="#document">Document</a></code>.</p> </dd> <dt><var title="">document</var> . <code title="dom-document-scripts"><a href="#dom-document-scripts">scripts</a></code></dt> <dd> - <p>Return an <code><a href="urls.html#htmlcollection">HTMLCollection</a></code> of the <code><a href="scripting-1.html#script">script</a></code> elements in the <code>Document</code>.</p> + <p>Return an <code><a href="urls.html#htmlcollection">HTMLCollection</a></code> of the <code><a href="scripting-1.html#script">script</a></code> elements in the <code><a href="#document">Document</a></code>.</p> </dd> </dl><dl class="domintro"><dt><var title="">collection</var> = <var title="">document</var> . <code title="dom-document-getElementsByName"><a href="#dom-document-getelementsbyname">getElementsByName</a></code>(<var title="">name</var>)</dt> <dd> - <p>Returns a <code>NodeList</code> of elements in the - <code>Document</code> that have a <code title="">name</code> + <p>Returns a <code><a href="#nodelist">NodeList</a></code> of elements in the + <code><a href="#document">Document</a></code> that have a <code title="">name</code> attribute with the value <var title="">name</var>.</p> </dd> <dt><var title="">collection</var> = <var title="">document</var> . <code title="dom-document-getElementsByClassName"><a href="#dom-document-getelementsbyclassname">getElementsByClassName(<var title="">classes</var>)</a></code></dt> <dt><var title="">collection</var> = <var title="">element</var> . <code title="dom-getElementsByClassName"><a href="#dom-getelementsbyclassname">getElementsByClassName(<var title="">classes</var>)</a></code></dt> <dd> - <p>Returns a <code>NodeList</code> of the elements in the object - on which the method was invoked (a <code>Document</code> or an - <code>Element</code>) that have all the classes given by <var title="">classes</var>.</p> + <p>Returns a <code><a href="#nodelist">NodeList</a></code> of the elements in the object + on which the method was invoked (a <code><a href="#document">Document</a></code> or an + <code><a href="#element">Element</a></code>) that have all the classes given by <var title="">classes</var>.</p> <p>The <var title="">classes</var> argument is interpreted as a space-separated list of classes.</p> </dd> @@ -609,7 +609,7 @@ <p>A call to <code>document.getElementById('example').getElementsByClassName('aaa')</code> - would return a <code>NodeList</code> with the two paragraphs + would return a <code><a href="#nodelist">NodeList</a></code> with the two paragraphs <code>p1</code> and <code>p2</code> in it.</p> <p>A call to <code>getElementsByClassName('ccc bbb')</code> @@ -634,11 +634,11 @@ method on the <code>DOMImplementation</code> interface.</p><p><a href="#html-documents">HTML documents</a> can be created using the <code title="dom-DOMHTMLImplementation-createHTMLDocument"><a href="#dom-domhtmlimplementation-createhtmldocument">createHTMLDocument()</a></code> method:</p><pre class="idl">[Supplemental, NoInterfaceObject] interface <dfn id="domhtmlimplementation">DOMHTMLImplementation</dfn> { - <span>Document</span> <a href="#dom-domhtmlimplementation-createhtmldocument" title="dom-DOMHTMLImplementation-createHTMLDocument">createHTMLDocument</a>(in DOMString title); + <a href="#document">Document</a> <a href="#dom-domhtmlimplementation-createhtmldocument" title="dom-DOMHTMLImplementation-createHTMLDocument">createHTMLDocument</a>(in DOMString title); }; <span>DOMImplementation</span> implements <a href="#domhtmlimplementation">DOMHTMLImplementation</a>;</pre><p>The <dfn id="dom-domhtmlimplementation-createhtmldocument" title="dom-DOMHTMLImplementation-createHTMLDocument"><code>createHTMLDocument(<var title="">title</var>)</code></dfn> method, when invoked, must run the following steps:</p><ol><li><p>Let <var title="">doc</var> be a newly created - <code>Document</code> object.</p></li> + <code><a href="#document">Document</a></code> object.</p></li> <li><p>Mark <var title="">doc</var> as being an <a href="#html-documents" title="HTML documents">HTML document</a>.</p></li> Index: the-input-element.html =================================================================== RCS file: /sources/public/html5/spec-author-view/the-input-element.html,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- the-input-element.html 15 Feb 2010 19:17:04 -0000 1.14 +++ the-input-element.html 16 Feb 2010 08:36:54 -0000 1.15 @@ -379,7 +379,7 @@ boolean <a href="#dom-cva-checkvalidatity" title="dom-cva-checkValidatity">checkValidity</a>(); void <a href="#dom-cva-setcustomvalidity" title="dom-cva-setCustomValidity">setCustomValidity</a>(in DOMString error); - readonly attribute <span>NodeList</span> <a href="#dom-lfe-labels" title="dom-lfe-labels">labels</a>; + readonly attribute <a href="#nodelist">NodeList</a> <a href="#dom-lfe-labels" title="dom-lfe-labels">labels</a>; void <a href="#dom-textarea-input-select" title="dom-textarea/input-select">select</a>(); attribute unsigned long <a href="#dom-textarea-input-selectionstart" title="dom-textarea/input-selectionStart">selectionStart</a>; Index: elements.html =================================================================== RCS file: /sources/public/html5/spec-author-view/elements.html,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- elements.html 15 Feb 2010 19:17:01 -0000 1.27 +++ elements.html 16 Feb 2010 08:36:53 -0000 1.28 @@ -389,7 +389,7 @@ things; that is, they have intrinsic <em>meaning</em>, also known as semantics.</p><p class="example">For example, an <code><a href="grouping-content.html#the-ol-element">ol</a></code> element represents an ordered list.</p><p>The basic interface, from which all the <a href="infrastructure.html#html-elements">HTML - elements</a>' interfaces inherit, is the <code><a href="#htmlelement">HTMLElement</a></code> interface.</p><pre class="idl">interface <dfn id="htmlelement">HTMLElement</dfn> : <span>Element</span> { + elements</a>' interfaces inherit, is the <code><a href="#htmlelement">HTMLElement</a></code> interface.</p><pre class="idl">interface <dfn id="htmlelement">HTMLElement</dfn> : <a href="#element">Element</a> { // <a href="dom.html#dom-tree-accessors">DOM tree accessors</a> NodeList <a href="#dom-getelementsbyclassname" title="dom-getElementsByClassName">getElementsByClassName</a>(in DOMString classNames); Index: urls.html =================================================================== RCS file: /sources/public/html5/spec-author-view/urls.html,v retrieving revision 1.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- urls.html 15 Feb 2010 19:17:04 -0000 1.20 +++ urls.html 16 Feb 2010 08:36:55 -0000 1.21 @@ -475,7 +475,7 @@ caller getter object <a href="#dom-htmlformcontrolscollection-nameditem" title="dom-HTMLFormControlsCollection-namedItem">namedItem</a>(in DOMString name); // overrides inherited namedItem() }; -interface <dfn id="radionodelist">RadioNodeList</dfn> : <span>NodeList</span> { +interface <dfn id="radionodelist">RadioNodeList</dfn> : <a href="#nodelist">NodeList</a> { attribute DOMString <a href="#dom-radionodelist-value" title="dom-RadioNodeList-value">value</a>; };</pre><dl class="domintro"><dt><var title="">collection</var> . <code title="dom-HTMLCollection-length"><a href="#dom-htmlcollection-length">length</a></code></dt> <dd> @@ -537,7 +537,7 @@ <dt><var title="">collection</var>(<var title="">name</var>)</dt> <dd> <p>Returns the item with <a href="elements.html#concept-id" title="concept-id">ID</a> or <code title="attr-option-name">name</code> <var title="">name</var> from the collection.</p> - <p>If there are multiple matching items, then a <code>NodeList</code> object containing all those elements is returned.</p> + <p>If there are multiple matching items, then a <code><a href="#nodelist">NodeList</a></code> object containing all those elements is returned.</p> <p>Returns null if no element with that <a href="elements.html#concept-id" title="concept-id">ID</a> could be found.</p> </dd> Index: iana.html =================================================================== RCS file: /sources/public/html5/spec-author-view/iana.html,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- iana.html 15 Feb 2010 19:17:02 -0000 1.24 +++ iana.html 16 Feb 2010 08:36:53 -0000 1.25 @@ -427,7 +427,7 @@ is to provide a way for content providers to indicate that they want the file to be interpreted in a manner that does not give the file's contents access to the rest of the site. This is achieved - by assigning the <code>Document</code> objects generated from + by assigning the <code><a href="#document">Document</a></code> objects generated from resources labeled as <code><a href="#text-html-sandboxed">text/html-sandboxed</a></code> unique origins.</p> <p>To avoid having legacy user agents treating resources labeled Index: association-of-controls-and-forms.html =================================================================== RCS file: /sources/public/html5/spec-author-view/association-of-controls-and-forms.html,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- association-of-controls-and-forms.html 15 Feb 2010 19:17:00 -0000 1.17 +++ association-of-controls-and-forms.html 16 Feb 2010 08:36:52 -0000 1.18 @@ -300,7 +300,7 @@ with its nearest ancestor <code><a href="forms.html#the-form-element">form</a></code> element, but may have a <dfn id="attr-fae-form" title="attr-fae-form"><code>form</code></dfn> attribute specified to override this.</p><p>If a <a href="forms.html#form-associated-element">form-associated element</a> has a <code title="attr-fae-form"><a href="#attr-fae-form">form</a></code> attribute specified, then its value must be the ID of a <code><a href="forms.html#the-form-element">form</a></code> element in the element's - owner <code>Document</code>.</p><dl class="domintro"><dt><var title="">element</var> . <code title="dom-fae-form"><a href="#dom-fae-form">form</a></code></dt> + owner <code><a href="#document">Document</a></code>.</p><dl class="domintro"><dt><var title="">element</var> . <code title="dom-fae-form"><a href="#dom-fae-form">form</a></code></dt> <dd> Index: forms.html =================================================================== RCS file: /sources/public/html5/spec-author-view/forms.html,v retrieving revision 1.563 retrieving revision 1.564 diff -u -d -r1.563 -r1.564 --- forms.html 15 Feb 2010 19:17:01 -0000 1.563 +++ forms.html 16 Feb 2010 08:36:53 -0000 1.564 @@ -490,10 +490,10 @@ <p>Once an element has been referenced using a particular name, that name will continue being available as a way to reference that element in this method, even if the element's actual ID or <code title="attr-fe-name"><a href="association-of-controls-and-forms.html#attr-fe-name">name</a></code> changes, for as long as the - element remains in the <code>Document</code>.</p> + element remains in the <code><a href="#document">Document</a></code>.</p> <p>If there are multiple matching items, then a - <code>NodeList</code> object containing all those elements is + <code><a href="#nodelist">NodeList</a></code> object containing all those elements is returned.</p> <p>Returns null if no element with that <a href="elements.html#concept-id" title="concept-id">ID</a> or <code title="attr-fe-name"><a href="association-of-controls-and-forms.html#attr-fe-name">name</a></code> could be found.</p> @@ -680,7 +680,7 @@ may be specified to indicate a form control with which the caption is to be associated. If the attribute is specified, the attribute's value must be the ID of a <a href="#category-label" title="category-label">labelable - form-associated element</a> in the same <code>Document</code> as + form-associated element</a> in the same <code><a href="#document">Document</a></code> as the <code><a href="#the-label-element">label</a></code> element. </p><dl class="domintro"><dt><var title="">label</var> . <code title="dom-label-control"><a href="#dom-label-control">control</a></code></dt> <dd> @@ -695,7 +695,7 @@ <dd> - <p>Returns a <code>NodeList</code> of all the <code><a href="#the-label-element">label</a></code> + <p>Returns a <code><a href="#nodelist">NodeList</a></code> of all the <code><a href="#the-label-element">label</a></code> elements that the form control is associated with.</p> </dd> Index: video.html =================================================================== RCS file: /sources/public/html5/spec-author-view/video.html,v retrieving revision 1.571 retrieving revision 1.572 diff -u -d -r1.571 -r1.572 --- video.html 15 Feb 2010 19:17:05 -0000 1.571 +++ video.html 16 Feb 2010 08:36:55 -0000 1.572 @@ -1309,97 +1309,97 @@ </th><th>Preconditions </th></tr></thead><tbody><tr><td><dfn id="event-media-loadstart" title="event-media-loadstart"><code>loadstart</code></dfn> - </td><td><code>Event</code> + </td><td><code><a href="#event">Event</a></code> </td><td>The user agent begins looking for <a href="#media-data">media data</a>, as part of the <a href="#concept-media-load-algorithm" title="concept-media-load-algorithm">resource selection algorithm</a>. </td><td><code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> equals <code title="dom-media-NETWORK_LOADING"><a href="#dom-media-network_loading">NETWORK_LOADING</a></code> </td></tr><tr><td><dfn id="event-media-progress" title="event-media-progress"><code>progress</code></dfn> - </td><td><code>Event</code> + </td><td><code><a href="#event">Event</a></code> </td><td>The user agent is fetching <a href="#media-data">media data</a>. </td><td><code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> equals <code title="dom-media-NETWORK_LOADING"><a href="#dom-media-network_loading">NETWORK_LOADING</a></code> </td></tr><tr><td><dfn id="event-media-suspend" title="event-media-suspend"><code>suspend</code></dfn> - </td><td><code>Event</code> + </td><td><code><a href="#event">Event</a></code> </td><td>The user agent is intentionally not currently fetching <a href="#media-data">media data</a>, but does not have the entire <a href="#media-resource">media resource</a> downloaded. </td><td><code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> equals <code title="dom-media-NETWORK_IDLE"><a href="#dom-media-network_idle">NETWORK_IDLE</a></code> </td></tr><tr><td><dfn id="event-media-abort" title="event-media-abort"><code>abort</code></dfn> - </td><td><code>Event</code> + </td><td><code><a href="#event">Event</a></code> </td><td>The user agent stops fetching the <a href="#media-data">media data</a> before it is completely downloaded, but not due to an error. </td><td><code title="dom-media-error"><a href="#dom-media-error">error</a></code> is an object with the code <code title="dom-MediaError-MEDIA_ERR_ABORTED"><a href="#dom-mediaerror-media_err_aborted">MEDIA_ERR_ABORTED</a></code>. <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> equals either <code title="dom-media-NETWORK_EMPTY"><a href="#dom-media-network_empty">NETWORK_EMPTY</a></code> or <code title="dom-media-NETWORK_IDLE"><a href="#dom-media-network_idle">NETWORK_IDLE</a></code>, depending on when the download was aborted. </td></tr><tr><td><dfn id="event-media-error" title="event-media-error"><code>error</code></dfn> - </td><td><code>Event</code> + </td><td><code><a href="#event">Event</a></code> </td><td>An error occurs while fetching the <a href="#media-data">media data</a>. </td><td><code title="dom-media-error"><a href="#dom-media-error">error</a></code> is an object with the code <code title="dom-MediaError-MEDIA_ERR_NETWORK"><a href="#dom-mediaerror-media_err_network">MEDIA_ERR_NETWORK</a></code> or higher. <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> equals either <code title="dom-media-NETWORK_EMPTY"><a href="#dom-media-network_empty">NETWORK_EMPTY</a></code> or <code title="dom-media-NETWORK_IDLE"><a href="#dom-media-network_idle">NETWORK_IDLE</a></code>, depending on when the download was aborted. </td></tr><tr><td><dfn id="event-media-emptied" title="event-media-emptied"><code>emptied</code></dfn> - </td><td><code>Event</code> + </td><td><code><a href="#event">Event</a></code> </td><td>A <a href="#media-element">media element</a> whose <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> was previously not in the <code title="dom-media-NETWORK_EMPTY"><a href="#dom-media-network_empty">NETWORK_EMPTY</a></code> state has just switched to that state (either because of a fatal error during load that's about to be reported, or because the <code title="dom-media-load"><a href="#dom-media-load">load()</a></code> method was invoked while the <a href="#concept-media-load-algorithm" title="concept-media-load-algorithm">resource selection algorithm</a> was already running, in which case it is fired synchronously during the <code title="dom-media-load"><a href="#dom-media-load">load()</a></code> method call). </td><td><code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> is <code title="dom-media-NETWORK_EMPTY"><a href="#dom-media-network_empty">NETWORK_EMPTY</a></code>; all the IDL attributes are in their initial states. </td></tr><tr><td><dfn id="event-media-stalled" title="event-media-stalled"><code>stalled</code></dfn> - </td><td><code>Event</code> + </td><td><code><a href="#event">Event</a></code> </td><td>The user agent is trying to fetch <a href="#media-data">media data</a>, but data is unexpectedly not forthcoming. </td><td><code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> is <code title="dom-media-NETWORK_LOADING"><a href="#dom-media-network_loading">NETWORK_LOADING</a></code>. </td></tr></tbody><tbody><tr><td><dfn id="event-media-play" title="event-media-play"><code>play</code></dfn> - </td><td><code>Event</code> + </td><td><code><a href="#event">Event</a></code> </td><td>Playback has begun. Fired after the <code title="dom-media-play"><a href="#dom-media-play">play()</a></code> method has returned. </td><td><code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code> is newly false. </td></tr><tr><td><dfn id="event-media-pause" title="event-media-pause"><code>pause</code></dfn> - </td><td><code>Event</code> + </td><td><code><a href="#event">Event</a></code> </td><td>Playback has been paused. Fired after the <code title="dom-media-pause"><a href="#dom-media-pause">pause</a></code> method has returned. </td><td><code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code> is newly true. </td></tr></tbody><tbody><tr><td><dfn id="event-media-loadedmetadata" title="event-media-loadedmetadata"><code>loadedmetadata</code></dfn> - </td><td><code>Event</code> + </td><td><code><a href="#event">Event</a></code> </td><td>The user agent has just determined the duration and dimensions of the <a href="#media-resource">media resource</a>. </td><td><code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code> is newly equal to <code title="dom-media-HAVE_METADATA"><a href="#dom-media-have_metadata">HAVE_METADATA</a></code> or greater for the first time. </td></tr><tr><td><dfn id="event-media-loadeddata" title="event-media-loadeddata"><code>loadeddata</code></dfn> - </td><td><code>Event</code> + </td><td><code><a href="#event">Event</a></code> </td><td>The user agent can render the <a href="#media-data">media data</a> at the <a href="#current-playback-position">current playback position</a> for the first time. </td><td><code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code> newly increased to <code title="dom-media-HAVE_CURRENT_DATA"><a href="#dom-media-have_current_data">HAVE_CURRENT_DATA</a></code> or greater for the first time. </td></tr><tr><td><dfn id="event-media-waiting" title="event-media-waiting"><code>waiting</code></dfn> - </td><td><code>Event</code> + </td><td><code><a href="#event">Event</a></code> </td><td>Playback has stopped because the next frame is not available, but the user agent expects that frame to become available in due course. </td><td><code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code> is newly equal to or less than <code title="dom-media-HAVE_CURRENT_DATA"><a href="#dom-media-have_current_data">HAVE_CURRENT_DATA</a></code>, and <code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code> is false. Either <code title="dom-media-seeking"><a href="#dom-media-seeking">seeking</a></code> is true, or the <a href="#current-playback-position">current playback position</a> is not contained in any of the ranges in <code title="dom-media-buffered"><a href="#dom-media-buffered">buffered</a></code>. It is possible for playback to stop for two other reasons without <code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code> being false, but those two reasons do not fire this event: maybe <a href="#ended-playback" title="ended playback">playback ended</a>, or playback <a href="#stopped-due-to-errors">stopped due to errors</a>. </td></tr><tr><td><dfn id="event-media-playing" title="event-media-playing"><code>playing</code></dfn> - </td><td><code>Event</code> + </td><td><code><a href="#event">Event</a></code> </td><td>Playback has started. </td><td><code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code> is newly equal to or greater than <code title="dom-media-HAVE_FUTURE_DATA"><a href="#dom-media-have_future_data">HAVE_FUTURE_DATA</a></code>, <code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code> is false, <code title="dom-media-seeking"><a href="#dom-media-seeking">seeking</a></code> is false, or the <a href="#current-playback-position">current playback position</a> is contained in one of the ranges in <code title="dom-media-buffered"><a href="#dom-media-buffered">buffered</a></code>. </td></tr><tr><td><dfn id="event-media-canplay" title="event-media-canplay"><code>canplay</code></dfn> - </td><td><code>Event</code> + </td><td><code><a href="#event">Event</a></code> </td><td>The user agent can resume playback of the <a href="#media-data">media data</a>, but estimates that if playback were to be started now, the <a href="#media-resource">media resource</a> could not be rendered at the current playback rate up to its end without having to stop for further buffering of content. </td><td><code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code> newly increased to <code title="dom-media-HAVE_FUTURE_DATA"><a href="#dom-media-have_future_data">HAVE_FUTURE_DATA</a></code> or greater. </td></tr><tr><td><dfn id="event-media-canplaythrough" title="event-media-canplaythrough"><code>canplaythrough</code></dfn> - </td><td><code>Event</code> + </td><td><code><a href="#event">Event</a></code> </td><td>The user agent estimates that if playback were to be started now, the <a href="#media-resource">media resource</a> could be rendered at the current playback rate all the way to its end without having to stop for further buffering. </td><td><code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code> is newly equal to <code title="dom-media-HAVE_ENOUGH_DATA"><a href="#dom-media-have_enough_data">HAVE_ENOUGH_DATA</a></code>. </td></tr></tbody><tbody><tr><td><dfn id="event-media-seeking" title="event-media-seeking"><code>seeking</code></dfn> - </td><td><code>Event</code> + </td><td><code><a href="#event">Event</a></code> </td><td>The <code title="dom-media-seeking"><a href="#dom-media-seeking">seeking</a></code> IDL attribute changed to true and the seek operation is taking long enough that the user agent has time to fire the event. </td><td> </td></tr><tr><td><dfn id="event-media-seeked" title="event-media-seeked"><code>seeked</code></dfn> - </td><td><code>Event</code> + </td><td><code><a href="#event">Event</a></code> </td><td>The <code title="dom-media-seeking"><a href="#dom-media-seeking">seeking</a></code> IDL attribute changed to false. </td><td> </td></tr><tr><td><dfn id="event-media-timeupdate" title="event-media-timeupdate"><code>timeupdate</code></dfn> - </td><td><code>Event</code> + </td><td><code><a href="#event">Event</a></code> </td><td>The <a href="#current-playback-position">current playback position</a> changed as part of normal playback or in an especially interesting way, for example discontinuously. </td><td> </td></tr><tr><td><dfn id="event-media-ended" title="event-media-ended"><code>ended</code></dfn> - </td><td><code>Event</code> + </td><td><code><a href="#event">Event</a></code> </td><td>Playback has stopped because the end of the <a href="#media-resource">media resource</a> was reached. </td><td><code title="dom-media-currentTime"><a href="#dom-media-currenttime">currentTime</a></code> equals the end of the <a href="#media-resource">media resource</a>; <code title="dom-media-ended"><a href="#dom-media-ended">ended</a></code> is true. </td></tr></tbody><tbody><tr><td><dfn id="event-media-ratechange" title="event-media-ratechange"><code>ratechange</code></dfn> - </td><td><code>Event</code> + </td><td><code><a href="#event">Event</a></code> </td><td>Either the <code title="dom-media-defaultPlaybackRate"><a href="#dom-media-defaultplaybackrate">defaultPlaybackRate</a></code> or the <code title="dom-media-playbackRate"><a href="#dom-media-playbackrate">playbackRate</a></code> attribute has just been updated. </td><td> </td></tr><tr><td><dfn id="event-media-durationchange" title="event-media-durationchange"><code>durationchange</code></dfn> - </td><td><code>Event</code> + </td><td><code><a href="#event">Event</a></code> </td><td>The <code title="dom-media-duration"><a href="#dom-media-duration">duration</a></code> attribute has just been updated. </td><td> </td></tr><tr><td><dfn id="event-media-volumechange" title="event-media-volumechange"><code>volumechange</code></dfn> - </td><td><code>Event</code> + </td><td><code><a href="#event">Event</a></code> </td><td>Either the <code title="dom-media-volume"><a href="#dom-media-volume">volume</a></code> attribute or the <code title="dom-media-muted"><a href="#dom-media-muted">muted</a></code> attribute has changed. Fired after the relevant attribute's setter has returned. </td><td> </td></tr></tbody></table></body></html> \ No newline at end of file Index: browsers.html =================================================================== RCS file: /sources/public/html5/spec-author-view/browsers.html,v retrieving revision 1.578 retrieving revision 1.579 diff -u -d -r1.578 -r1.579 --- browsers.html 15 Feb 2010 19:17:00 -0000 1.578 +++ browsers.html 16 Feb 2010 08:36:52 -0000 1.579 @@ -296,40 +296,40 @@ <ol><li><a href="browsers.html#apis-for-creating-and-navigating-browsing-contexts-by-name"><span class="secno">5.2.1 </span>APIs for creating and navigating browsing contexts by name</a></li><li><a href="browsers.html#accessing-other-browsing-contexts"><span class="secno">5.2.2 </span>Accessing other browsing contexts</a></li><li><a href="browsers.html#named-access-on-the-window-object"><span class="secno">5.2.3 </span>Named access on the <code>Window</code> object</a></li><li><a href="browsers.html#browser-interface-elements"><span class="secno">5.2.4 </span>Browser interface elements</a></li></ol></li></ol></li></ol></div> <h2 id="browsers"><span class="secno">5 </span>Loading Web pages</h2><p class="XXX annotation"><b>Status: </b><i>Last call for comments. </i><span><a href="http://www.w3.org/html/wg/tracker/issues/94">ISSUE-94</a> (webcoresplit) blocks progress to Last Call</span></p><h3 id="windows"><span class="secno">5.1 </span>Browsing contexts</h3><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>A <dfn id="browsing-context">browsing context</dfn> is an environment in which - <code>Document</code> objects are presented to the user.</p><p class="note">A tab or window in a Web browser typically contains + <code><a href="#document">Document</a></code> objects are presented to the user.</p><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.html#the-iframe-element">iframe</a></code>.</p><p>Each <a href="#browsing-context">browsing context</a> has a corresponding <code><a href="#windowproxy">WindowProxy</a></code> object.</p><p>A <a href="#browsing-context">browsing context</a> has a <a href="history.html#session-history">session - history</a>, which lists the <code>Document</code> objects that + history</a>, which lists the <code><a href="#document">Document</a></code> objects that that <a href="#browsing-context">browsing context</a> has presented, is presenting, or - will present. At any time, one <code>Document</code> in each + will present. At any time, one <code><a href="#document">Document</a></code> in each <a href="#browsing-context">browsing context</a> is designated the <dfn id="active-document">active - document</dfn>.</p><p>Each <code>Document</code> has a collection of one or more <a href="#view" title="view">views</a>.</p><p>A <dfn id="view">view</dfn> is a user agent interface tied to a particular + document</dfn>.</p><p>Each <code><a href="#document">Document</a></code> has a collection of one or more <a href="#view" title="view">views</a>.</p><p>A <dfn id="view">view</dfn> is a user agent interface tied to a particular media used for the presentation of a particular - <code>Document</code> object in some media. A view may be + <code><a href="#document">Document</a></code> object in some media. A view may be interactive. Each view is represented by an <code>AbstractView</code> object. <a href="references.html#refsDOMVIEWS">[DOMVIEWS]</a></p><p>The main <a href="#view">view</a> through which a user primarily interacts with a user agent is the <dfn id="default-view">default view</dfn>. The - <code>AbstractView</code> object that represents this view is referred to as the <code>Document</code>'s + <code>AbstractView</code> object that represents this view is referred to as the <code><a href="#document">Document</a></code>'s <code><a href="#window">Window</a></code> object. <code><a href="#windowproxy">WindowProxy</a></code> objects forward everything to the <a href="#active-document">active document</a>'s <a href="#default-view">default view</a>'s <code><a href="#window">Window</a></code> object.</p><p class="note">The <code title="dom-document">document</code> attribute of an <code>AbstractView</code> object representing a <a href="#view">view</a> gives the view's corresponding - <code>Document</code> object. <a href="references.html#refsDOMVIEWS">[DOMVIEWS]</a></p><p class="note">In general, there is a 1-to-1 mapping from the - <code><a href="#window">Window</a></code> object to the <code>Document</code> object. In + <code><a href="#document">Document</a></code> object. <a href="references.html#refsDOMVIEWS">[DOMVIEWS]</a></p><p class="note">In general, there is a 1-to-1 mapping from the + <code><a href="#window">Window</a></code> object to the <code><a href="#document">Document</a></code> object. In one particular case, a set of <a href="#view" title="view">views</a> can be - reused for the presentation of a second <code>Document</code> in the + reused for the presentation of a second <code><a href="#document">Document</a></code> in the same <a href="#browsing-context">browsing context</a>, such that the mapping is then 2-to-1. This occurs when a <a href="#browsing-context">browsing context</a> is <a href="#navigate" title="navigate">navigated</a> from the initial - <code><a href="#about:blank">about:blank</a></code> <code>Document</code> to another, with + <code><a href="#about:blank">about:blank</a></code> <code><a href="#document">Document</a></code> to another, with <a href="#replacement-enabled">replacement enabled</a>.</p><p class="note">A typical Web browser has one obvious - <a href="#view">view</a> per <code>Document</code>: the browser's window + <a href="#view">view</a> per <code><a href="#document">Document</a></code>: the browser's window (screen media). This is typically the <a href="#default-view">default view</a>. If a page is printed, however, a second view becomes evident, that of the print media. The two views always share the same underlying - <code>Document</code> object, but they have a different presentation + <code><a href="#document">Document</a></code> object, but they have a different presentation of that object. A speech browser might have a different - <a href="#default-view">default view</a>, using the speech media.</p><p class="note">A <code>Document</code> does not necessarily have a + <a href="#default-view">default view</a>, using the speech media.</p><p class="note">A <code><a href="#document">Document</a></code> does not necessarily have a <a href="#browsing-context">browsing context</a> associated with it. In particular, data mining tools are likely to never instantiate browsing contexts.</p><hr><p>A <a href="#browsing-context">browsing context</a> can have a <dfn id="creator-browsing-context">creator browsing @@ -342,13 +342,13 @@ context</a>. Otherwise, the <a href="#browsing-context">browsing context</a> has no <a href="#creator-browsing-context">creator browsing context</a>.</p><p>If a <a href="#browsing-context">browsing context</a> <var title="">A</var> has a <a href="#creator-browsing-context">creator browsing context</a>, then the - <code>Document</code> that was the <a href="#active-document">active document</a> of + <code><a href="#document">Document</a></code> that was the <a href="#active-document">active document</a> of that <a href="#creator-browsing-context">creator browsing context</a> at the time <var title="">A</var> was created is the <dfn id="creator-document">creator <code>Document</code></dfn>.</p><h4 id="nested-browsing-contexts"><span class="secno">5.1.1 </span>Nested browsing contexts</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>Certain elements (for example, <code><a href="the-iframe-element.html#the-iframe-element">iframe</a></code> elements) can instantiate further <a href="#browsing-context" title="browsing context">browsing contexts</a>. These are called <dfn id="nested-browsing-context" title="nested browsing context">nested browsing contexts</dfn>. If a browsing context <var title="">P</var> has an element <var title="">E</var> in one of its - <code>Document</code>s <var title="">D</var> that nests another + <code><a href="#document">Document</a></code>s <var title="">D</var> that nests another browsing context <var title="">C</var> inside it, then <var title="">P</var> is said to be the <dfn id="parent-browsing-context">parent browsing context</dfn> of <var title="">C</var>, <var title="">C</var> is said to be a <dfn id="child-browsing-context">child browsing context</dfn> of <var title="">P</var>, <var title="">C</var> is said to be <dfn id="browsing-context-nested-through" title="browsing context nested through">nested through</dfn> <var title="">D</var>, and <var title="">E</var> is said to be the @@ -367,7 +367,7 @@ context">parent browsing contexts</a> for a <a href="#nested-browsing-context">nested browsing context</a> gives the list of <dfn id="ancestor-browsing-context" title="ancestor browsing context">ancestor browsing contexts</dfn>.</p><p>The <dfn id="list-of-the-descendant-browsing-contexts">list of the descendant browsing contexts</dfn> of a - <code>Document</code> <var title="">d</var> is the list returned by + <code><a href="#document">Document</a></code> <var title="">d</var> is the list returned by the following algorithm:</p><ol><li><p>Let <var title="">list</var> be an empty list.</p></li> <li><p>For each <a href="#child-browsing-context">child browsing context</a> of <var title="">d</var> that is <a href="#browsing-context-nested-through" title="browsing context nested @@ -381,17 +381,17 @@ <li><p>Return the constructed <var title="">list</var>.</p></li> - </ol><hr><p>A <code>Document</code> is said to be <dfn id="fully-active">fully active</dfn> + </ol><hr><p>A <code><a href="#document">Document</a></code> is said to be <dfn id="fully-active">fully active</dfn> when it is the <a href="#active-document">active document</a> of its <a href="#browsing-context">browsing context</a>, and either its browsing context is a <a href="#top-level-browsing-context">top-level - browsing context</a>, or the <code>Document</code> <a href="#browsing-context-nested-through" title="browsing context nested through">through which</a> that + browsing context</a>, or the <code><a href="#document">Document</a></code> <a href="#browsing-context-nested-through" title="browsing context nested through">through which</a> that browsing context is <a href="#nested-browsing-context" title="nested browsing context">nested</a> is itself <a href="#fully-active">fully active</a>.</p><p>Because they are nested through an element, <a href="#child-browsing-context" title="child browsing context">child browsing contexts</a> are always tied to - a specific <code>Document</code> in their <a href="#parent-browsing-context">parent browsing + a specific <code><a href="#document">Document</a></code> in their <a href="#parent-browsing-context">parent browsing context</a>. User agents must not allow the user to interact with <a href="#child-browsing-context" title="child browsing context">child browsing contexts</a> - of elements that are in <code>Document</code>s that are not + of elements that are in <code><a href="#document">Document</a></code>s that are not themselves <a href="#fully-active">fully active</a>.</p><p>A <a href="#nested-browsing-context">nested browsing context</a> can have a <a href="#seamless-browsing-context-flag">seamless browsing context flag</a> set, if it is embedded through an <code><a href="the-iframe-element.html#the-iframe-element">iframe</a></code> element with a <code title="attr-iframe-seamless"><a href="the-iframe-element.html#attr-iframe-seamless">seamless</a></code> attribute.</p><h5 id="navigating-nested-browsing-contexts-in-the-dom"><span class="secno">5.1.1.1 </span>Navigating nested browsing contexts in the DOM</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><dl class="domintro"><dt><var title="">window</var> . <code title="dom-top"><a href="#dom-top">top</a></code></dt> @@ -414,7 +414,7 @@ <dd> - <p>Returns the <code>Element</code> for the <a href="#browsing-context-container">browsing context container</a>.</p> + <p>Returns the <code><a href="#element">Element</a></code> for the <a href="#browsing-context-container">browsing context container</a>.</p> <p>Returns null if there isn't one.</p> @@ -472,7 +472,7 @@ readonly attribute <a href="#windowproxy">WindowProxy</a> <a href="#dom-top" title="dom-top">top</a>; [Replaceable] readonly attribute <a href="#windowproxy">WindowProxy</a> <a href="#dom-opener" title="dom-opener">opener</a>; readonly attribute <a href="#windowproxy">WindowProxy</a> <a href="#dom-parent" title="dom-parent">parent</a>; - readonly attribute <span>Element</span> <a href="#dom-frameelement" title="dom-frameElement">frameElement</a>; + readonly attribute <a href="#element">Element</a> <a href="#dom-frameelement" title="dom-frameElement">frameElement</a>; <a href="#windowproxy">WindowProxy</a> <a href="#dom-open" title="dom-open">open</a>(in optional DOMString url, in optional DOMString target, in optional DOMString features, in optional DOMString replace); <a href="#dom-window-item" title="dom-window-item">getter</a> <a href="#windowproxy">WindowProxy</a> (in unsigned long index); <a href="#dom-window-nameditem" title="dom-window-namedItem">getter</a> <a href="#windowproxy">WindowProxy</a> (in DOMString name); @@ -559,7 +559,7 @@ attribute <a href="webappapis.html#function">Function</a> <a href="#handler-onvolumechange" title="handler-onvolumechange">onvolumechange</a>; attribute <a href="webappapis.html#function">Function</a> <a href="#handler-onwaiting" title="handler-onwaiting">onwaiting</a>; }; -<a href="#window">Window</a> implements <span>EventTarget</span>;</pre><!-- for more features to add here, look here: +<a href="#window">Window</a> implements <a href="#eventtarget">EventTarget</a>;</pre><!-- for more features to add here, look here: http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_window.asp http://www.mozilla.org/docs/dom/domref/dom_window_ref.html http://lxr.mozilla.org/mozilla/source/dom/public/idl/base/nsIDOMWindow.idl - scrollBy, etc Index: offline.html =================================================================== RCS file: /sources/public/html5/spec-author-view/offline.html,v retrieving revision 1.567 retrieving revision 1.568 diff -u -d -r1.567 -r1.568 --- offline.html 15 Feb 2010 19:17:02 -0000 1.567 +++ offline.html 16 Feb 2010 08:36:53 -0000 1.568 @@ -394,15 +394,15 @@ </th><th> Dispatched when... </th><th> Next events </th></tr></thead><tbody><tr><td> <dfn id="event-appcache-checking" title="event-appcache-checking"><code>checking</code></dfn> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> The user agent is checking for an update, or attempting to download the manifest for the first time. <strong>This is always the first event in the sequence.</strong> </td><td> <code title="event-appcache-noupdate"><a href="#event-appcache-noupdate">noupdate</a></code>, <code title="event-appcache-downloading"><a href="#event-appcache-downloading">downloading</a></code>, <code title="event-appcache-obsolete"><a href="#event-appcache-obsolete">obsolete</a></code>, <code title="event-appcache-error"><a href="#event-appcache-error">error</a></code> </td></tr><tr><td> <dfn id="event-appcache-noupdate" title="event-appcache-noupdate"><code>noupdate</code></dfn> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> The manifest hadn't changed. </td><td> Last event in sequence. </td></tr><tr><td> <dfn id="event-appcache-downloading" title="event-appcache-downloading"><code>downloading</code></dfn> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> The user agent has found an update and is fetching it, or is downloading the resources listed by the manifest for the first time. </td><td> <code title="event-appcache-progress"><a href="#event-appcache-progress">progress</a></code>, <code title="event-appcache-error"><a href="#event-appcache-error">error</a></code>, <code title="event-appcache-cached"><a href="#event-appcache-cached">cached</a></code>, <code title="event-appcache-updateready"><a href="#event-appcache-updateready">updateready</a></code> </td></tr><tr><td> <dfn id="event-appcache-progress" title="event-appcache-progress"><code>progress</code></dfn> @@ -410,19 +410,19 @@ </td><td> The user agent is downloading resources listed by the manifest. </td><td> <code title="event-appcache-progress"><a href="#event-appcache-progress">progress</a></code>, <code title="event-appcache-error"><a href="#event-appcache-error">error</a></code>, <code title="event-appcache-cached"><a href="#event-appcache-cached">cached</a></code>, <code title="event-appcache-updateready"><a href="#event-appcache-updateready">updateready</a></code> </td></tr><tr><td> <dfn id="event-appcache-cached" title="event-appcache-cached"><code>cached</code></dfn> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> The resources listed in the manifest have been downloaded, and the application is now cached. </td><td> Last event in sequence. </td></tr><tr><td> <dfn id="event-appcache-updateready" title="event-appcache-updateready"><code>updateready</code></dfn> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> The resources listed in the manifest have been newly redownloaded, and the script can use <code title="dom-appcache-swapCache"><a href="#dom-appcache-swapcache">swapCache()</a></code> to switch to the new cache. </td><td> Last event in sequence. </td></tr><tr><td> <dfn id="event-appcache-obsolete" title="event-appcache-obsolete"><code>obsolete</code></dfn> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> The manifest was found to have become a 404 or 410 page, so the application cache is being deleted. </td><td> Last event in sequence. </td></tr><tr><td rowspan="4"> <dfn id="event-appcache-error" title="event-appcache-error"><code>error</code></dfn> - </td><td rowspan="4"> <code>Event</code> + </td><td rowspan="4"> <code><a href="#event">Event</a></code> </td><td> The manifest was a 404 or 410 page, so the attempt to cache the application has been aborted. </td><td rowspan="3"> Last event in sequence. </td></tr><tr><td> The manifest hadn't changed, but the page referencing the manifest failed to download properly. @@ -639,7 +639,7 @@ attribute <a href="webappapis.html#function">Function</a> <a href="#handler-appcache-oncached" title="handler-appcache-oncached">oncached</a>; attribute <a href="webappapis.html#function">Function</a> <a href="#handler-appcache-onobsolete" title="handler-appcache-onobsolete">onobsolete</a>; }; -<a href="#applicationcache">ApplicationCache</a> implements <span>EventTarget</span>;</pre><dl class="domintro"><dt><var title="">cache</var> = <var title="">window</var> . <code title="dom-applicationCache"><a href="#dom-applicationcache">applicationCache</a></code></dt> +<a href="#applicationcache">ApplicationCache</a> implements <a href="#eventtarget">EventTarget</a>;</pre><dl class="domintro"><dt><var title="">cache</var> = <var title="">window</var> . <code title="dom-applicationCache"><a href="#dom-applicationcache">applicationCache</a></code></dt> <dd> <p>(In a window.) Returns the <code><a href="#applicationcache">ApplicationCache</a></code> object that applies to the <a href="browsers.html#active-document">active document</a> of that <code><a href="browsers.html#window">Window</a></code>.</p> Index: apis-in-html-documents.html =================================================================== RCS file: /sources/public/html5/spec-author-view/apis-in-html-documents.html,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- apis-in-html-documents.html 15 Feb 2010 19:17:00 -0000 1.18 +++ apis-in-html-documents.html 16 Feb 2010 08:36:52 -0000 1.19 @@ -383,27 +383,27 @@ <dd> - <p>Causes the <code>Document</code> to be replaced in-place, as if - it was a new <code>Document</code> object, but reusing the + <p>Causes the <code><a href="#document">Document</a></code> to be replaced in-place, as if + it was a new <code><a href="#document">Document</a></code> object, but reusing the previous object, which is then returned.</p> <p>If the <var title="">type</var> argument is omitted or has the value "<code><a href="iana.html#text-html">text/html</a></code>", then the resulting - <code>Document</code> has an HTML parser associated with it, which + <code><a href="#document">Document</a></code> has an HTML parser associated with it, which can be given data to parse using <code title="dom-document-write"><a href="#dom-document-write">document.write()</a></code>. Otherwise, all content passed to <code title="dom-document-write"><a href="#dom-document-write">document.write()</a></code> will be parsed as plain text.</p> <p>If the <var title="">replace</var> argument is present and has the value "<code title="">replace</code>", the existing entries in - the session history for the <code>Document</code> object are + the session history for the <code><a href="#document">Document</a></code> object are removed.</p> - <p>The method has no effect if the <code>Document</code> is still + <p>The method has no effect if the <code><a href="#document">Document</a></code> is still being parsed.</p> <p>Throws an <code><a href="urls.html#invalid_state_err">INVALID_STATE_ERR</a></code> exception if the - <code>Document</code> is an <a href="dom.html#xml-documents" title="XML documents">XML + <code><a href="#document">Document</a></code> is an <a href="dom.html#xml-documents" title="XML documents">XML document</a>.</p> </dd> @@ -424,7 +424,7 @@ <p>Closes the input stream that was opened by the <code title="dom-document-open"><a href="#dom-document-open">document.open()</a></code> method.</p> <p>Throws an <code><a href="urls.html#invalid_state_err">INVALID_STATE_ERR</a></code> exception if the - <code>Document</code> is an <a href="dom.html#xml-documents" title="XML documents">XML + <code><a href="#document">Document</a></code> is an <a href="dom.html#xml-documents" title="XML documents">XML document</a>.</p> </dd> @@ -433,7 +433,7 @@ <dd> - <p>Adds the given string(s) to the <code>Document</code>'s input + <p>Adds the given string(s) to the <code><a href="#document">Document</a></code>'s input stream. If necessary, calls the <code title="dom-document-open"><a href="#dom-document-open">open()</a></code> method implicitly first.</p> @@ -446,7 +446,7 @@ <dd> - <p>Adds the given string(s) to the <code>Document</code>'s input + <p>Adds the given string(s) to the <code><a href="#document">Document</a></code>'s input stream, followed by a newline character. If necessary, calls the <code title="dom-document-open"><a href="#dom-document-open">open()</a></code> method implicitly first.</p> @@ -462,13 +462,13 @@ <dd> <p>Returns a fragment of HTML or XML that represents the - <code>Document</code>.</p> + <code><a href="#document">Document</a></code>.</p> - <p>Can be set, to replace the <code>Document</code>'s contents + <p>Can be set, to replace the <code><a href="#document">Document</a></code>'s contents with the result of parsing the given string.</p> <p>In the case of <a href="dom.html#xml-documents">XML documents</a>, will throw an - <code><a href="urls.html#invalid_state_err">INVALID_STATE_ERR</a></code> if the <code>Document</code> cannot + <code><a href="urls.html#invalid_state_err">INVALID_STATE_ERR</a></code> if the <code><a href="#document">Document</a></code> cannot be serialized to XML, and a <code><a href="urls.html#syntax_err">SYNTAX_ERR</a></code> if the given string is not well-formed.</p> @@ -508,7 +508,7 @@ well-formed.</p> <p>Throws a <code><a href="urls.html#no_modification_allowed_err">NO_MODIFICATION_ALLOWED_ERR</a></code> exception if - the parent of the element is the <code>Document</code> + the parent of the element is the <code><a href="#document">Document</a></code> node.</p> </dd> @@ -536,7 +536,7 @@ <p>Throws a <code><a href="urls.html#no_modification_allowed_err">NO_MODIFICATION_ALLOWED_ERR</a></code> exception if the given position isn't possible (e.g. inserting elements after - the root element of a <code>Document</code>).</p> + the root element of a <code><a href="#document">Document</a></code>).</p> </dd> Index: semantics.html =================================================================== RCS file: /sources/public/html5/spec-author-view/semantics.html,v retrieving revision 1.569 retrieving revision 1.570 diff -u -d -r1.569 -r1.570 --- semantics.html 15 Feb 2010 19:17:03 -0000 1.569 +++ semantics.html 16 Feb 2010 08:36:53 -0000 1.570 @@ -350,7 +350,7 @@ <pre class="idl">interface <dfn id="htmlheadelement">HTMLHeadElement</dfn> : <a href="elements.html#htmlelement">HTMLElement</a> {};</pre> </dd> </dl><p>The <code><a href="#the-head-element-0">head</a></code> element <a href="#represents">represents</a> a - collection of metadata for the <code>Document</code>.</p><div class="example"> + collection of metadata for the <code><a href="#document">Document</a></code>.</p><div class="example"> <p>The collection of metadata in a <code><a href="#the-head-element-0">head</a></code> element can be large or small. Here is an example of a very short one:</p> @@ -467,7 +467,7 @@ isn't affected by <code><a href="#the-base-element">base</a></code> elements).</p><p>The <dfn id="attr-base-target" title="attr-base-target"><code>target</code></dfn> attribute, if specified, must contain a <a href="browsers.html#valid-browsing-context-name-or-keyword">valid browsing context name or keyword</a>, which specifies which <a href="browsers.html#browsing-context">browsing - context</a> is to be used as the default when <a href="links.html#hyperlink" title="hyperlink">hyperlinks</a> and <a href="forms.html#the-form-element" title="form">forms</a> in the <code>Document</code> cause <a href="#navigate" title="navigate">navigation</a>.</p><p>A <code><a href="#the-base-element">base</a></code> element, if it has a <code title="attr-base-target"><a href="#attr-base-target">target</a></code> attribute, must come before + context</a> is to be used as the default when <a href="links.html#hyperlink" title="hyperlink">hyperlinks</a> and <a href="forms.html#the-form-element" title="form">forms</a> in the <code><a href="#document">Document</a></code> cause <a href="#navigate" title="navigate">navigation</a>.</p><p>A <code><a href="#the-base-element">base</a></code> element, if it has a <code title="attr-base-target"><a href="#attr-base-target">target</a></code> attribute, must come before any elements in the tree that represent <a href="links.html#hyperlink" title="hyperlink">hyperlinks</a>.</p><div class="example"> <p>In this example, a <code><a href="#the-base-element">base</a></code> element is used to set the @@ -1156,7 +1156,7 @@ attribute is a <a href="common-microsyntaxes.html#boolean-attribute">boolean attribute</a>. If set, it indicates that the styles are intended just for the subtree rooted at the <code><a href="#the-style-element">style</a></code> element's parent element, as opposed to the whole - <code>Document</code>.</p><p id="title-on-style">The <dfn id="attr-style-title" title="attr-style-title"><code>title</code></dfn> attribute on + <code><a href="#document">Document</a></code>.</p><p id="title-on-style">The <dfn id="attr-style-title" title="attr-style-title"><code>title</code></dfn> attribute on <code><a href="#the-style-element">style</a></code> elements defines <span>alternative style sheet sets</span>. If the <code><a href="#the-style-element">style</a></code> element has no <code title="attr-style-title"><a href="#attr-style-title">title</a></code> attribute, then it has no title; the <code title="attr-title"><a href="elements.html#the-title-attribute">title</a></code> attribute of @@ -1164,7 +1164,7 @@ attribute on <code><a href="#the-style-element">style</a></code> elements, like the <code title="attr-link-title"><a href="#attr-link-title">title</a></code> attribute on <code><a href="#the-link-element">link</a></code> elements, differs from the global <code title="attr-title"><a href="elements.html#the-title-attribute">title</a></code> attribute in that a <code><a href="#the-style-element">style</a></code> block without a title does not inherit the title - of the parent element: it merely has no title.</p><p>The <code>textContent</code> of a <code><a href="#the-style-element">style</a></code> element must + of the parent element: it merely has no title.</p><p>The <code><a href="#textcontent">textContent</a></code> of a <code><a href="#the-style-element">style</a></code> element must match the <code title="">style</code> production in the following ABNF, the character set for which is Unicode. <a href="references.html#refsABNF">[ABNF]</a></p><pre>style = no-c-start *( c-start no-c-end c-end no-c-start ) no-c-start = <any string that doesn't contain a substring that matches c-start > Index: index.html =================================================================== RCS file: /sources/public/html5/spec-author-view/index.html,v retrieving revision 1.570 retrieving revision 1.571 diff -u -d -r1.570 -r1.571 --- index.html 15 Feb 2010 19:17:02 -0000 1.570 +++ index.html 16 Feb 2010 08:36:53 -0000 1.571 @@ -2694,23 +2694,23 @@ </th><th> Interface </th><th> Description </th></tr></thead><tbody><tr><td> <code title="event-DOMActivate">DOMActivate</code> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> Fired at an element before its <a href="#activation-behavior">activation behavior</a> is run </td></tr><tr><td> <code title="event-DOMContentLoaded">DOMContentLoaded</code> - </td><td> <code>Event</code> - </td><td> Fired at the <code>Document</code> once it and its scripts have loaded, without waiting for other subresources + </td><td> <code><a href="#event">Event</a></code> + </td><td> Fired at the <code><a href="#document">Document</a></code> once it and its scripts have loaded, without waiting for other subresources </td></tr><tr><td> <code title="event-abort">abort</code> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> Fired at the <code><a href="browsers.html#window">Window</a></code> when the download was aborted by the user </td></tr><tr><td> <code title="event-afterprint">afterprint</code> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> Fired at the <code><a href="browsers.html#window">Window</a></code> after printing </td></tr><tr><td> <code title="event-beforeprint">beforeprint</code> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> Fired at the <code><a href="browsers.html#window">Window</a></code> before printing </td></tr><tr><td> <code title="event-beforeunload">beforeunload</code> @@ -2718,31 +2718,31 @@ </td><td> Fired at the <code><a href="browsers.html#window">Window</a></code> when the page is about to be unloaded, in case the page would like to show a warning prompt </td></tr><tr><td> <code title="event-blur">blur</code> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> Fired at nodes losing focus </td></tr><tr><td> <code title="event-change">change</code> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> Fired at controls when the user commits a value change </td></tr><tr><td> <code title="event-contextmenu">contextmenu</code> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> Fired at elements when the user requests their context menu </td></tr><tr><td> <code title="event-error">error</code> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> Fired at elements when network and script errors occur </td></tr><tr><td> <code title="event-focus">focus</code> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> Fired at nodes gaining focus </td></tr><tr><td> <code title="event-formchange">formchange</code> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> Fired at form controls when the user commits a value change to a control on the form </td></tr><tr><td> <code title="event-forminput">forminput</code> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> Fired at form controls when the user changes the value of a control on the form </td></tr><tr><td> <code title="event-hashchange"><a href="history.html#event-hashchange">hashchange</a></code> @@ -2750,15 +2750,15 @@ </td><td> Fired at the <code><a href="browsers.html#window">Window</a></code> when the fragment identifier part of <a href="dom.html#the-document-s-current-address">the document's current address</a> changes </td></tr><tr><td> <code title="event-input">input</code> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> Fired at controls when the user changes the value </td></tr><tr><td> <code title="event-invalid">invalid</code> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> Fired at controls during form validation if they do not satisfy their constraints </td></tr><tr><td> <code title="event-load">load</code> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> Fired at the <code><a href="browsers.html#window">Window</a></code> when the document has finished loading; fired at an element containing a resource (e.g. <code><a href="embedded-content-1.html#the-img-element">img</a></code>, <code><a href="the-iframe-element.html#the-embed-element">embed</a></code>) when its resource has finished loading </td></tr><tr><td> <code title="event-message">message</code> @@ -2766,19 +2766,19 @@ </td><td> Fired at an object when the object receives a message </td></tr><tr><td> <code title="event-offline"><a href="#event-offline">offline</a></code> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> Fired at the <code><a href="browsers.html#window">Window</a></code> when the network connections fails </td></tr><tr><td> <code title="event-online"><a href="#event-online">online</a></code> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> Fired at the <code><a href="browsers.html#window">Window</a></code> when the network connections returns </td></tr><tr><td> <code title="event-pagehide">pagehide</code> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> Fired at the <code><a href="browsers.html#window">Window</a></code> when the page's entry in the <a href="history.html#session-history">session history</a> stops being the <a href="history.html#current-entry">current entry</a> </td></tr><tr><td> <code title="event-pageshow">pageshow</code> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> Fired at the <code><a href="browsers.html#window">Window</a></code> when the page's entry in the <a href="history.html#session-history">session history</a> becomes the <a href="history.html#current-entry">current entry</a> </td></tr><tr><td> <code title="event-popstate"><a href="history.html#event-popstate">popstate</a></code> @@ -2786,23 +2786,23 @@ </td><td> Fired at the <code><a href="browsers.html#window">Window</a></code> when the user navigates the <a href="history.html#session-history">session history</a> </td></tr><tr><td> <code title="event-readystatechange">readystatechange</code> - </td><td> <code>Event</code> - </td><td> Fired at the <code>Document</code> when it finishes parsing and again when all its subresources have finished loading + </td><td> <code><a href="#event">Event</a></code> + </td><td> Fired at the <code><a href="#document">Document</a></code> when it finishes parsing and again when all its subresources have finished loading </td></tr><tr><td> <code title="event-redo"><a href="#event-redo">redo</a></code> </td><td> <code><a href="dnd.html#undomanagerevent">UndoManagerEvent</a></code> </td><td> Fired at the <code><a href="browsers.html#window">Window</a></code> object when the user <a href="#redo:-moving-forward-in-the-undo-transaction-history" title="do-redo">goes forward in the undo transaction history</a> </td></tr><tr><td> <code title="event-reset">reset</code> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> Fired at a <code><a href="forms.html#the-form-element">form</a></code> element when it is <a href="#concept-form-reset" title="concept-form-reset">reset</a> </td></tr><tr><td> <code title="event-show">show</code> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> Fired at a <code><a href="interactive-elements.html#menus">menu</a></code> element when it is shown as a context menu </td></tr><tr><td> <code title="event-submit">submit</code> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> Fired at a <code><a href="forms.html#the-form-element">form</a></code> element when it is <a href="#concept-form-submit" title="concept-form-submit">submitted</a> </td></tr><tr><td> <code title="event-undo"><a href="#event-undo">undo</a></code> @@ -2810,7 +2810,7 @@ </td><td> Fired at the <code><a href="browsers.html#window">Window</a></code> object when the user <a href="#undo:-moving-back-in-the-undo-transaction-history" title="do-undo">goes backward in the undo transaction history</a> </td></tr><tr><td> <code title="event-unload">unload</code> - </td><td> <code>Event</code> + </td><td> <code><a href="#event">Event</a></code> </td><td> Fired at the <code><a href="browsers.html#window">Window</a></code> object when the page is going away </td></tr></tbody></table><p class="note">See also <a href="video.html#mediaevents">media element Index: the-button-element.html =================================================================== RCS file: /sources/public/html5/spec-author-view/the-button-element.html,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- the-button-element.html 15 Feb 2010 19:17:04 -0000 1.18 +++ the-button-element.html 16 Feb 2010 08:36:54 -0000 1.19 @@ -333,7 +333,7 @@ boolean <a href="#dom-cva-checkvalidatity" title="dom-cva-checkValidatity">checkValidity</a>(); void <a href="#dom-cva-setcustomvalidity" title="dom-cva-setCustomValidity">setCustomValidity</a>(in DOMString error); - readonly attribute <span>NodeList</span> <a href="#dom-lfe-labels" title="dom-lfe-labels">labels</a>; + readonly attribute <a href="#nodelist">NodeList</a> <a href="#dom-lfe-labels" title="dom-lfe-labels">labels</a>; };</pre> </dd> </dl><p>The <code><a href="#the-button-element">button</a></code> element <a href="#represents">represents</a> a @@ -432,7 +432,7 @@ boolean <a href="#dom-cva-checkvalidatity" title="dom-cva-checkValidatity">checkValidity</a>(); void <a href="#dom-cva-setcustomvalidity" title="dom-cva-setCustomValidity">setCustomValidity</a>(in DOMString error); - readonly attribute <span>NodeList</span> <a href="#dom-lfe-labels" title="dom-lfe-labels">labels</a>; + readonly attribute <a href="#nodelist">NodeList</a> <a href="#dom-lfe-labels" title="dom-lfe-labels">labels</a>; };</pre> </dd> </dl><!-- Proposals for v2: @@ -510,7 +510,7 @@ <dt><var title="">select</var>(<var title="">name</var>)</dt> <dd> <p>Returns the item with ID or <code title="attr-option-name">name</code> <var title="">name</var> from the <a href="#concept-select-option-list" title="concept-select-option-list">list of options</a>.</p> - <p>If there are multiple matching items, then a <code>NodeList</code> object containing all those elements is returned.</p> + <p>If there are multiple matching items, then a <code><a href="#nodelist">NodeList</a></code> object containing all those elements is returned.</p> <p>Returns null if no element with that ID could be found.</p> </dd> @@ -728,10 +728,10 @@ present.</p><p>The <dfn id="attr-option-label" title="attr-option-label"><code>label</code></dfn> attribute provides a label for element. The <dfn id="concept-option-label" title="concept-option-label">label</dfn> of an <code><a href="#the-option-element">option</a></code> element is the value of the <code title="attr-option-label"><a href="#attr-option-label">label</a></code> attribute, if there is one, - or the <code>textContent</code> of the element, if there isn't.</p><p>The <dfn id="attr-option-value" title="attr-option-value"><code>value</code></dfn> + or the <code><a href="#textcontent">textContent</a></code> of the element, if there isn't.</p><p>The <dfn id="attr-option-value" title="attr-option-value"><code>value</code></dfn> attribute provides a value for element. The <dfn id="concept-option-value" title="concept-option-value">value</dfn> of an <code><a href="#the-option-element">option</a></code> element is the value of the <code title="attr-option-value"><a href="#attr-option-value">value</a></code> attribute, if there is one, - or the <code>textContent</code> of the element, if there isn't.</p><p>The <dfn id="attr-option-selected" title="attr-option-selected"><code>selected</code></dfn> + or the <code><a href="#textcontent">textContent</a></code> of the element, if there isn't.</p><p>The <dfn id="attr-option-selected" title="attr-option-selected"><code>selected</code></dfn> attribute represents the default <a href="#concept-option-selectedness" title="concept-option-selectedness">selectedness</a> of the element.</p><dl class="domintro"><dt><var title="">option</var> . <code title="dom-option-selected"><a href="#dom-option-selected">selected</a></code></dt> @@ -764,7 +764,7 @@ <dd> - <p>Same as <code>textContent</code>.</p> + <p>Same as <code><a href="#textcontent">textContent</a></code>.</p> </dd> @@ -829,7 +829,7 @@ boolean <a href="#dom-cva-checkvalidatity" title="dom-cva-checkValidatity">checkValidity</a>(); void <a href="#dom-cva-setcustomvalidity" title="dom-cva-setCustomValidity">setCustomValidity</a>(in DOMString error); - readonly attribute <span>NodeList</span> <a href="#dom-lfe-labels" title="dom-lfe-labels">labels</a>; + readonly attribute <a href="#nodelist">NodeList</a> <a href="#dom-lfe-labels" title="dom-lfe-labels">labels</a>; void <a href="#dom-textarea-input-select" title="dom-textarea/input-select">select</a>(); attribute unsigned long <a href="#dom-textarea-input-selectionstart" title="dom-textarea/input-selectionStart">selectionStart</a>; @@ -863,7 +863,7 @@ <code><a href="#the-textarea-element">textarea</a></code> element's <a href="#concept-textarea-dirty" title="concept-textarea-dirty">dirty value flag</a>.</p><p>If the <code><a href="#the-textarea-element">textarea</a></code> element has a <a href="association-of-controls-and-forms.html#maximum-allowed-value-length">maximum allowed value length</a>, then the element's children must be such that the <a href="#code-point-length">code-point length</a> of the value of the element's - <code>textContent</code> IDL attribute is equal to or less than the + <code><a href="#textcontent">textContent</a></code> IDL attribute is equal to or less than the element's <a href="association-of-controls-and-forms.html#maximum-allowed-value-length">maximum allowed value length</a>.</p><p>The <dfn id="attr-textarea-required" title="attr-textarea-required"><code>required</code></dfn> attribute is a <a href="common-microsyntaxes.html#boolean-attribute">boolean attribute</a>. When specified, the user will be required to enter a value before submitting the form.</p><!-- similar text in the <input> section --><p>The <dfn id="attr-textarea-placeholder" title="attr-textarea-placeholder"><code>placeholder</code></dfn> @@ -939,7 +939,7 @@ boolean <a href="#dom-cva-checkvalidatity" title="dom-cva-checkValidatity">checkValidity</a>(); void <a href="#dom-cva-setcustomvalidity" title="dom-cva-setCustomValidity">setCustomValidity</a>(in DOMString error); - readonly attribute <span>NodeList</span> <a href="#dom-lfe-labels" title="dom-lfe-labels">labels</a>; + readonly attribute <a href="#nodelist">NodeList</a> <a href="#dom-lfe-labels" title="dom-lfe-labels">labels</a>; };</pre> </dd> </dl><p>The <code><a href="#the-keygen-element">keygen</a></code> element <a href="#represents">represents</a> a key @@ -1033,7 +1033,7 @@ boolean <a href="#dom-cva-checkvalidatity" title="dom-cva-checkValidatity">checkValidity</a>(); void <a href="#dom-cva-setcustomvalidity" title="dom-cva-setCustomValidity">setCustomValidity</a>(in DOMString error); - readonly attribute <span>NodeList</span> <a href="#dom-lfe-labels" title="dom-lfe-labels">labels</a>; + readonly attribute <a href="#nodelist">NodeList</a> <a href="#dom-lfe-labels" title="dom-lfe-labels">labels</a>; };</pre> </dd> </dl><p>The <code><a href="#the-output-element">output</a></code> element <a href="#represents">represents</a> the result of a @@ -1045,7 +1045,7 @@ if specified, must contain a string consisting of an <a href="common-microsyntaxes.html#unordered-set-of-unique-space-separated-tokens">unordered set of unique space-separated tokens</a>, each of which must have the value of an ID of an element in the same - <code>Document</code>.</p><p>The <code title="attr-fae-form"><a href="association-of-controls-and-forms.html#attr-fae-form">form</a></code> attribute is used to + <code><a href="#document">Document</a></code>.</p><p>The <code title="attr-fae-form"><a href="association-of-controls-and-forms.html#attr-fae-form">form</a></code> attribute is used to explicitly associate the <code><a href="#the-output-element">output</a></code> element with its <a href="association-of-controls-and-forms.html#form-owner">form owner</a>. The <code title="attr-fe-name"><a href="association-of-controls-and-forms.html#attr-fe-name">name</a></code> attribute represents the element's name.</p><dl class="domintro"><dt><var title="">output</var> . <code title="dom-output-value"><a href="#dom-output-value">value</a></code> [ = <var title="">value</var> ]</dt> @@ -1107,7 +1107,7 @@ attribute float <a href="#dom-progress-max" title="dom-progress-max">max</a>; readonly attribute float <a href="#dom-progress-position" title="dom-progress-position">position</a>; readonly attribute <a href="forms.html#htmlformelement">HTMLFormElement</a> <a href="#dom-fae-form" title="dom-fae-form">form</a>; - readonly attribute <span>NodeList</span> <a href="#dom-lfe-labels" title="dom-lfe-labels">labels</a>; + readonly attribute <a href="#nodelist">NodeList</a> <a href="#dom-lfe-labels" title="dom-lfe-labels">labels</a>; };</pre> </dd> </dl><p>The <code><a href="#the-progress-element">progress</a></code> element <a href="#represents">represents</a> the @@ -1187,7 +1187,7 @@ attribute float <a href="#dom-meter-high" title="dom-meter-high">high</a>; attribute float <a href="#dom-meter-optimum" title="dom-meter-optimum">optimum</a>; readonly attribute <a href="forms.html#htmlformelement">HTMLFormElement</a> <a href="#dom-fae-form" title="dom-fae-form">form</a>; - readonly attribute <span>NodeList</span> <a href="#dom-lfe-labels" title="dom-lfe-labels">labels</a>; + readonly attribute <a href="#nodelist">NodeList</a> <a href="#dom-lfe-labels" title="dom-lfe-labels">labels</a>; };</pre> </dd> </dl><p>The <code><a href="#the-meter-element">meter</a></code> element <a href="#represents">represents</a> a scalar Index: spec.html =================================================================== RCS file: /sources/public/html5/spec-author-view/spec.html,v retrieving revision 1.704 retrieving revision 1.705 diff -u -d -r1.704 -r1.705 --- spec.html 16 Feb 2010 08:27:06 -0000 1.704 +++ spec.html 16 Feb 2010 08:36:54 -0000 1.705 @@ -302,7 +302,7 @@ </dl><p>This specification is available in the following formats: <a href=spec.html>single page HTML</a>, <a href=Overview.html>multipage HTML</a>. -This is revision 1.3795. +This is revision 1.3796. </p> <p class=copyright><a href=http://www.w3.org/Consortium/Legal/ipr-notice#Copyright>Copyright</a> © 2009 <a href=http://www.w3.org/><abbr title="World Wide @@ -1357,10 +1357,10 @@ document, then the node's <a href=#root-element>root element</a> is indeed the document's root element; however, if the node is not currently part [...1150 lines suppressed...] </td></tr><tr><td> <code title=event-show>show</code> - </td><td> <code>Event</code> + </td><td> <code><a href=#event>Event</a></code> </td><td> Fired at a <code><a href=#menus>menu</a></code> element when it is shown as a context menu </td></tr><tr><td> <code title=event-submit>submit</code> - </td><td> <code>Event</code> + </td><td> <code><a href=#event>Event</a></code> </td><td> Fired at a <code><a href=#the-form-element>form</a></code> element when it is <a href=#concept-form-submit title=concept-form-submit>submitted</a> </td></tr><tr><td> <code title=event-undo><a href=#event-undo>undo</a></code> @@ -28024,7 +28024,7 @@ </td><td> Fired at the <code><a href=#window>Window</a></code> object when the user <a href=#undo:-moving-back-in-the-undo-transaction-history title=do-undo>goes backward in the undo transaction history</a> </td></tr><tr><td> <code title=event-unload>unload</code> - </td><td> <code>Event</code> + </td><td> <code><a href=#event>Event</a></code> </td><td> Fired at the <code><a href=#window>Window</a></code> object when the page is going away </td></tr></tbody></table><p class=note>See also <a href=#mediaevents>media element Index: sections.html =================================================================== RCS file: /sources/public/html5/spec-author-view/sections.html,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- sections.html 15 Feb 2010 19:17:03 -0000 1.21 +++ sections.html 16 Feb 2010 08:36:53 -0000 1.22 @@ -358,14 +358,14 @@ <code><a href="#the-body-element-0">body</a></code> element, shadow the generic <a href="webappapis.html#event-handlers">event handlers</a> with the same names normally supported by <a href="infrastructure.html#html-elements">HTML elements</a>.</p><p class="example">Thus, for example, a bubbling <code title="event-error">error</code> event fired on a child of <a href="dom.html#the-body-element">the - body element</a> of a <code>Document</code> would first trigger + body element</a> of a <code><a href="#document">Document</a></code> would first trigger the <code title="handler-onerror"><a href="#handler-onerror">onerror</a></code> <a href="webappapis.html#event-handler-content-attributes">event handler content attributes</a> of that element, then that of the root <code><a href="semantics.html#the-html-element-0">html</a></code> element, and only <em>then</em> would it trigger the <code title="handler-window-onerror"><a href="#handler-window-onerror">onerror</a></code> <a href="webappapis.html#event-handler-content-attributes" title="event handler content attributes">event handler content attribute</a> on the <code><a href="#the-body-element-0">body</a></code> element. This is because the event would bubble from the target, to the <code><a href="#the-body-element-0">body</a></code>, to - the <code><a href="semantics.html#the-html-element-0">html</a></code>, to the <code>Document</code>, to the + the <code><a href="semantics.html#the-html-element-0">html</a></code>, to the <code><a href="#document">Document</a></code>, to the <code><a href="browsers.html#window">Window</a></code>, and the <a href="webappapis.html#event-handlers" title="event handlers">event handler</a> on the <code><a href="#the-body-element-0">body</a></code> is watching the <code><a href="browsers.html#window">Window</a></code> not the <code><a href="#the-body-element-0">body</a></code>. A regular event Index: commands.html =================================================================== RCS file: /sources/public/html5/spec-author-view/commands.html,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- commands.html 15 Feb 2010 19:17:00 -0000 1.16 +++ commands.html 16 Feb 2010 08:36:52 -0000 1.17 @@ -453,7 +453,7 @@ </dl><hr><dl class="domintro"><dt><var title="">document</var> . <code title="dom-document-commands"><a href="#dom-document-commands">commands</a></code></dt> <dd> <p>Returns an <code><a href="urls.html#htmlcollection">HTMLCollection</a></code> of the elements in the - <code>Document</code> that define commands and have IDs.</p> + <code><a href="#document">Document</a></code> that define commands and have IDs.</p> </dd> </dl><hr><p>User agents may expose the <a href="#concept-command" title="concept-command">commands</a> whose <a href="#command-facet-hiddenstate" title="command-facet-HiddenState">Hidden State</a> facet is false
Received on Tuesday, 16 February 2010 08:37:01 UTC