Version: (using Devel) Compiler: gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) OS: Linux Installed from: Compiled sources The "go" button at www.amazon.com shows a white quad instead of a "go"button icon. If hovering over the white quad the icon will be displayed corretly. Another example is the searchbutton at www.emusic.com.
Created attachment 29972 [details] white amazon go button I can confirm the bug on www.amazon.com using r906622
Reduction: <style type="text/css"> #navGoButton { width: 32px; height: 38px; } #navGoButton input { width: 32px; } #navGoButton { background: green; } #navGoButton input:hover { background: blue; } </style> <div style="border:1px solid green;"> <div id="navGoButton"> <input src= "http://g-ecx.images-amazon.com/images/G/01/x-locale/common/transparent-pixel._V42752373_.gif" type="image"> </div> </div>
Patch: Index: css/html4.css =================================================================== --- css/html4.css (revision 892610) +++ css/html4.css (working copy) @@ -390,6 +390,10 @@ color: windowtext; } +input[type="image"] { + background-color: transparent; +} + isindex { color: windowtext; font-size: small; }
Patch fixes the problem for me. Thanks Maksim!
Err, I didn't commit this yet.
SVN commit 909002 by orlovich: We don't want to paint a background for input type=image as the image may end up being transparent. Fixes the amazon.com go button. BUG:179795 M +4 -0 html4.css WebSVN link: http://websvn.kde.org/?view=rev&revision=909002
SVN commit 909004 by orlovich: automatically merged revision 909002: We don't want to paint a background for input type=image as the image may end up being transparent. Fixes the amazon.com go button. BUG:179795 M +4 -0 html4.css WebSVN link: http://websvn.kde.org/?view=rev&revision=909004