- From: poot <cvsmail@w3.org>
- Date: Wed, 22 Oct 2008 23:05:45 +0900 (JST)
- To: public-html-diffs@w3.org
disabled form controls don't see 'click' events. (credit: op) (whatwg r2361) disabled http://people.w3.org/mike/diffs/html5/spec/Overview.1.1534.html#concept-fe-disabled HTMLOptionElement http://people.w3.org/mike/diffs/html5/spec/Overview.1.1534.html#htmloptionelement checkedness http://people.w3.org/mike/diffs/html5/spec/Overview.1.1534.html#concept-fe-checked value http://people.w3.org/mike/diffs/html5/spec/Overview.1.1534.html#attr-option-value label http://people.w3.org/mike/diffs/html5/spec/Overview.1.1534.html#concept-option-label disabled http://people.w3.org/mike/diffs/html5/spec/Overview.1.1534.html#concept-option-disabled label http://people.w3.org/mike/diffs/html5/spec/Overview.1.1534.html#attr-option-label 4.10.13.3 A form control's value http://people.w3.org/mike/diffs/html5/spec/Overview.1.1534.html#a-form-control-s-value disabled http://people.w3.org/mike/diffs/html5/spec/Overview.1.1534.html#dom-fe-disabled disabled http://people.w3.org/mike/diffs/html5/spec/Overview.1.1534.html#attr-option-disabled http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1533&r2=1.1534&f=h http://html5.org/tools/web-apps-tracker?from=2360&to=2361 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1533 retrieving revision 1.1534 diff -u -d -r1.1533 -r1.1534 --- Overview.html 22 Oct 2008 11:21:31 -0000 1.1533 +++ Overview.html 22 Oct 2008 14:03:05 -0000 1.1534 @@ -21650,9 +21650,11 @@ <code><a href=#the-select-element>select</a></code> element or as part of a list of suggestions in a <code><a href=#the-datalist-element>datalist</a></code> element.<p>The <dfn id=attr-option-disabled title=attr-option-disabled><code>disabled</code></dfn> attribute is a <a href=#boolean-attribute>boolean attribute</a>. An - <code><a href=#the-option-element>option</a></code> element is <dfn id=concept-option-disabled title=concept-option-disabled>disabled</dfn> if its <code title=attr-option-disabled><a href=#attr-option-disabled>disabled</a></code> is present or if it is - a child of an <code><a href=#the-optgroup-element>optgroup</a></code> element whose <code title=attr-optgroup-disabled><a href=#attr-optgroup-disabled>disabled</a></code> attribute is - present.<p>The <dfn id=attr-option-label title=attr-option-label><code>label</code></dfn> + <code><a href=#the-option-element>option</a></code> element is <dfn id=concept-option-disabled title=concept-option-disabled>disabled</dfn> if its <code title=attr-option-disabled><a href=#attr-option-disabled>disabled</a></code> attribute is present or + if it is a child of an <code><a href=#the-optgroup-element>optgroup</a></code> element whose <code title=attr-optgroup-disabled><a href=#attr-optgroup-disabled>disabled</a></code> attribute is + present.<p>An <code><a href=#the-option-element>option</a></code> element that is <a href=#attr-option-disabled title=attr-option-disabled>disabled</a> must prevent any <code title=event-click>click</code> events that are <a href=#queue-a-task title="queue + a task">queued</a> on the <a href=#user-interaction-task-source>user interaction task + source</a> from being dispatched on the element.<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><a href=#textcontent>textContent</a></code> of the element, if there isn't.<p>The <dfn id=attr-option-value title=attr-option-value><code>value</code></dfn> @@ -21994,7 +21996,9 @@ if its <code title=attr-fe-disabled><a href=#attr-fe-disabled>disabled</a></code> attribute is set, or if it is a descendant of a <code><a href=#the-fieldset-element>fieldset</a></code> element whose <code title=attr-fieldset-disabled><a href=#attr-fieldset-disabled>disabled</a></code> attribute - is set.<p><strong>Constraint validation:</strong> If an element is <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a>, it is <a href=#barred-from-constraint-validation>barred from + is set.<p>A form control that is <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a> must prevent any <code title=event-click>click</code> events that are <a href=#queue-a-task title="queue + a task">queued</a> on the <a href=#user-interaction-task-source>user interaction task + source</a> from being dispatched on the element.<p><strong>Constraint validation:</strong> If an element is <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a>, it is <a href=#barred-from-constraint-validation>barred from constraint validation</a>.<p>The <dfn id=dom-fe-disabled title=dom-fe-disabled><code>disabled</code></dfn> DOM attribute must <a href=#reflect>reflect</a> the <code title=attr-fe-disabled><a href=#attr-fe-disabled>disabled</a></code> content attribute.<h5 id=a-form-control-s-value><span class=secno>4.10.13.3 </span>A form control's value</h5><p>Form controls have a <dfn id=concept-fe-value title=concept-fe-value>value</dfn> and a <dfn id=concept-fe-checked title=concept-fe-checked>checkedness</dfn>. (The latter
Received on Wednesday, 22 October 2008 14:06:28 UTC