Bug 130689

Summary: CSS 3 replaced content breaks some pages
Product: [Applications] konqueror Reporter: Nicolas Girard <nicolas.girard>
Component: khtml rendererAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: andresjarv, finex, ivaanovich2003, kde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nicolas Girard 2006-07-12 12:49:48 UTC
Version:           3.5.3 (using KDE 3.5.3, compiled sources)
Compiler:          Target: i586-mandriva-linux-gnu
OS:                Linux (i686) release 2.6.16-2mdk-i686-up-4GB

Consider a random page from http://jeanuel.info/ : http://jeanuel.info/article.php3?id_article=7
The contents of <i> tags is rendered differently in Konqueror & Mozilla-firefox.
I've reduced the relevant html & css code to the following:

====================
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" dir="ltr" lang="fr">
<head>
  <style type="text/css">
    i {content: "\"/*" }
  </style>
</head>
<body>
  <h1>Test</h1>
  <p>Je suis actuellement <i>l&#8217;heureux propriƩtaire</i> d&#8217;un mas</p>
</body>
</html>
====================
Comment 1 Maksim Orlovich 2006-07-12 15:47:37 UTC
That's because we support more of CSS3 generated content than Mozilla, I think. Am I right, Allan?
Comment 2 Allan Sandfeld 2006-07-12 18:01:41 UTC
Yes the test-case is going to be different in konqueror because we support content on any element (only 3.5.4-prereleases)

It will look the same in Opera. 
Comment 3 Allan Sandfeld 2007-05-23 15:30:32 UTC
*** Bug 135684 has been marked as a duplicate of this bug. ***
Comment 4 Allan Sandfeld 2007-05-23 15:40:26 UTC
*** Bug 133099 has been marked as a duplicate of this bug. ***
Comment 5 FiNeX 2010-09-19 17:48:07 UTC
Konqueror and Opera behaviour are right: the CSS3 specs clearly indicate that the "content" property can be applied to all elements.