Bug 75756 - [test case] button background images not displayed correctly
Summary: [test case] button background images not displayed correctly
Status: RESOLVED DUPLICATE of bug 95690
Alias: None
Product: konqueror
Classification: Applications
Component: khtml forms (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 83592 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-21 07:48 UTC by jason
Modified: 2005-08-17 15:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
The button rendered by Konqueror (531 bytes, image/png)
2004-02-21 07:49 UTC, jason
Details
The button as rendered by Mozilla (1.20 KB, image/png)
2004-02-21 07:50 UTC, jason
Details
The actual background image used in the style definition (1.26 KB, image/gif)
2004-02-21 07:51 UTC, jason
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jason 2004-02-21 07:48:36 UTC
Version:           3.2.0 (using KDE 3.2.0, Gentoo)
Compiler:          gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
OS:          Linux (i686) release 2.6.2-gentoo-r1

Given the following style and button definition, konq does not appear to be rendering the background image specified in the style definition.

See attachments for example screen shots (mozilla vs. konq) and the actual background image.

<style>
.button {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
    font-variant: normal;
    width: 64px;
    background-image: url('/panama/dcx/img/button_background_64px.gif');
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #FFFFFF;
    letter-spacing: normal;
    text-decoration: none;
    text-transform: none;
    border: 0px solid;
    height: 23px;
    color: #FFFFFF;
    cursor: hand;
}


.button64px {
    width: 64px;
    background-image: url('/panama/dcx/img/button_background_64px.gif');
}
</style>

<input type="button" value="Delete" class="button button64px" onclick=" location.href='/panama/business/promotion/postPromotionDelete.do?PROMOTION_ID=47000000003';">
Comment 1 jason 2004-02-21 07:49:26 UTC
Created attachment 4805 [details]
The button rendered by Konqueror
Comment 2 jason 2004-02-21 07:50:11 UTC
Created attachment 4806 [details]
The button as rendered by Mozilla
Comment 3 jason 2004-02-21 07:51:33 UTC
Created attachment 4807 [details]
The actual background image used in the style definition
Comment 4 cjacker 2004-11-25 10:13:32 UTC
Yes, It is a real problem:
I also found this bug at some website:

this is a test case

<input type=button value="" onClick="self.location.href='/cgi-bin/index';" style="background:url('guest.jpg'); border:0; width:47; height:23">


Comment 5 Stephan Kulow 2004-11-25 10:33:15 UTC
just for reference: don't expect the border, width and height to have any effect.
Comment 6 Maksim Orlovich 2004-12-11 17:32:41 UTC
*** Bug 83592 has been marked as a duplicate of this bug. ***
Comment 7 Tommi Tervo 2005-08-17 15:14:01 UTC

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