Bug 72538

Summary: <a> inside <span> with css border attribute is not rendered correctly
Product: [Applications] konqueror Reporter: Edward Brocklesby <ejb>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Edward Brocklesby 2004-01-13 11:10:05 UTC
Version:            (using KDE KDE 3.1.4)
Installed from:    Debian testing/unstable Packages
OS:          Linux

The text of an <a> when inside a <span> elelment which contains a border attribute, is not correctly rendered: the text is not drawn with a border around it.  For example, given this HTML:

<head>
<title>test</title>
<style type="text/css">
span.border {
        border: solid 1px #aaaaee;
}
</style>
</head>
<body>
<p>
<span class="border">
This is some text in a span with a border.<br />
</span>
</p>
 
<p>
<span class="border">
This is some text ... <a href="/dev/null">this is a link</a> ...
and this is some more text.<br />
</span>
</p>
 
</body>
</html>


Mozilla & IE render it with a border (box) around the entire text, whereas konqueror draws two 'boxes': one around 'This is some text ...' and one around '... and this is some more text.'  The link text is not decorated.

This may be related to bug #44092.
Comment 1 Stephan Kulow 2004-01-17 18:51:08 UTC
no, it's the same problem as this one :)

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