Bug 276494 - [CSS 2.1 Conformance] [testcase] Hovering over links and text-indent
Summary: [CSS 2.1 Conformance] [testcase] Hovering over links and text-indent
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.9.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL: http://www.gtalbot.org/BrowserBugsSec...
Keywords: reproducible, testcase
Depends on:
Blocks:
 
Reported: 2011-06-26 00:46 UTC by Gérard Talbot (no longer involved)
Modified: 2024-05-06 18:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gérard Talbot (no longer involved) 2011-06-26 00:46:19 UTC
Version:           4.6.3 (using KDE 4.6.4) 
OS:                Linux

Testcase URL
------------

http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/text-indent-and-reactive-links.html

Reproducible: Always

Steps to Reproduce:
Load

http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/text-indent-and-reactive-links.html

and then hover the mouse over the Documentation and/or forum links

Actual Results:  
The text of one or 2 lines moves, shifts laterally inside their respective line box.

Expected Results:  
The text of all lines should not move, should not shift laterally inside their respective line box.

The "KDE" link resets the horizontal formating of the <h2> text as it should be rendered.

Since 'text-indent' property specifies the indentation of the first line of text in a block container, the 2 text inside the 2 line boxes shifting laterally should NOT be moving at all.

"
This property specifies the indentation of the first line of text in a block container. More precisely, it specifies the indentation of the first box that flows into the block's first line box. The box is indented with respect to the left (or right, for right-to-left layout) edge of the line box. User agents must render this indentation as blank space.

'Text-indent' only affects a line if it is the first formatted line of an element.
"
CSS 2.1, section 16.1 Indentation: the 'text-indent' property
http://www.w3.org/TR/CSS21/text.html#indentation-prop

Firefox 5.0, Opera 11.11 and Chrome 12.0.742.100 get expected results.

KDE Platform Version: 4.6.4
Konqueror version: 4.6.4
Qt Version: 4.7.2
Operating System: Linux 2.6.38-10-generic-pae i686
Distribution: Kubuntu 11.04
here.

Gérard
Comment 1 Gérard Talbot (no longer involved) 2011-06-27 05:29:17 UTC
IE8, Firefox 5.0, Opera 11.11, Chrome 12.0.742.100 and Safari 5.0.5 pass the test.

I have not checked with IE9.01.

Gérard
Comment 2 Gérard Talbot (no longer involved) 2012-01-14 08:15:29 UTC
Konqueror 4.7.4

CONFIRMING

Every other mainstream browsers gets expected results.
Comment 3 Andrea Iacovitti 2012-10-28 08:56:22 UTC
I verified the culprit is this big revision http://websvn.kde.org/?revision=722765&view=revision
Comment 4 Christoph Cullmann 2024-05-06 18:39:29 UTC
Dear user,

KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6.

Please migrate to use a QWebEngine based HTML component.

We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes.

For security issues, please see:

https://kde.org/info/security/

Sorry that we did not fix this issue during the life-time of KHTML.

Greetings
Christoph Cullmann