Bug 137469 - css @namespace crash on http://suika.fam.cx/~wakaba/-temp/wiki/wiki?WebCGM
Summary: css @namespace crash on http://suika.fam.cx/~wakaba/-temp/wiki/wiki?WebCGM
Status: RESOLVED DUPLICATE of bug 136120
Alias: None
Product: konqueror
Classification: Applications
Component: khtml renderer (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-16 23:19 UTC by Fredrik Johansson
Modified: 2006-11-17 01:22 UTC (History)
0 users

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 Fredrik Johansson 2006-11-16 23:19:36 UTC
Version:           3.5.5 (using KDE 3.5.5, Kubuntu (edgy) 4:3.5.5-0ubuntu3)
Compiler:          Target: x86_64-linux-gnu
OS:                Linux (x86_64) release 2.6.17-10-generic

http://suika.fam.cx/~wakaba/-temp/wiki/wiki?WebCGM

crashes khtml 3.5.5 
and kde3.5 branch rev605484

I narrowed it down to a namespace thing in css.
I dont know anything about namespace in css, so perhaps I cut to much.

In any case this is the minimal testcase:
********html*********:
<html>
<head >
	<style>
		@import 'style.css';
	</style>
</head>
<body>
</body>
</html>

********css*********:
@namespace h2 'http://www.w3.org/2002/06/xhtml2';

h2|div { }



/************
*  The craching site also uses this syntax:
   Don't know if its relevant..

 @namespace toc 'http://suika.fam.cx/~wakaba/archive/2005/3/toc#';
 @namespace h1 'http://www.w3.org/1999/xhtml';
 @namespace h2 'http://www.w3.org/2002/06/xhtml2';
 @namespace h2005 'http://www.w3.org/2002/06/xhtml2/';

h1|div[toc|toc] h2|h,
h1|div[toc|toc] h2005|h {
    many classes similar to this
}

*/

Regards
Fredrik Johansson
Comment 1 Maksim Orlovich 2006-11-17 01:22:25 UTC
Could you please try my patch from #136120?


*** This bug has been marked as a duplicate of 136120 ***