Bug 42044 - Rendering bug when a:hover background-color is combined with text: align-justify
Summary: Rendering bug when a:hover background-color is combined with text: align-justify
Status: RESOLVED DUPLICATE of bug 46224
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 48903 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-05-02 20:33 UTC by Rob Kaper
Modified: 2003-06-11 00:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
testcase exhibiting the bug (410 bytes, text/html)
2002-09-30 18:58 UTC, Leo Savernik
Details
Test case with link (activate underlining links to see) (322 bytes, text/html)
2002-11-05 14:56 UTC, Harald H.-J. Bongartz
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***