Bug 114941 - [test case] Residual style parsing issue
Summary: [test case] Residual style parsing issue
Status: CONFIRMED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml parsing (show other bugs)
Version: 4.2.2
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-23 15:52 UTC by Seb Ruiz
Modified: 2021-03-21 00:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
testcase (213 bytes, text/html)
2005-10-23 21:51 UTC, Thiago Macieira
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Seb Ruiz 2005-10-23 15:52:52 UTC
Version:           SVN Rev 467268 (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

The following page shows a substantial amount of text striked out, although it shouldn't be.  HTML shows that tags are closed, and firefox renders the page properly.

http://amarok.kde.org/amarokwiki/index.php/User:Apachelogger
Comment 1 Thiago Macieira 2005-10-23 21:47:32 UTC
Confirmed on 470926. The parser fails to properly parse this section of invalid HTML:

</dd><dd><strike >there will be 3 stages:
<ul><li> announcement -&gt; as soon as I know the date of next release, I'll notify the translators about it
</li><li> string freeze -&gt; 3 days before the release, only important string changes/adds are allowed
</li><li> complete string freeze -&gt; 1.5 days before the release, no changes/adds are allowed (I doubt that this makes sense&nbsp;:-/)</strike >
</li></ul>

Note how <strike> is closed before the list <ul> which is supposed to be inside it.
Comment 2 Thiago Macieira 2005-10-23 21:51:37 UTC
Created attachment 13128 [details]
testcase

Testcase showing the problem.
Comment 3 Allan Sandfeld 2005-10-23 22:16:42 UTC
Odd. STRIKE is a residual style and both UL and LI are elements registered for residual styling. I will have to debug this closer.
Comment 4 Allan Sandfeld 2007-09-25 14:46:41 UTC
In recent versions of Konqueror, nothing will be striked out as the residual styling mechanism now makes a safe choice when confused.

This is a case of not complete residual styling implementation.
Comment 5 FiNeX 2008-04-06 22:26:53 UTC
On konqueror 4.0.3 the testcase doesn't have any text striked out.
Comment 6 Seb Ruiz 2009-04-16 08:43:10 UTC
There is a different manifestation of this bug in 4.2.2: The text is not striked out at all. FWIW, Firefox does strike out the text.
Comment 7 Justin Zobel 2021-03-21 00:25:27 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 10 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.