(*** This bug was imported into bugs.kde.org ***) Package: khtml Version: KDE 2.2.2 Severity: normal Installed from: Mandrake RPMs Compiler: Not Specified OS: Linux OS/Compiler notes: Not Specified The CSS attribute :active doesn't seem to be supported in Konqueror. This attribute is useful for a lot of things and it would be really nice if Konqueror supported it. Here's some sample code. When you click on the button on the left you should get the border to become inset. **********Sample Code*********** <html> <head> <style> button { border: 2px outset ButtonFace; background-color: ButtonFace; color: ButtonText; margin: 0 0 0 0; padding: 2px 2px 2px 2px; font: button; cursor: default; white-space: pre; display: inline; } button:active:hover { border-style: inset; padding: 3px 2px 1px 2px; } </style> </head> <body> <form> <button type="button" >A Button Element</button><input type="button" value="An imput element"><input type="button" value="Another Input Element"><br><br> </form> </body> </html> (Submitted via bugs.kde.org)
Works fine with current CVS. --=20 http://www.danielnaber.de
Daniel Does it still work for you? I don't get the "button pressed" inset border w= hen I click on the button using CVS from 10 Feb =0D _________________________________________________________=0D Do You Yahoo!?=0D Get your free @yahoo.com address at http://mail.yahoo.com=0D =0D
Oh I thought the report was about normal "active" links (which also were= =20 not supported but now they are). --=20 http://www.danielnaber.de
There's indeed a difference to Mozilla, the first button in the test case cannot be clicked (i.e. no visual feedback on click). I'm not sure, but I set this to "normal bug" again.
Created attachment 3550 [details] test case
As of KDE 3.3 and KDE 3.4 beta2, the button is depressed on mouse-press, but does not revert to default on mouse-release. So it's better than before, but still not correct.
*** This bug has been marked as a duplicate of 68438 ***