Bug 42044

Summary: Rendering bug when a:hover background-color is combined with text: align-justify
Product: [Applications] konqueror Reporter: Rob Kaper <webmaster>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: misc2006
Priority: NOR    
Version: 4.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: testcase exhibiting the bug
Test case with link (activate underlining links to see)

Description Rob Kaper 2002-05-02 20:32:16 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           khtml
Version:           4.0 (using KDE 3.0.5 (CVS HEAD >= 20020427))
Severity:          normal
Installed from:    compiled sources
Compiler:          gcc version 2.95.3 20010315 (release)
OS:                Linux (i686) release 2.4.19-pre7-ac2
OS/Compiler notes: 

KHTML has a rendering bug when a:hover background-color is combined with text: align-justify. The background rendering doesn't take into account that the area to be rendered shbould be larger because the text in the link is wider than normal. This happens when the link contains spaces and is justified.

Example:

http://capsi.com/~cap/khtml-testcases/snapshot-khtml-justify-hover-bug.png

To reproduce go to http://www.unixcode.org/atlantik/ and play with Konq's width until one of the links has a severe justification just like the snapshot.

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Leo Savernik 2002-09-30 18:58:50 UTC
Created attachment 110 [details]
testcase exhibiting the bug

I attached a testcase that exhibits the bug as none of the both links work for
me. When we have bugzilla, let's use its features :-)
Comment 2 Leo Savernik 2002-09-30 19:19:14 UTC
D'oh, I knew I forgot something... sorry for spam  
   
As you can take from the testcase the bug is not restricted to a:hover. I   
therefore suggest renaming it to something like "inline element styles do not  
honour text-align:justify"  
 
Comment 3 Harald H.-J. Bongartz 2002-11-05 14:56:44 UTC
Created attachment 372 [details]
Test case with link (activate underlining links to see)

The same bug can bee seen when a link is formatted this way (justified) and
link underlining is active.

Same for adjustment with <p align="justify">.
Comment 4 Daniel Naber 2002-12-03 14:33:45 UTC
*** Bug 48903 has been marked as a duplicate of this bug. ***
Comment 5 Daniel Naber 2003-06-11 00:48:37 UTC

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