| Summary: | "go" button on www.amazon.com is a white quad instead of a "go" icon | ||
|---|---|---|---|
| Product: | [Applications] konqueror | Reporter: | Michael Seiwert <michael.seiwert> |
| Component: | khtml | Assignee: | Konqueror Bugs <konqueror-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | white amazon go button | ||
|
Description
Michael Seiwert
2009-01-06 12:54:22 UTC
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 |