Bug 42905 - Inheritence Attributes of Span down to A not working (testcase attached) (www.ibmiller.de)
Summary: Inheritence Attributes of Span down to A not working (testcase attached) (www...
Status: RESOLVED DUPLICATE of bug 45548
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-21 21:33 UTC by Mike Beck
Modified: 2003-11-08 18:35 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
testcase (311 bytes, text/html)
2003-06-14 02:56 UTC, Kai Lahmann
Details
Test case for borders (414 bytes, text/html)
2003-09-18 18:58 UTC, Alistair Phipps
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Beck 2002-05-21 21:22:09 UTC
(*** 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">
&nbsp;&nbsp;
<A href="#" class="black">Test</A>
&nbsp;&nbsp;
</SPAN>
</BODY>
</HTML>

(Submitted via bugs.kde.org)
Comment 1 Kai Lahmann 2003-06-14 02:56:45 UTC
Created attachment 1791 [details]
testcase

confirmed.. is there a hardcoded white bg for <a>?
Comment 2 Alistair Phipps 2003-09-18 18:58:15 UTC
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).
Comment 3 Stephan Kulow 2003-11-08 18:35:35 UTC

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