- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 05 May 2011 08:46:55 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv3946 Modified Files: acknowledgements.html common-dom-interfaces.html links.html spec.html Log Message: make :indeterminate apply to indeterminate <progress> bars (whatwg r6082) [updated by splitter] Index: common-dom-interfaces.html =================================================================== RCS file: /sources/public/html5/spec/common-dom-interfaces.html,v retrieving revision 1.44 retrieving revision 1.45 diff -u -d -r1.44 -r1.45 --- common-dom-interfaces.html 5 May 2011 07:46:44 -0000 1.44 +++ common-dom-interfaces.html 5 May 2011 08:46:52 -0000 1.45 @@ -388,18 +388,19 @@ attribute must set the content attribute to the specified literal value.</p> - <p>If a reflecting IDL attribute is a <code>DOMString</code> whose - content attribute is an <a href="common-microsyntaxes.html#enumerated-attribute">enumerated attribute</a>, and the - IDL attribute is <dfn id="limited-to-only-known-values">limited to only known values</dfn>, then, on - getting, the IDL attribute must return the conforming value - associated with the state the attribute is in (in its canonical - case), or the empty string if the attribute is in a state that has - no associated keyword value; and on setting, the content attribute - must be set to the specified new value.</p> + <p>If a reflecting IDL attribute is a <code>DOMString</code> + attribute whose content attribute is an <a href="common-microsyntaxes.html#enumerated-attribute">enumerated + attribute</a>, and the IDL attribute is <dfn id="limited-to-only-known-values">limited to only + known values</dfn>, then, on getting, the IDL attribute must return + the conforming value associated with the state the attribute is in + (in its canonical case), or the empty string if the attribute is in + a state that has no associated keyword value; and on setting, the + content attribute must be set to the specified new value.</p> - <p>If a reflecting IDL attribute is a <code>DOMString</code> but - doesn't fall into any of the above categories, then the getting and - setting must be done in a transparent, case-preserving manner.</p> + <p>If a reflecting IDL attribute is a <code>DOMString</code> + attribute but doesn't fall into any of the above categories, then + the getting and setting must be done in a transparent, + case-preserving manner.</p> <p>If a reflecting IDL attribute is a <code title="">boolean</code> attribute, then on getting the IDL attribute must return true if the @@ -409,7 +410,7 @@ set to true. (This corresponds to the rules for <a href="common-microsyntaxes.html#boolean-attribute" title="boolean attribute">boolean content attributes</a>.)</p> - <p>If a reflecting IDL attribute is a signed integer type + <p>If a reflecting IDL attribute has a signed integer type (<code>long</code>) then, on getting, the content attribute must be parsed according to the <a href="common-microsyntaxes.html#rules-for-parsing-integers" title="rules for parsing integers">rules for parsing signed integers</a>, and if that is @@ -422,7 +423,7 @@ a <a href="common-microsyntaxes.html#valid-integer">valid integer</a> and then that string must be used as the new content attribute value.</p> - <p>If a reflecting IDL attribute is a signed integer type + <p>If a reflecting IDL attribute has a signed integer type (<code>long</code>) that is <dfn id="limited-to-only-non-negative-numbers">limited to only non-negative numbers</dfn> then, on getting, the content attribute must be parsed according to the <a href="common-microsyntaxes.html#rules-for-parsing-non-negative-integers">rules for parsing non-negative @@ -437,7 +438,7 @@ number as a <a href="common-microsyntaxes.html#valid-non-negative-integer">valid non-negative integer</a> and then that string must be used as the new content attribute value.</p> - <p>If a reflecting IDL attribute is an <em>unsigned</em> integer + <p>If a reflecting IDL attribute has an <em>unsigned</em> integer type (<code>unsigned long</code>) then, on getting, the content attribute must be parsed according to the <a href="common-microsyntaxes.html#rules-for-parsing-non-negative-integers">rules for parsing non-negative integers</a>, and if that is successful, and the @@ -450,7 +451,7 @@ integer</a> and then that string must be used as the new content attribute value.</p> - <p>If a reflecting IDL attribute is an unsigned integer type + <p>If a reflecting IDL attribute has an unsigned integer type (<code>unsigned long</code>) that is <dfn id="limited-to-only-non-negative-numbers-greater-than-zero">limited to only non-negative numbers greater than zero</dfn>, then the behavior is similar to the previous case, but zero is not allowed. On getting, @@ -467,7 +468,7 @@ and then that string must be used as the new content attribute value.</p> - <p>If a reflecting IDL attribute is a floating point number type + <p>If a reflecting IDL attribute has a floating point number type (<code>double</code>), then, on getting, the content attribute must be parsed according to the <a href="common-microsyntaxes.html#rules-for-parsing-floating-point-number-values">rules for parsing floating point number values</a>, and if that is successful, the resulting value @@ -482,20 +483,19 @@ throw an exception on setting, as <a href="infrastructure.html#float-nan">defined earlier</a>.</p> - <p>If a reflecting IDL attribute is of the type + <p>If a reflecting IDL attribute has the type <code><a href="#domtokenlist">DOMTokenList</a></code> or <code><a href="#domsettabletokenlist">DOMSettableTokenList</a></code>, then on getting it must return a <code><a href="#domtokenlist">DOMTokenList</a></code> or <code><a href="#domsettabletokenlist">DOMSettableTokenList</a></code> object (as appropriate) whose - underlying string is the element's corresponding content - attribute. When the object mutates its underlying string, the - content attribute must itself be immediately mutated. When the - attribute is absent, then the string represented by the object is - the empty string; when the object mutates this empty string, the - user agent must add the corresponding content attribute, with its - value set to the value it would have been set to after mutating the - empty string. The same <code><a href="#domtokenlist">DOMTokenList</a></code> or - <code><a href="#domsettabletokenlist">DOMSettableTokenList</a></code> object must be returned every time - for each attribute.</p> + underlying string is the element's corresponding content attribute. + When the object mutates its underlying string, the content attribute + must itself be immediately mutated. When the attribute is absent, + then the string represented by the object is the empty string; when + the object mutates this empty string, the user agent must add the + corresponding content attribute, with its value set to the value it + would have been set to after mutating the empty string. The same + <code><a href="#domtokenlist">DOMTokenList</a></code> or <code><a href="#domsettabletokenlist">DOMSettableTokenList</a></code> + object must be returned every time for each attribute.</p> <div class="example"> Index: acknowledgements.html =================================================================== RCS file: /sources/public/html5/spec/acknowledgements.html,v retrieving revision 1.1073 retrieving revision 1.1074 diff -u -d -r1.1073 -r1.1074 --- acknowledgements.html 27 Apr 2011 05:46:50 -0000 1.1073 +++ acknowledgements.html 5 May 2011 08:46:52 -0000 1.1074 @@ -350,7 +350,7 @@ <a href="spec.html#contents">Table of contents</a> </div> - <h2 class="no-num" id="acknowledgements">Acknowledgements</h2><p class="XXX annotation"><span><a href="http://www.w3.org/html/wg/tracker/issues/139">ISSUE-139</a> (ack-microdata) blocks progress to Last Call</span></p><!-- ACKS --><p>Thanks to Tim Berners Lee for inventing HTML, without which none + <h2 class="no-num" id="acknowledgements">Acknowledgements</h2><p class="XXX annotation"><span><a href="http://www.w3.org/html/wg/tracker/issues/139">ISSUE-139</a> (ack-microdata) blocks progress to Last Call</span></p><!-- ACKS --><p>Thanks to Tim Berners-Lee for inventing HTML, without which none of this would exist.</p><p>Thanks to Aankhen, Index: links.html =================================================================== RCS file: /sources/public/html5/spec/links.html,v retrieving revision 1.65 retrieving revision 1.66 diff -u -d -r1.65 -r1.66 --- links.html 5 May 2011 00:47:39 -0000 1.65 +++ links.html 5 May 2011 08:46:53 -0000 1.66 @@ -1770,12 +1770,19 @@ <dd> + + <p>The <code title="selector-indeterminate"><a href="#selector-indeterminate">:indeterminate</a></code> - pseudo-class must match <code><a href="the-input-element.html#the-input-element">input</a></code> elements whose <code title="attr-input-type"><a href="the-input-element.html#attr-input-type">type</a></code> attribute is in the <a href="number-state.html#checkbox-state" title="attr-input-type-checkbox">Checkbox</a> state and whose - <code title="dom-input-indeterminate"><a href="the-input-element.html#dom-input-indeterminate">indeterminate</a></code> IDL - attribute is set to true.</p> + pseudo-class must match any element falling into one of the + following categories:</p> - </dd> + <ul><li><code><a href="the-input-element.html#the-input-element">input</a></code> elements whose <code title="attr-input-type"><a href="the-input-element.html#attr-input-type">type</a></code> attribute is in the <a href="number-state.html#checkbox-state" title="attr-input-type-checkbox">Checkbox</a> state and whose + <code title="dom-input-indeterminate"><a href="the-input-element.html#dom-input-indeterminate">indeterminate</a></code> IDL + attribute is set to true</li> + + <li><code><a href="the-button-element.html#the-progress-element">progress</a></code> elements with no <code title="attr-progress-value"><a href="the-button-element.html#attr-progress-value">value</a></code> content attribute</li> + + </ul></dd> <dt><dfn id="selector-default" title="selector-default"><code>:default</code></dfn></dt> Index: spec.html =================================================================== RCS file: /sources/public/html5/spec/spec.html,v retrieving revision 1.1472 retrieving revision 1.1473 diff -u -d -r1.1472 -r1.1473 --- spec.html 5 May 2011 07:46:44 -0000 1.1472 +++ spec.html 5 May 2011 08:46:53 -0000 1.1473 @@ -367,7 +367,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.4883. +This is revision 1.4886. </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
Received on Thursday, 5 May 2011 08:46:57 UTC