Bug 133028 - [test case] form input element badly handles background-color:transparent
Summary: [test case] form input element badly handles background-color:transparent
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 3.5
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-26 15:17 UTC by david Delbecq
Modified: 2008-05-29 14:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
test case (532 bytes, text/html)
2006-08-26 15:21 UTC, david Delbecq
Details

Note You need to log in before you can comment on or make changes to this bug.
Description david Delbecq 2006-08-26 15:17:01 UTC
Version:            (using KDE KDE 3.5.2)
Installed from:    Ubuntu Packages
OS:                Linux

Hello,

Setting the background-color of html form input elements to 'transparent' reset the background-color of the input to system default.

While it is understandable that this property is not handled by the input element for various redering reasons, it behave wrongly in the fact it replace transparent by system default. If a css property is to not be handled by a browser, css specification states it should ignore the property and use the already defined one.


<input type="text" style="color:white;background-color:red;background-color:transparent" name="test" value="test"/>

The above html input tag should be rendered with a transparent background and, if transparent is not supported, be handled with the previously defined background color: red (according to css specifications). However it is rendered with a white background, which is problematic considering the white color :)
Comment 1 david Delbecq 2006-08-26 15:21:50 UTC
Created attachment 17513 [details]
test case

Show behaviour of background-color:transparent.
The input text should always be visible whatever, but the
background-transparent make it white background instead of red or black
Comment 2 Martin Fitzpatrick 2007-01-10 02:38:37 UTC
Bug confirmed on KDE 3.5.5 / Kubuntu 6.10. Transparent renders as default background color. Thanks for the test case David - can someone else confirm to mark this as new bug?
Comment 3 Martin Fitzpatrick 2008-04-05 23:06:34 UTC
Appears to be fixed in 4.0.3/Kubuntu. Can anyone confirm for 3.5.9 to close? Thanks.
Comment 4 Michael Zanetti 2008-04-20 16:49:20 UTC
fixed in r798527.
Still present in 3.5.9
Comment 5 FiNeX 2008-05-05 12:53:11 UTC
Confirmed on 3.5.9.
Fixed in trunk.

Should we close this as "LATER" ?
Comment 6 FiNeX 2008-05-05 12:53:50 UTC
Anyway I don't know if this will be backported on 3.5.
Comment 7 Germain Garand 2008-05-29 14:35:19 UTC
it won't.