- From: Peter Linss via GitHub <sysbot+gh@w3.org>
- Date: Fri, 06 May 2022 22:31:15 +0000
- To: public-css-archive@w3.org
I'm not talking about redefining `:active` for everything here*, but only defining it to have a different behavior for a single, new, element. I don't see that breaking existing content (unless someone really did something when a dialog is being clicked on). The use case is for making the active dialog visually distinctive when the author is using multiple nested modal dialogs, like putting a highlight around it (or dimming the non-active ones). (I also don't see a use case for styling a dialog that's being clicked on, content within the dialog, sure, but not the dialog itself, unless it's being dragged, but that's something else and shouldn't be considered active anyway.) (*) I did mention that it should only apply to non-clickable elements when there's an event handler present, but that's an entirely separate issue (and not so much a redefinition as an argument to respect the original specified definition), and I accept has web compat concerns. -- GitHub Notification of comment by plinss Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7258#issuecomment-1120055323 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 6 May 2022 22:31:16 UTC