(*** This bug was imported into bugs.kde.org ***) Package: khtml Version: KDE 3.0.0 Severity: normal Installed from: SuSE RPMs Compiler: Not Specified OS: Linux OS/Compiler notes: SUSE 8.0 Hi i found some bad rendering that is really given me a headache on my companys website (www.ibmiller.de). this works in mozillaiens6 and in ns4 the dynamic part doesn't but at least the rendering is ok. Problem is i have a <span> which has a certain class defining a background-color and within the span there is a link. konqueror doesn't render the link in the backgroundcolor it should: <HTML> <HEAD> <TITLE>Testcase inheritance of bgcolor</TITLE> <STYLE type="text/css"> span.u{ background-color:blue; } A.black{ color:black; text-decoration:none; } </STYLE> </HEAD> <BODY> <SPAN class="u"> <A href="#" class="black">Test</A> </SPAN> </BODY> </HTML> (Submitted via bugs.kde.org)
Created attachment 1791 [details] testcase confirmed.. is there a hardcoded white bg for <a>?
Created attachment 2504 [details] Test case for borders It's not just backgrounds - other attributes are not inherited either. The site I'm doing doesn't work properly in Konqueror 3.1.3 because CSS borders specified for SPAN tags enclosing A tags are ignored. Attached a test case demonstrating this. Test case works in Moz (at least 1.1) and IE (at least 6).
*** This bug has been marked as a duplicate of 45548 ***