Bug 143127 - [broken html] Konqueror fails to show pages broken by a missing </style> tag
Summary: [broken html] Konqueror fails to show pages broken by a missing </style> tag
Status: CONFIRMED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml parsing (show other bugs)
Version: 4.5.4
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-17 19:12 UTC by Sami Liedes
Modified: 2021-03-21 00:25 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Testcase (303 bytes, text/html)
2008-04-20 21:58 UTC, Christophe Marin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sami Liedes 2007-03-17 19:12:57 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    Debian testing/unstable Packages
OS:                Linux

http://kotoistus.tksoft.com/linux/ is an example of a page that Konqueror displays as a blank page because of a missing </style> tag:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
<link rel="stylesheet" type="text/css" href="/styles.css" src="/styles.css">
<title>Kotoistus - Linux / X-Windows</title>
</head>
<body bgcolor="#ffffff">
...

At least Firefox shows this page; I suppose IE does too.
Comment 1 Philip Rodrigues 2007-03-18 17:29:36 UTC
Confirmed on SVN r643409.
Comment 2 Christophe Marin 2008-04-20 21:58:31 UTC
Created attachment 24458 [details]
Testcase 

This website was updated.

Adding testcase to this bug. Both FF3 and Konqueror (r. 799086) will display a
blank page.
Comment 3 Samuel Brack 2011-01-09 23:01:52 UTC
Confirmed in 4.5.4 and updating version. But should konqueror really render a site with broken html? I think it's the webmaster's task to look after such errors.
Comment 4 Sami Liedes 2011-01-09 23:52:01 UTC
Well, that would maybe work in an ideal world. I like the idea of XHTML and browsers refusing to display incorrect web pages, but unfortunately the world is so full of broken web pages that such a browser would currently be useless. (And as far as I understand, that's a major nuisance in browser development.)
Comment 5 Justin Zobel 2021-03-21 00:25:20 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.