Bug 67363 - [test case] lwn.net text-indent incorrect selection color/bounds
Summary: [test case] lwn.net text-indent incorrect selection color/bounds
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml renderer (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR major
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 67963 68387 76884 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-11-06 00:51 UTC by Jeroen van Disseldorp
Modified: 2004-03-07 15:33 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Testcase (153 bytes, text/html)
2003-11-06 17:49 UTC, Sashmit Bhaduri
Details
nicer to debug test case :) (531 bytes, text/html)
2003-11-24 17:33 UTC, Stephan Kulow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen van Disseldorp 2003-11-06 00:51:04 UTC
Version:           KHTML as shipped with 3.2-beta1 (using KDE KDE 3.1.93)
Installed from:    Compiled From Sources
Compiler:          gcc 3.2.2 
OS:          Linux

Once logged in at http://lwn.net, the left frame shows some links, among which are the so-called "Recent Features". Links are multi-line, and the second line is indented. KHTML incorrectly calculates/displays the link-rectangles.

Example:

Line 1 which is
    continued at line 2
    ^^^^^^^^^^^^^^^^^^

Only the marked area is considered to be part of the link. The first line's "Lin" falls outside this rectangle, is not colored and does not accept mouse-clicks.

The page uses CSS.
Comment 1 Jeroen van Disseldorp 2003-11-06 00:52:42 UTC
Hmm, spaces at the beginning of a line are removed by the bug reporter. To make it clear, here's the example with spaces replaced by underscores:

Line 1 which is
___continued at line 2 
___^^^^^^^^^^^^^^^^^^^
Comment 2 Sashmit Bhaduri 2003-11-06 17:49:10 UTC
Created attachment 3055 [details]
Testcase
Comment 3 Sashmit Bhaduri 2003-11-06 17:50:44 UTC
The problem is with negative text-indents-- it is displayed properly (-1 em offscreen), but the link highlight is buggy.
Comment 4 Sashmit Bhaduri 2003-11-06 17:52:39 UTC
One other problem: if you highlight it, it gets highlighted fine, but if you do anything that gets rid of the selection, the buggy region's selection color doesn't get updated.
Comment 5 Sashmit Bhaduri 2003-11-16 20:19:53 UTC
*** Bug 67963 has been marked as a duplicate of this bug. ***
Comment 6 Sashmit Bhaduri 2003-11-16 20:20:49 UTC
*** Bug 68387 has been marked as a duplicate of this bug. ***
Comment 7 Stephan Kulow 2003-11-21 17:26:10 UTC
anyone looking at lwn.net will notice, and it's a rather common web page
Comment 8 Stephan Kulow 2003-11-24 17:33:16 UTC
Created attachment 3384 [details]
nicer to debug test case :)
Comment 9 Stephan Kulow 2004-03-07 15:32:07 UTC
*** Bug 76884 has been marked as a duplicate of this bug. ***
Comment 10 Stephan Kulow 2004-03-07 15:33:01 UTC
fixed for 3.2.1