HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
2361[Gecko] [Internet Explorer] [Opera] [Webkit] disabled form controls don't see 'click' events. (credit: op)2008-10-22 14:03
@@ -29997,25 +29997,31 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
   </dl>
 
   <p>The <code>option</code> element represents an option in a
   <code>select</code> element or as part of a list of suggestions in a
   <code>datalist</code> element.</p>
 
   <p>The <dfn title="attr-option-disabled"><code>disabled</code></dfn>
   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>
   element is the value of the <code
   title="attr-option-label">label</code> attribute, if there is one,
   or the <code>textContent</code> of the element, if there isn't.</p>
 
   <p>The <dfn title="attr-option-value"><code>value</code></dfn>
   attribute provides a value for element. The <dfn
   title="concept-option-value">value</dfn> of an <code>option</code>
@@ -30626,20 +30632,26 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
 
   <p>The <dfn title="attr-fe-disabled"><code>disabled</code></dfn>
   content attribute is a <span>boolean attribute</span>.</p>
 
   <p>A form control is <dfn title="concept-fe-disabled">disabled</dfn>
   if its <code title="attr-fe-disabled">disabled</code> attribute is
   set, or if it is a descendant of a <code>fieldset</code> element
   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>
 
   <p>The <dfn title="dom-fe-disabled"><code>disabled</code></dfn> DOM
   attribute must <span>reflect</span> the <code
   title="attr-fe-disabled">disabled</code> content attribute.</p>
 
 
 

|