- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 28 Aug 2010 13:50:48 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv3914 Modified Files: acknowledgements.html association-of-controls-and-forms.html browsers.html common-input-element-attributes.html dnd.html elements.html forms.html history.html index.html interactive-elements.html links.html sections.html semantics.html spec.html tabular-data.html the-button-element.html timers.html tokenization.html video.html Log Message: typo (whatwg r5392) [updated by splitter] Index: tabular-data.html =================================================================== RCS file: /sources/public/html5/spec/tabular-data.html,v retrieving revision 1.993 retrieving revision 1.994 diff -u -d -r1.993 -r1.994 --- tabular-data.html 11 Aug 2010 03:56:45 -0000 1.993 +++ tabular-data.html 28 Aug 2010 13:50:45 -0000 1.994 @@ -869,6 +869,38 @@ attribute must <a href="common-dom-interfaces.html#reflect">reflect</a> the content attribute of the same name.</p> + </div><div class="example"> + + <p>Here is an example of a table being used to mark up a Sudoku + puzzle. Observe the lack of headers, which are not necessary in + such a table.</p> + + <pre><section> + <style scoped> + table { border-collapse: collapse; border: solid thick } + colgroup, tbody { border: solid medium; } + td { border: solid thin; height: 1.4em; width: 1.4em; text-align: center; padding: 0; } + </style> + <h1>Today's Sudoku</h1> + <table> + <colgroup><col><col><col> + <colgroup><col><col><col> + <colgroup><col><col><col> + <tbody> + <tr> <td> 1 <td> <td> 3 <td> 6 <td> <td> 4 <td> 7 <td> <td> 9 + <tr> <td> <td> 2 <td> <td> <td> 9 <td> <td> <td> 1 <td> + <tr> <td> 7 <td> <td> <td> <td> <td> <td> <td> <td> 6 + <tbody> + <tr> <td> 2 <td> <td> 4 <td> <td> 3 <td> <td> 9 <td> <td> 8 + <tr> <td> <td> <td> <td> <td> <td> <td> <td> <td> + <tr> <td> 5 <td> <td> <td> 9 <td> <td> 7 <td> <td> <td> 1 + <tbody> + <tr> <td> 6 <td> <td> <td> <td> 5 <td> <td> <td> <td> 2 + <tr> <td> <td> <td> <td> <td> 7 <td> <td> <td> <td> + <tr> <td> 9 <td> <td> <td> 8 <td> <td> 2 <td> <td> <td> 5 + </table> +</section></pre> + </div><h4 id="the-caption-element"><span class="secno">4.9.2 </span>The <dfn><code>caption</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><dl class="element"><dt>Categories</dt> <dd>None.</dd> <dt>Contexts in which this element may be used:</dt> @@ -1394,12 +1426,12 @@ attribute specified. The <code title="attr-tdth-headers"><a href="#attr-tdth-headers">headers</a></code> attribute, 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 a <code><a href="#the-th-element">th</a></code> element taking part in the same <a href="#concept-table" title="concept-table">table</a> as the <code><a href="#the-td-element">td</a></code> or + an <a href="elements.html#concept-id" title="concept-id">ID</a> of a <code><a href="#the-th-element">th</a></code> element taking part in the same <a href="#concept-table" title="concept-table">table</a> as the <code><a href="#the-td-element">td</a></code> or <code><a href="#the-th-element">th</a></code> element<span class="impl"> (as defined by the - <a href="#table-model">table model</a>)</span>.</p><p>A <code><a href="#the-th-element">th</a></code> element with ID <var title="">id</var> is said + <a href="#table-model">table model</a>)</span>.</p><p>A <code><a href="#the-th-element">th</a></code> element with <a href="elements.html#concept-id" title="concept-id">ID</a> <var title="">id</var> is said to be <i>directly targeted</i> by all <code><a href="#the-td-element">td</a></code> and <code><a href="#the-th-element">th</a></code> elements in the same <a href="#concept-table" title="concept-table">table</a> that have <code title="attr-tdth-headers"><a href="#attr-tdth-headers">headers</a></code> attributes whose values - include as one of their tokens the ID <var title="">id</var>. A + include as one of their tokens the <a href="elements.html#concept-id" title="concept-id">ID</a> <var title="">id</var>. A <code><a href="#the-th-element">th</a></code> element <var title="">A</var> is said to be <i>targeted</i> by a <code><a href="#the-th-element">th</a></code> or <code><a href="#the-td-element">td</a></code> element <var title="">B</var> if either <var title="">A</var> is <i>directly @@ -2149,7 +2181,7 @@ <!-- support headers="" to <td> for legacy compat --> <!-- note that it's not conforming though --> <p>For each token in the <var title="">id list</var>, if the - first element in the <code><a href="infrastructure.html#document">Document</a></code> with an ID equal to + first element in the <code><a href="infrastructure.html#document">Document</a></code> with an <a href="elements.html#concept-id" title="concept-id">ID</a> equal to the token is a cell in the same <a href="#concept-table" title="concept-table">table</a>, and that cell is not the <var title="">principal cell</var>, then add that cell to <var title="">header list</var>.</p> Index: association-of-controls-and-forms.html =================================================================== RCS file: /sources/public/html5/spec/association-of-controls-and-forms.html,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- association-of-controls-and-forms.html 24 Aug 2010 23:46:32 -0000 1.24 +++ association-of-controls-and-forms.html 28 Aug 2010 13:50:44 -0000 1.25 @@ -336,7 +336,7 @@ below)</span>, but may have a <dfn id="attr-fae-form" title="attr-fae-form"><code>form</code></dfn> attribute specified to override this.</p><p class="note">This feature allows authors to work around the lack of support for nested <code><a href="forms.html#the-form-element">form</a></code> elements.</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 that - attribute's value must be the ID of a <code><a href="forms.html#the-form-element">form</a></code> element in + attribute's value must be the <a href="elements.html#concept-id" title="concept-id">ID</a> of a <code><a href="forms.html#the-form-element">form</a></code> element in the element's owner <code><a href="infrastructure.html#document">Document</a></code>.</p><div class="impl"> <p class="note">The rules in this section are complicated by the @@ -363,13 +363,13 @@ has its value changed, then the user agent must <a href="#reset-the-form-owner">reset the form owner</a> of that element.</p> - <p>When 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 and the ID of any of the + <p>When 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 and the <a href="elements.html#concept-id" title="concept-id">ID</a> of any of the elements in the <code><a href="infrastructure.html#document">Document</a></code> changes, then the user agent must <a href="#reset-the-form-owner">reset the form owner</a> of that <a href="forms.html#form-associated-element">form-associated element</a>.</p> <p>When 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 and an element with an - ID is <a href="infrastructure.html#insert-an-element-into-a-document" title="insert an element into a document">inserted + <a href="elements.html#concept-id" title="concept-id">ID</a> is <a href="infrastructure.html#insert-an-element-into-a-document" title="insert an element into a document">inserted into</a> or <a href="infrastructure.html#remove-an-element-from-a-document" title="remove an element from a document">removed from</a> the <code><a href="infrastructure.html#document">Document</a></code>, then the user agent must <a href="#reset-the-form-owner">reset the form owner</a> of that @@ -395,7 +395,7 @@ <ol><!-- note that this ignores the name="" attribute and is unaffected by quirks mode (it's always case sensitive) --><li><p>If the first element <a href="infrastructure.html#in-a-document" title="in a Document">in the - <code>Document</code></a> to have an ID that is <a href="infrastructure.html#case-sensitive" title="case-sensitive">case-sensitively</a> equal to the + <code>Document</code></a> to have an <a href="elements.html#concept-id" title="concept-id">ID</a> that is <a href="infrastructure.html#case-sensitive" title="case-sensitive">case-sensitively</a> equal to the element's <code title="attr-fae-form"><a href="#attr-fae-form">form</a></code> content attribute's value is a <code><a href="forms.html#the-form-element">form</a></code> element, then <a href="#concept-form-association" title="concept-form-association">associate</a> the <a href="forms.html#form-associated-element">form-associated element</a> with that <code><a href="forms.html#the-form-element">form</a></code> @@ -670,7 +670,7 @@ <pre><form action="editor.cgi" method="post"> <p><label>Name: <input required name=fn></label></p> - <p><label>Essay: <textarea name=essay></textarea></label></p> + <p><label>Essay: <textarea required name=essay></textarea></label></p> <p><input type=submit name=submit value="Submit essay"></p> <p><input type=submit formnovalidate name=save value="Save essay"></p> <p><input type=submit formnovalidate name=cancel value="Cancel"></p> Index: history.html =================================================================== RCS file: /sources/public/html5/spec/history.html,v retrieving revision 1.1003 retrieving revision 1.1004 diff -u -d -r1.1003 -r1.1004 --- history.html 26 Aug 2010 02:06:34 -0000 1.1003 +++ history.html 28 Aug 2010 13:50:44 -0000 1.1004 @@ -1776,7 +1776,7 @@ will <a href="#scroll-to-the-fragment-identifier">scroll to the fragment identifier</a> given in what is now <a href="dom.html#the-document-s-current-address">the document's current address</a>.</p></li> - </ol><p class="note">If the scrolling fails because the relevant ID has + </ol><p class="note">If the scrolling fails because the relevant <a href="elements.html#concept-id" title="concept-id">ID</a> has not yet been parsed, then the original <a href="#navigate" title="navigate">navigation</a> algorithm will take care of the scrolling instead, as the last few steps of its <a href="#update-the-session-history-with-the-new-page">update the session history with the new page</a> algorithm.</p> @@ -1817,7 +1817,7 @@ the next one.</p> </li><li><p>If this step was not skipped and there is an element in the - DOM that has an ID exactly equal to <var title="">decoded + DOM that has an <a href="elements.html#concept-id" title="concept-id">ID</a> exactly equal to <var title="">decoded fragid</var>, then the first such element in tree order is <a href="#the-indicated-part-of-the-document">the indicated part of the document</a>; stop the algorithm here.</p></li> @@ -1969,42 +1969,34 @@ its rendering, for instance the scroll position or values of form fields, that it had previously recorded.</p></li> - <li> - - <p>If the <i>specified entry</i> is a state object or the first - entry for a <code><a href="infrastructure.html#document">Document</a></code>, the user agent must run the - following substeps:</p> - - <ol><li><p>If the entry is a <a href="#state-object">state object</a> entry, let <var title="">state</var> be a <a href="common-dom-interfaces.html#structured-clone">structured clone</a> of that - state object. Otherwise, let <var title="">state</var> be - null.</p></li> - - <li> + <li><p>If the entry is a <a href="#state-object">state object</a> entry, let <var title="">state</var> be a <a href="common-dom-interfaces.html#structured-clone">structured clone</a> of that + state object. Otherwise, let <var title="">state</var> be + null.</p></li> - <p>Run the appropriate steps according to the conditions - described:</p> + <li> - <dl class="switch"><dt>If the <a href="dom.html#current-document-readiness">current document readiness</a> is set to the - string "complete"</dt> + <p>Run the appropriate steps according to the conditions + described:</p> - <dd><p><a href="webappapis.html#queue-a-task">Queue a task</a> to fire a <code title="event-popstate"><a href="#event-popstate">popstate</a></code> event at the - <code><a href="browsers.html#window">Window</a></code> object of the <code><a href="infrastructure.html#document">Document</a></code>, using - the <code><a href="#popstateevent">PopStateEvent</a></code> interface, with the <code title="dom-PopStateEvent-state"><a href="#dom-popstateevent-state">state</a></code> attribute set to - the value of <var title="">state</var>. This event must bubble - but not be cancelable and has no default action.</p></dd> + <dl class="switch"><dt>If the <a href="dom.html#current-document-readiness">current document readiness</a> is set to the + string "complete"</dt> - <dt>Otherwise</dt> + <dd><p><a href="webappapis.html#queue-a-task">Queue a task</a> to fire a <code title="event-popstate"><a href="#event-popstate">popstate</a></code> event at the + <code><a href="browsers.html#window">Window</a></code> object of the <code><a href="infrastructure.html#document">Document</a></code>, using + the <code><a href="#popstateevent">PopStateEvent</a></code> interface, with the <code title="dom-PopStateEvent-state"><a href="#dom-popstateevent-state">state</a></code> attribute set to the + value of <var title="">state</var>. This event must bubble but + not be cancelable and has no default action.</p></dd> - <dd><p>Let the <code><a href="infrastructure.html#document">Document</a></code>'s <dfn id="pending-state-object">pending state - object</dfn> be <var title="">state</var>. (If there was already - a <a href="#pending-state-object">pending state object</a>, the previous one is - discarded.)</p> + <dt>Otherwise</dt> - <p class="note">The event will then be fired just after the <code title="event-load">load</code> event.</p></dd> + <dd><p>Let the <code><a href="infrastructure.html#document">Document</a></code>'s <dfn id="pending-state-object">pending state + object</dfn> be <var title="">state</var>. (If there was already + a <a href="#pending-state-object">pending state object</a>, the previous one is + discarded.)</p> - </dl></li> + <p class="note">The event will then be fired just after the <code title="event-load">load</code> event.</p></dd> - </ol></li> + </dl></li> <li><p>If <var title="">hash changed</var> is true, then <a href="webappapis.html#queue-a-task">queue a task</a> to fire a <code title="event-hashchange"><a href="#event-hashchange">hashchange</a></code> event at the Index: common-input-element-attributes.html =================================================================== RCS file: /sources/public/html5/spec/common-input-element-attributes.html,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- common-input-element-attributes.html 24 Aug 2010 22:26:33 -0000 1.12 +++ common-input-element-attributes.html 28 Aug 2010 13:50:44 -0000 1.13 @@ -419,14 +419,14 @@ </div><h6 id="the-list-attribute"><span class="secno">4.10.7.2.2 </span>The <code title="attr-input-list"><a href="#attr-input-list">list</a></code> attribute</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <dfn id="attr-input-list" title="attr-input-list"><code>list</code></dfn> attribute is used to identify an element that lists predefined - options suggested to the user.</p><p>If present, its value must be the ID of a <code><a href="the-button-element.html#the-datalist-element">datalist</a></code> + options suggested to the user.</p><p>If present, its value must be the <a href="elements.html#concept-id" title="concept-id">ID</a> of a <code><a href="the-button-element.html#the-datalist-element">datalist</a></code> element in the same document.</p><div class="impl"> <p>The <dfn id="concept-input-list" title="concept-input-list">suggestions source element</dfn> is the first element in the document in <a href="infrastructure.html#tree-order">tree - order</a> to have an ID equal to the value of the <code title="attr-input-list"><a href="#attr-input-list">list</a></code> attribute, if that element is a + order</a> to have an <a href="elements.html#concept-id" title="concept-id">ID</a> equal to the value of the <code title="attr-input-list"><a href="#attr-input-list">list</a></code> attribute, if that element is a <code><a href="the-button-element.html#the-datalist-element">datalist</a></code> element. If there is no <code title="attr-input-list"><a href="#attr-input-list">list</a></code> attribute, or if there is no - element with that ID, or if the first element with that ID is not a + element with that <a href="elements.html#concept-id" title="concept-id">ID</a>, or if the first element with that <a href="elements.html#concept-id" title="concept-id">ID</a> is not a <code><a href="the-button-element.html#the-datalist-element">datalist</a></code> element, then there is no <a href="#concept-input-list" title="concept-input-list">suggestions source element</a>.</p> <p>If there is a <a href="#concept-input-list" title="concept-input-list">suggestions source Index: acknowledgements.html =================================================================== RCS file: /sources/public/html5/spec/acknowledgements.html,v retrieving revision 1.1034 retrieving revision 1.1035 diff -u -d -r1.1034 -r1.1035 --- acknowledgements.html 27 Aug 2010 00:47:08 -0000 1.1034 +++ acknowledgements.html 28 Aug 2010 13:50:43 -0000 1.1035 @@ -699,6 +699,7 @@ Michelangelo De Simone, Michiel van der Blonk, Mihai Şucan<!-- from ROBO Design -->, + Mihai Parparita, Mike Brown, Mike Dierken<!-- S. Mike Dierken -->, Mike Dixon, Index: timers.html =================================================================== RCS file: /sources/public/html5/spec/timers.html,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- timers.html 11 Aug 2010 03:56:46 -0000 1.9 +++ timers.html 28 Aug 2010 13:50:45 -0000 1.10 @@ -454,7 +454,10 @@ from the <a href="#list-of-active-timeouts">list of active timeouts</a> of the <code><a href="#windowtimers">WindowTimers</a></code> object on which the method was invoked, where <var title="">handle</var> is the argument passed to the - method.</p> + method, if any. (If <var title="">handle</var> does not identify an + entry in the <a href="#list-of-active-timeouts">list of active timeouts</a> of the + <code><a href="#windowtimers">WindowTimers</a></code> object on which the method was invoked, + the method does nothing.)</p> <hr><p>The <dfn id="dom-windowtimers-setinterval" title="dom-windowtimers-setInterval"><code>setInterval()</code></dfn> method must run the following steps: @@ -508,7 +511,10 @@ from the <a href="#list-of-active-intervals">list of active intervals</a> of the <code><a href="#windowtimers">WindowTimers</a></code> object on which the method was invoked, where <var title="">handle</var> is the argument passed to the - method.</p> + method, if any. (If <var title="">handle</var> does not identify an + entry in the <a href="#list-of-active-intervals">list of active intervals</a> of the + <code><a href="#windowtimers">WindowTimers</a></code> object on which the method was invoked, + the method does nothing.)</p> <hr><p>The <dfn id="method-context">method context</dfn>, when referenced by the algorithms in this section, is the object on which the method for which the Index: elements.html =================================================================== RCS file: /sources/public/html5/spec/elements.html,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- elements.html 16 Aug 2010 20:57:14 -0000 1.10 +++ elements.html 28 Aug 2010 13:50:44 -0000 1.11 @@ -644,7 +644,7 @@ <p>If the value is not the empty string, user agents must associate the element with the given value (exactly, including any space - characters) for the purposes of ID matching within the element's + characters) for the purposes of <a href="#concept-id" title="concept-id">ID</a> matching within the element's <a href="infrastructure.html#home-subtree">home subtree</a> (e.g. for selectors in CSS or for the <code title="dom-Document-getElementById"><a href="infrastructure.html#dom-document-getelementbyid">getElementById()</a></code> method in the DOM).</p> @@ -655,7 +655,7 @@ <p>This specification doesn't preclude an element having multiple IDs, if other mechanisms (e.g. DOM Core methods) can set an - element's ID in a way that doesn't conflict with the <code title="attr-id"><a href="#the-id-attribute">id</a></code> attribute.</p> + element's <a href="#concept-id" title="concept-id">ID</a> in a way that doesn't conflict with the <code title="attr-id"><a href="#the-id-attribute">id</a></code> attribute.</p> <p>The <dfn id="dom-id" title="dom-id"><code>id</code></dfn> IDL attribute must <a href="common-dom-interfaces.html#reflect">reflect</a> the <code title="attr-id"><a href="#the-id-attribute">id</a></code> content Index: tokenization.html =================================================================== RCS file: /sources/public/html5/spec/tokenization.html,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- tokenization.html 25 Aug 2010 23:16:34 -0000 1.27 +++ tokenization.html 28 Aug 2010 13:50:46 -0000 1.28 @@ -4374,14 +4374,12 @@ <p>Set the <a href="parsing.html#frameset-ok-flag">frameset-ok flag</a> to "not ok".</p> - <p>If the <a href="parsing.html#insertion-mode">insertion mode</a> is one of <a href="#parsing-main-intable" title="insertion mode: in table">in table</a>", "<a href="#parsing-main-incaption" title="insertion mode: in caption">in caption</a>", "<a href="#parsing-main-incolgroup" title="insertion mode: in column group">in column group</a>", - "<a href="#parsing-main-intbody" title="insertion mode: in table body">in table - body</a>", "<a href="#parsing-main-intr" title="insertion mode: in row">in - row</a>", or "<a href="#parsing-main-intd" title="insertion mode: in cell">in - cell</a>", then switch the <a href="parsing.html#insertion-mode">insertion mode</a> to - "<a href="#parsing-main-inselectintable" title="insertion mode: in select in table">in select in - table</a>". Otherwise, switch the <a href="parsing.html#insertion-mode">insertion mode</a> - to "<a href="#parsing-main-inselect" title="insertion mode: in select">in select</a>".</p> + <p>If the <a href="parsing.html#insertion-mode">insertion mode</a> is one of "<a href="#parsing-main-intable" title="insertion mode: in table">in table</a>", "<a href="#parsing-main-incaption" title="insertion mode: in caption">in caption</a>", "<a href="#parsing-main-intbody" title="insertion mode: in table body">in table body</a>", + "<a href="#parsing-main-intr" title="insertion mode: in row">in row</a>", or "<a href="#parsing-main-intd" title="insertion mode: in cell">in cell</a>", then switch the + <a href="parsing.html#insertion-mode">insertion mode</a> to "<a href="#parsing-main-inselectintable" title="insertion mode: in + select in table">in select in table</a>". Otherwise, switch the + <a href="parsing.html#insertion-mode">insertion mode</a> to "<a href="#parsing-main-inselect" title="insertion mode: in + select">in select</a>".</p> </dd> Index: forms.html =================================================================== RCS file: /sources/public/html5/spec/forms.html,v retrieving revision 1.998 retrieving revision 1.999 diff -u -d -r1.998 -r1.999 --- forms.html 24 Aug 2010 19:46:49 -0000 1.998 +++ forms.html 28 Aug 2010 13:50:44 -0000 1.999 @@ -791,12 +791,12 @@ <dd> - <p>Returns the form control in the form with the given ID or <code title="attr-fe-name"><a href="association-of-controls-and-forms.html#attr-fe-name">name</a></code> (excluding image buttons for + <p>Returns the form control in the form with the given <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> (excluding image buttons for historical reasons).</p> <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 in this method, even if the element's actual <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> changes, for as long as the element remains in the <code><a href="infrastructure.html#document">Document</a></code>.</p> <p>If there are multiple matching items, then a @@ -1160,11 +1160,11 @@ </div><p>The <dfn id="attr-label-for" title="attr-label-for"><code>for</code></dfn> attribute 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 + value must be the <a href="elements.html#concept-id" title="concept-id">ID</a> of a <a href="#category-label" title="category-label">labelable form-associated element</a> in the same <code><a href="infrastructure.html#document">Document</a></code> as the <code><a href="#the-label-element">label</a></code> element. <span class="impl">If the attribute is specified and there is an element in the <code><a href="infrastructure.html#document">Document</a></code> - whose ID is equal to the value of the <code title="attr-label-for"><a href="#attr-label-for">for</a></code> attribute, and the first such + whose <a href="elements.html#concept-id" title="concept-id">ID</a> is equal to the value of the <code title="attr-label-for"><a href="#attr-label-for">for</a></code> attribute, and the first such element is a <a href="#category-label" title="category-label">labelable form-associated element</a>, then that element is the <code><a href="#the-label-element">label</a></code> element's <a href="#labeled-control">labeled control</a>.</span></p><div class="impl"> Index: interactive-elements.html =================================================================== RCS file: /sources/public/html5/spec/interactive-elements.html,v retrieving revision 1.999 retrieving revision 1.1000 diff -u -d -r1.999 -r1.1000 --- interactive-elements.html 26 Aug 2010 18:06:33 -0000 1.999 +++ interactive-elements.html 28 Aug 2010 13:50:45 -0000 1.1000 @@ -3390,7 +3390,7 @@ </ol></div><h5 id="context-menus"><span class="secno">4.11.4.3 </span><dfn>Context menus</dfn></h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <dfn id="attr-contextmenu" title="attr-contextmenu"><code>contextmenu</code></dfn> attribute gives the element's <a href="#context-menus" title="context menus">context - menu</a>. The value must be the ID of a <code><a href="#menus">menu</a></code> element + menu</a>. The value must be the <a href="elements.html#concept-id" title="concept-id">ID</a> of a <code><a href="#menus">menu</a></code> element in the DOM. <span class="impl">If the node that would be obtained by the invoking the <code title="dom-Document-getElementById"><a href="infrastructure.html#dom-document-getelementbyid">getElementById()</a></code> method using the attribute's value as the only argument is null or not a Index: video.html =================================================================== RCS file: /sources/public/html5/spec/video.html,v retrieving revision 1.885 retrieving revision 1.886 diff -u -d -r1.885 -r1.886 --- video.html 27 Aug 2010 19:26:35 -0000 1.885 +++ video.html 28 Aug 2010 13:50:46 -0000 1.886 @@ -522,16 +522,6 @@ agents could disable screensavers while video playback is in progress.</p> - <p class="warning">User agents should not provide a public API to - cause videos to be shown full-screen. A script, combined with a - carefully crafted video file, could trick the user into thinking a - system-modal dialog had been shown, and prompt the user for a - password. There is also the danger of "mere" annoyance, with pages - launching full-screen videos when links are clicked or pages - navigated. Instead, user-agent-specific interface features may be - provided to easily allow the user to obtain a full-screen playback - mode.</p> - </div><div class="example"> <p>This example shows how to detect when a video has failed to play Index: browsers.html =================================================================== RCS file: /sources/public/html5/spec/browsers.html,v retrieving revision 1.1002 retrieving revision 1.1003 diff -u -d -r1.1002 -r1.1003 --- browsers.html 24 Aug 2010 22:26:33 -0000 1.1002 +++ browsers.html 28 Aug 2010 13:50:44 -0000 1.1003 @@ -999,7 +999,7 @@ <a href="#browsing-context-name" title="browsing context name">name</a> of the browsing context that is to be navigated. It must be a <a href="#valid-browsing-context-name-or-keyword">valid browsing context name or keyword</a>. If fewer than two arguments are - provided, then the <var title="">name</var> argument defaults to the + provided, then the <var title="">target</var> argument defaults to the value "<code>_blank</code>".</p> <p>The third argument, <var title="">features</var>, has no effect Index: semantics.html =================================================================== RCS file: /sources/public/html5/spec/semantics.html,v retrieving revision 1.1016 retrieving revision 1.1017 diff -u -d -r1.1016 -r1.1017 --- semantics.html 26 Aug 2010 00:56:42 -0000 1.1016 +++ semantics.html 28 Aug 2010 13:50:45 -0000 1.1017 @@ -734,9 +734,11 @@ does not support the given <a href="infrastructure.html#mime-type">MIME type</a> for the given link relationship, then the UA should not <a href="#concept-link-obtain" title="concept-link-obtain">obtain</a> the resource; if the UA does support the given <a href="infrastructure.html#mime-type">MIME type</a> for the given link - relationship, then the UA should <a href="#concept-link-obtain" title="concept-link-obtain">obtain</a> the resource. If the - attribute is omitted, and the external resource link type does not - have a default type defined, but the user agent would <a href="#concept-link-obtain" title="concept-link-obtain">obtain</a> the resource if the type + relationship, then the UA should <a href="#concept-link-obtain" title="concept-link-obtain">obtain</a> the resource at the + approprite time as specified for the <a href="links.html#external-resource-link">external resource + link</a>'s particular type. If the attribute is omitted, and the + external resource link type does not have a default type defined, + but the user agent would <a href="#concept-link-obtain" title="concept-link-obtain">obtain</a> the resource if the type was known and supported, then the user agent should <a href="#concept-link-obtain" title="concept-link-obtain">obtain</a> the resource under the assumption that it will be supported.</span></p><div class="impl"> Index: index.html =================================================================== RCS file: /sources/public/html5/spec/index.html,v retrieving revision 1.1005 retrieving revision 1.1006 diff -u -d -r1.1005 -r1.1006 --- index.html 24 Aug 2010 23:06:38 -0000 1.1005 +++ index.html 28 Aug 2010 13:50:45 -0000 1.1006 @@ -1835,7 +1835,7 @@ </td></tr><tr><th> <code title="">contextmenu</code> </th><td> <a href="interactive-elements.html#attr-contextmenu" title="attr-contextmenu">HTML elements</a> </td><td> The element's context menu - </td><td> ID* + </td><td> <a href="elements.html#concept-id" title="concept-id">ID</a>* </td></tr><tr><th> <code title="">controls</code> </th><td> <code title="attr-media-controls"><a href="video.html#attr-media-controls">audio</a></code>; <code title="attr-media-controls"><a href="video.html#attr-media-controls">video</a></code> @@ -1889,7 +1889,7 @@ </td></tr><tr><th> <code title="">for</code> </th><td> <code title="attr-label-for"><a href="forms.html#attr-label-for">label</a></code> </td><td> Associate the label with form control - </td><td> ID* + </td><td> <a href="elements.html#concept-id" title="concept-id">ID</a>* </td></tr><tr><th> <code title="">for</code> </th><td> <code title="attr-output-for"><a href="the-button-element.html#attr-output-for">output</a></code> </td><td> Specifies controls from which the output was calculated @@ -1907,7 +1907,7 @@ <code title="attr-fae-form"><a href="association-of-controls-and-forms.html#attr-fae-form">select</a></code>; <code title="attr-fae-form"><a href="association-of-controls-and-forms.html#attr-fae-form">textarea</a></code> </td><td> Associates the control with a <code><a href="forms.html#the-form-element">form</a></code> element - </td><td> ID* + </td><td> <a href="elements.html#concept-id" title="concept-id">ID</a>* </td></tr><tr><th> <code title="">formaction</code> </th><td> <code title="attr-fs-formaction"><a href="association-of-controls-and-forms.html#attr-fs-formaction">button</a></code>; <code title="attr-fs-formaction"><a href="association-of-controls-and-forms.html#attr-fs-formaction">input</a></code> @@ -2009,7 +2009,7 @@ </td></tr><tr><th> <code title="">list</code> </th><td> <code title="attr-input-list"><a href="common-input-element-attributes.html#attr-input-list">input</a></code> </td><td> List of autocomplete options - </td><td> ID* + </td><td> <a href="elements.html#concept-id" title="concept-id">ID</a>* </td></tr><tr><th> <code title="">loop</code> </th><td> <code title="attr-media-loop"><a href="video.html#attr-media-loop">audio</a></code>; <code title="attr-media-loop"><a href="video.html#attr-media-loop">video</a></code> Index: the-button-element.html =================================================================== RCS file: /sources/public/html5/spec/the-button-element.html,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- the-button-element.html 27 Aug 2010 20:36:36 -0000 1.19 +++ the-button-element.html 28 Aug 2010 13:50:45 -0000 1.20 @@ -700,9 +700,9 @@ <dt><var title="">select</var>[<var title="">name</var>]</dt> <dt><var title="">select</var>(<var title="">name</var>)</dt> <dd> - <p>Returns the item with ID or <code title="attr-option-name"><a href="obsolete.html#attr-option-name">name</a></code> <var title="">name</var> from the <a href="#concept-select-option-list" title="concept-select-option-list">list of options</a>.</p> + <p>Returns the item with <a href="elements.html#concept-id" title="concept-id">ID</a> or <code title="attr-option-name"><a href="obsolete.html#attr-option-name">name</a></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><a href="infrastructure.html#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> + <p>Returns null if no element with that <a href="elements.html#concept-id" title="concept-id">ID</a> could be found.</p> </dd> <dt><var title="">select</var> . <code title="dom-select-add"><a href="#dom-select-add">add</a></code>(<var title="">element</var> [, <var title="">before</var> ])</dt> @@ -835,7 +835,8 @@ must <a href="common-dom-interfaces.html#reflect">reflect</a> the respective content attributes of the same name. The <code title="dom-select-size"><a href="#dom-select-size">size</a></code> IDL attribute is <a href="common-dom-interfaces.html#limited-to-only-non-negative-numbers-greater-than-zero">limited to only non-negative numbers greater than - zero</a>.</p> + zero</a>, and has no default value (unlike the <code title="attr-select-size"><a href="#attr-select-size">size</a></code> content attribute that it + reflects).</p> <p>The <code title="dom-cva-willValidate"><a href="association-of-controls-and-forms.html#dom-cva-willvalidate">willValidate</a></code>, <code title="dom-cva-validity"><a href="association-of-controls-and-forms.html#dom-cva-validity">validity</a></code>, and <code title="dom-cva-validationMessage"><a href="association-of-controls-and-forms.html#dom-cva-validationmessage">validationMessage</a></code> attributes, and the <code title="dom-cva-checkValidatity"><a href="association-of-controls-and-forms.html#dom-cva-checkvalidatity">checkValidity()</a></code> and <code title="dom-cva-setCustomValidity"><a href="association-of-controls-and-forms.html#dom-cva-setcustomvalidity">setCustomValidity()</a></code> @@ -1772,7 +1773,7 @@ calculation. The <code title="attr-output-for"><a href="#attr-output-for">for</a></code> attribute, 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 + the value of an <a href="elements.html#concept-id" title="concept-id">ID</a> of an element in the same <code><a href="infrastructure.html#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> Index: dnd.html =================================================================== RCS file: /sources/public/html5/spec/dnd.html,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- dnd.html 25 Aug 2010 22:26:34 -0000 1.16 +++ dnd.html 28 Aug 2010 13:50:44 -0000 1.17 @@ -418,9 +418,9 @@ the <code><a href="#datatransfer">DataTransfer</a></code> object and set the allowed effects (copy, move, link, or some combination).</p><p>For example:</p><pre><p>What fruits do you like?</p> <ol ondragstart="dragStartHandler(event)"> - <li draggable data-value="fruit-apple">Apples</li> - <li draggable data-value="fruit-orange">Oranges</li> - <li draggable data-value="fruit-pear">Pears</li> + <li draggable="true" data-value="fruit-apple">Apples</li> + <li draggable="true" data-value="fruit-orange">Oranges</li> + <li draggable="true" data-value="fruit-pear">Pears</li> </ol> <script> var internalDNDType = 'text/x-example'; // set this to something specific to your site Index: links.html =================================================================== RCS file: /sources/public/html5/spec/links.html,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- links.html 26 Aug 2010 01:56:33 -0000 1.22 +++ links.html 28 Aug 2010 13:50:45 -0000 1.23 @@ -986,6 +986,16 @@ is an alternative stylesheet</dfn>; in this case, the <code title="attr-title"><a href="elements.html#the-title-attribute">title</a></code> attribute must be specified on the <code><a href="semantics.html#the-link-element">link</a></code> element, with a non-empty value.</p><p>The default type for resources given by the <code title="rel-stylesheet"><a href="#link-type-stylesheet">stylesheet</a></code> keyword is <code title="">text/css</code>.</p><div class="impl"> + <p>The appropriate time to <a href="semantics.html#concept-link-obtain" title="concept-link-obtain">obtain</a> the resource is when the + <a href="#external-resource-link" title="external resource link">external resource link</a> + is created or when its element is <a href="infrastructure.html#insert-an-element-into-a-document" title="insert an element + into a document">inserted into a document</a>, whichever happens + last. If the resource is <a href="#the-link-is-an-alternative-stylesheet" title="the link is an alternative + stylesheet">an alternative stylesheet</a> then the user agent may + defer obtaining the resource until it is part of the <span>preferred + style sheet set</span>. <a href="references.html#refsCSSOM">[CSSOM]</a></p> <!-- + what about DOM access of alt style sheets? --> + <p><strong>Quirk</strong>: If the document has been set to <a href="dom.html#quirks-mode">quirks mode</a>, has the <a href="origin-0.html#same-origin">same origin</a> as the <a href="urls.html#url">URL</a> of the external resource<!-- CVE-2010-0654 -->, and Index: spec.html =================================================================== RCS file: /sources/public/html5/spec/spec.html,v retrieving revision 1.1199 retrieving revision 1.1200 diff -u -d -r1.1199 -r1.1200 --- spec.html 27 Aug 2010 21:56:48 -0000 1.1199 +++ spec.html 28 Aug 2010 13:50:45 -0000 1.1200 @@ -315,7 +315,7 @@ <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> - <h2 class="no-num no-toc" id="editor-s-draft-27-august-2010">Editor's Draft 27 August 2010</h2> + <h2 class="no-num no-toc" id="editor-s-draft-28-august-2010">Editor's Draft 28 August 2010</h2> <dl><dt>Latest Published Version:</dt> <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd> <dt>Latest Editor's Draft:</dt> @@ -336,7 +336,7 @@ <a href="Overview.html">single page HTML</a>, <a href="spec.html">multipage HTML</a>, <a href="author/">web developer edition</a>. -This is revision 1.4291. +This is revision 1.4304. </p> <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2010 <a href="http://www.w3.org/"><abbr title="World Wide @@ -421,7 +421,7 @@ Group</a> is the W3C working group responsible for this specification's progress along the W3C Recommendation track. - This specification is the 27 August 2010 Editor's Draft. + This specification is the 28 August 2010 Editor's Draft. </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- required patent boilerplate --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 Index: sections.html =================================================================== RCS file: /sources/public/html5/spec/sections.html,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- sections.html 25 Aug 2010 00:16:33 -0000 1.12 +++ sections.html 28 Aug 2010 13:50:45 -0000 1.13 @@ -744,7 +744,7 @@ </article></pre> <p>Notice the use of <code><a href="#the-footer-element">footer</a></code> to give the information - each comment (such as who wrote it and when): the + for each comment (such as who wrote it and when): the <code><a href="#the-footer-element">footer</a></code> element <em>can</em> appear at the start of its section when appropriate, such as in this case. (Using <code><a href="#the-header-element">header</a></code> in this case wouldn't be wrong either; it's
Received on Saturday, 28 August 2010 13:50:51 UTC