<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>27245</bug_id>
          
          <creation_ts>2014-11-05 11:06:18 +0000</creation_ts>
          <short_desc>:active should not match &lt;input type=button disabled&gt;</short_desc>
          <delta_ts>2015-01-07 01:26:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>https://html.spec.whatwg.org/#selector-active</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>114548</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-11-05 11:06:18 +0000</bug_when>
    <thetext>Specification: https://html.spec.whatwg.org/multipage/scripting.html
Multipage: https://html.spec.whatwg.org/multipage/#selector-active
Complete: https://html.spec.whatwg.org/#selector-active
Referrer: https://html.spec.whatwg.org/multipage/

Comment:
:active should not match &lt;input type=button disabled&gt;

&quot;input elements whose type attribute is in the Submit Button, Image Button,
Reset Button, or Button state&quot;

add: &quot;that are not disabled&quot;

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3286

Posted from: 90.230.218.37 by simonp@opera.com
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.101 Safari/537.36 OPR/25.0.1614.35 (Edition beta)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114578</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-11-06 00:44:27 +0000</bug_when>
    <thetext>Ah, yeah. Maybe I should make this more generic to handle &lt;button&gt; at the same time, rather than both of them being special-cased.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114686</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-11-07 21:35:38 +0000</bug_when>
    <thetext>*** Bug 27246 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114687</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-11-07 21:36:27 +0000</bug_when>
    <thetext>Also disabled elements that &quot;have their tabindex focus flag set&quot;, or inert elements.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116862</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2015-01-07 00:28:18 +0000</bug_when>
    <thetext>Note that this doesn&apos;t apply to the magic via &lt;label&gt; or to text fields:

http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=3352
http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=3353</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116863</commentid>
    <comment_count>5</comment_count>
    <who name="">contributor</who>
    <bug_when>2015-01-07 00:52:56 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8875.
Check-in comment: Fix the definition of :active to not be self-contradictory and to slightly better match reality for buttons. I&apos;ll submit a second patch that makes this readable in a second.
https://html5.org/tools/web-apps-tracker?from=8874&amp;to=8875</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116865</commentid>
    <comment_count>6</comment_count>
    <who name="">contributor</who>
    <bug_when>2015-01-07 01:26:40 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8877.
Check-in comment: Reword the :active logic to be at least somewhat readable.
https://html5.org/tools/web-apps-tracker?from=8876&amp;to=8877</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>