This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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 <input type=button disabled> "input elements whose type attribute is in the Submit Button, Image Button, Reset Button, or Button state" add: "that are not disabled" 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)
Ah, yeah. Maybe I should make this more generic to handle <button> at the same time, rather than both of them being special-cased.
*** Bug 27246 has been marked as a duplicate of this bug. ***
Also disabled elements that "have their tabindex focus flag set", or inert elements.
Note that this doesn't apply to the magic via <label> 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
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'll submit a second patch that makes this readable in a second. https://html5.org/tools/web-apps-tracker?from=8874&to=8875
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&to=8877