- From: poot <cvsmail@w3.org>
- Date: Tue, 13 Apr 2010 09:53:27 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Try to match implementations more closely for <select multiple size=2> (whatwg r5010) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4026&r2=1.4027&f=h http://html5.org/tools/web-apps-tracker?from=5009&to=5010 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4026 retrieving revision 1.4027 diff -u -d -r1.4026 -r1.4027 --- Overview.html 13 Apr 2010 00:27:02 -0000 1.4026 +++ Overview.html 13 Apr 2010 00:53:10 -0000 1.4027 @@ -31646,10 +31646,26 @@ false.</p> <p>If the <code title="attr-select-multiple"><a href="#attr-select-multiple">multiple</a></code> - attribute is absent, whenever there are no <code><a href="#the-option-element">option</a></code> - elements in the <code><a href="#the-select-element">select</a></code> element's <a href="#concept-select-option-list" title="concept-select-option-list">list of options</a> that have - their <a href="#concept-option-selectedness" title="concept-option-selectedness">selectedness</a> - set to true, the user agent must set the <a href="#concept-option-selectedness" title="concept-option-selectedness">selectedness</a> of the first + attribute is absent and the element's <a href="#concept-select-size" title="concept-select-size">display size</a> is greater than 1, + then the user agent should also allow the user to request that the + <code><a href="#the-option-element">option</a></code> whose <a href="#concept-option-selectedness" title="concept-option-selectedness">selectedness</a> is true, if + any, be unselected. Upon this request being conveyed to the user + agent, and before the relevant user interaction event <!-- + interaction event spec point --> is queued (e.g. before the <code title="event-click"><a href="#event-click">click</a></code> event), the user agent must set the + <a href="#concept-option-selectedness" title="concept-option-selectedness">selectedness</a> of + that <code><a href="#the-option-element">option</a></code> element to false and then <a href="#queue-a-task">queue a + task</a> to <a href="#fire-a-simple-event">fire a simple event</a> that bubbles named + <code title="event-change">change</code> at the <code><a href="#the-select-element">select</a></code> + element, using the <a href="#user-interaction-task-source">user interaction task source</a> as the + task source, then <a href="#broadcast-formchange-events">broadcast <code title="event-formchange">formchange</code> events</a> at the + element's <a href="#form-owner">form owner</a>.</p> + + <p>If the <code title="attr-select-multiple"><a href="#attr-select-multiple">multiple</a></code> + attribute is absent and the element's <a href="#concept-select-size" title="concept-select-size">display size</a> is 1, then whenever + there are no <code><a href="#the-option-element">option</a></code> elements in the <code><a href="#the-select-element">select</a></code> + element's <a href="#concept-select-option-list" title="concept-select-option-list">list of + options</a> that have their <a href="#concept-option-selectedness" title="concept-option-selectedness">selectedness</a> set to true, + the user agent must set the <a href="#concept-option-selectedness" title="concept-option-selectedness">selectedness</a> of the first <code><a href="#the-option-element">option</a></code> element in the <a href="#concept-select-option-list" title="concept-select-option-list">list of options</a> in <a href="#tree-order">tree order</a> that is not <a href="#concept-option-disabled" title="concept-option-disabled">disabled</a>, if any, to true.</p>
Received on Tuesday, 13 April 2010 00:53:56 UTC