[html5] r2361 - [giow] (2) disabled form controls don't see 'click' events. (credit: op)
whatwg at whatwg.org
whatwg at whatwg.org
Wed Oct 22 07:03:01 PDT 2008
Author: ianh
Date: 2008-10-22 07:03:00 -0700 (Wed, 22 Oct 2008)
New Revision: 2361
Modified:
index
source
Log:
[giow] (2) disabled form controls don't see 'click' events. (credit: op)
Modified: index
===================================================================
--- index 2008-10-22 11:21:26 UTC (rev 2360)
+++ index 2008-10-22 14:03:00 UTC (rev 2361)
@@ -26759,10 +26759,14 @@
<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
+ <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>
+ <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>
+
<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,
@@ -27262,6 +27266,10 @@
whose <code title=attr-fieldset-disabled><a href=#attr-fieldset-disabled>disabled</a></code> attribute
is set.</p>
+ <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>
+
<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>
Modified: source
===================================================================
--- source 2008-10-22 11:21:26 UTC (rev 2360)
+++ source 2008-10-22 14:03:00 UTC (rev 2361)
@@ -30004,11 +30004,17 @@
attribute is a <span>boolean attribute</span>. An
<code>option</code> element is <dfn
title="concept-option-disabled">disabled</dfn> if its <code
- title="attr-option-disabled">disabled</code> is present or if it is
- a child of an <code>optgroup</code> element whose <code
+ title="attr-option-disabled">disabled</code> attribute is present or
+ if it is a child of an <code>optgroup</code> element whose <code
title="attr-optgroup-disabled">disabled</code> attribute is
present.</p>
+ <p>An <code>option</code> element that is <span
+ title="attr-option-disabled">disabled</span> must prevent any <code
+ title="event-click">click</code> events that are <span title="queue
+ a task">queued</span> on the <span>user interaction task
+ source</span> from being dispatched on the element.</p>
+
<p>The <dfn title="attr-option-label"><code>label</code></dfn>
attribute provides a label for element. The <dfn
title="concept-option-label">label</dfn> of an <code>option</code>
@@ -30633,6 +30639,12 @@
whose <code title="attr-fieldset-disabled">disabled</code> attribute
is set.</p>
+ <p>A form control that is <span
+ title="concept-fe-disabled">disabled</span> must prevent any <code
+ title="event-click">click</code> events that are <span title="queue
+ a task">queued</span> on the <span>user interaction task
+ source</span> from being dispatched on the element.</p>
+
<p><strong>Constraint validation:</strong> If an element is <span
title="concept-fe-disabled">disabled</span>, it is <span>barred from
constraint validation</span>.</p>
More information about the Commit-Watchers
mailing list