Bug 59596

Summary: borders around text rendered incorrectly - TESTCASE INCLUDED
Product: [Applications] konqueror Reporter: Jens <jens-bugs.kde.org>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 4.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of incorrect rendering

Description Jens 2003-06-10 12:06:14 UTC
Version:           4.0 (using KDE 3.1.1)
Compiler:          gcc version 2.95.4 20011002 (Debian prerelease)
OS:          Linux (i686) release 2.4.19-jb-preempt-w4l

Hi,

Look at the attached screenshot. If you specify "p text-align:justify" and a border around part of the text in the paragraph, the border does not seem to respect that the text is being stretched to conform to the "justify" requirement.

Testcase:

<html><head>
<style type=text/css>
	p { text-align:justify; }
	span.achtung { font-weight:bold; background-color:#ffcccc; border:1px solid #ff0000; }
</style></head>

<body>
<p> bla bld adfd fasdf adf asdfa sdfa sdbla <span class=achtung>asdlfjka dafasldfa df
Comment 1 Jens 2003-06-10 12:06:55 UTC
Created attachment 1765 [details]
Screenshot of incorrect rendering
Comment 2 Jens 2003-06-10 12:07:43 UTC
(I forgot) - this bug only appears when text is being wraped (well, kind of obvious... 
as it is related to justified text). 
Comment 3 Daniel Naber 2003-06-11 00:44:00 UTC

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