| Summary: | [test case] button background images not displayed correctly | ||
|---|---|---|---|
| Product: | [Applications] konqueror | Reporter: | jason |
| Component: | khtml forms | Assignee: | Konqueror Bugs <konqueror-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | yez |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
The button rendered by Konqueror
The button as rendered by Mozilla The actual background image used in the style definition |
||
Created attachment 4805 [details]
The button rendered by Konqueror
Created attachment 4806 [details]
The button as rendered by Mozilla
Created attachment 4807 [details]
The actual background image used in the style definition
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">
just for reference: don't expect the border, width and height to have any effect. *** Bug 83592 has been marked as a duplicate of this bug. *** |
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';">