- From: Khushal Sagar via GitHub <sysbot+gh@w3.org>
- Date: Fri, 05 Jan 2024 22:05:22 +0000
- To: public-css-archive@w3.org
> I think :hover should not match if you can't activate the button during the transition, because otherwise it gives the expectation that the user can click it That's an interesting way to look at it. If you're using `hover` to style an element to indicate user interaction (like a button which changes color) then yeah you don't want `hover` to be activated while its being rendered by the pseudo. If we did add a browser capability to route events that hit the pseudo back to the DOM element then it would be ok? In the short term, authors will need to rely on non-VT ways to animate visual changes from hover (like CSS transitions). Otherwise you will see an abrupt change when the transition ends and `hover` is activated. But you would have seen that anyway if hover state changes for that element outside of a transition. -- GitHub Notification of comment by khushalsagar Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9586#issuecomment-1879310260 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 5 January 2024 22:05:24 UTC