Bug 36839 - [test case] CSS attribute :active not working for <button>
Summary: [test case] CSS attribute :active not working for <button>
Status: RESOLVED DUPLICATE of bug 68438
Alias: None
Product: konqueror
Classification: Applications
Component: khtml forms (show other bugs)
Version: unspecified
Platform: Mandrake RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-05 05:48 UTC by djoham
Modified: 2005-02-13 23:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
test case (561 bytes, text/html)
2003-12-04 08:01 UTC, Stephan Kulow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description djoham 2002-01-05 05:34:58 UTC
(*** 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)
Comment 1 Daniel Naber 2002-01-30 20:59:08 UTC
Works fine with current CVS.

--=20
http://www.danielnaber.de
Comment 2 David Joham 2002-02-11 09:57:02 UTC
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
Comment 3 Daniel Naber 2002-03-23 20:58:39 UTC
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
Comment 4 Daniel Naber 2002-11-03 14:44:27 UTC
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.  
Comment 5 Stephan Kulow 2003-12-04 08:01:45 UTC
Created attachment 3550 [details]
test case
Comment 6 Leo Savernik 2005-02-13 22:22:58 UTC
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.
Comment 7 Leo Savernik 2005-02-13 23:03:45 UTC

*** This bug has been marked as a duplicate of 68438 ***