Bug 130689 - CSS 3 replaced content breaks some pages
Summary: CSS 3 replaced content breaks some pages
Status: RESOLVED NOT A BUG
Alias: None
Product: konqueror
Classification: Applications
Component: khtml renderer (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 133099 135684 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-12 12:49 UTC by Nicolas Girard
Modified: 2010-09-19 17:48 UTC (History)
4 users (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 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.