This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27247 - :active should match the labeled control of a label element that is currently matching :active (like :hover)
Summary: :active should match the labeled control of a label element that is currently...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: https://html.spec.whatwg.org/#selecto...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-05 12:19 UTC by contributor
Modified: 2015-01-07 08:05 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2014-11-05 12:19:44 UTC
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 match the labeled control of a label element that is currently
matching :active (like :hover)
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3288

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)
Comment 1 Florian Rivoal 2014-11-10 13:43:42 UTC
Browsers are already interoperable about this, as this works on Firefox, Chrome, Safari and IE (tested IE11).

Presto does not, but it shouldn't matter.
Comment 2 Ian 'Hixie' Hickson 2015-01-06 23:33:23 UTC
This seems like it would lead to really bad UI (e.g. making it look like buttons are being pressed even though they aren't), with no way to work around it (there's no :active-no-really-not-someone-else pseudo-class). But since it's interoperably implemented... :-(
Comment 3 contributor 2015-01-06 23:34:08 UTC
Checked in as WHATWG revision r8873.
Check-in comment: Match reality better for :active, even though this is suboptimal UI-wise.
https://html5.org/tools/web-apps-tracker?from=8872&to=8873
Comment 4 Simon Pieters 2015-01-07 08:05:13 UTC
You wouldn't have a label for a button. For radio buttons and checkboxes it seems to me it is good UI.