Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write tests for interaction of <label> and :active #20617

Open
domenic opened this issue Dec 4, 2019 · 0 comments
Open

Write tests for interaction of <label> and :active #20617

domenic opened this issue Dec 4, 2019 · 0 comments

Comments

@domenic
Copy link
Member

domenic commented Dec 4, 2019

From whatwg/html#5009 (comment), by @annevk:

One other thing is that label can be activated and this causes the control it points towards to also match :active. Given how that's currently defined (one definition of active is mouse down) that should always work and would be testable.

This originally came up in the context of form-associated custom elements but I don't believe they're special in this regard; this is a general test that could be written for any labeled control.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants