spectrum-web-components icon indicating copy to clipboard operation
spectrum-web-components copied to clipboard

[Bug]: Review proper processing of ":active" styles

Open Westbrook opened this issue 1 year ago • 0 comments
trafficstars

Code of conduct

  • [X] I agree to follow this project's code of conduct.

Impacted component(s)

?

Expected behavior

:active should be used only on elements that can enter such a state. Elements that cannot should leverage [active] and apply appropriate JS to handle moving in and our of that synthetic state.

Actual behavior

Rules like :host:active #box:before { in <sp-checkbox> do not get applied.

Screenshots

No response

What browsers are you seeing the problem in?

No response

How can we reproduce this issue?

No response

Sample code that illustrates the problem

No response

Logs taken while reproducing problem

No response

Westbrook avatar Feb 05 '24 17:02 Westbrook