[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    Bug#43275: CSS 'content' property incorrectly parses a string value
From:       bert () w3 ! org
Date:       2002-05-30 16:59:51
[Download RAW message or body]

Package: khtml
Version: 4.0 (using KDE 3.0.1 )
Severity: normal
Installed from:    compiled sources
Compiler:          gcc version 2.95.3 20010315 (release)
OS:                Linux (i686) release 2.2.18
OS/Compiler notes: 

The style rule

  span:before {content: "foo"}

causes the string '"foo' (i.e., with an initial quote) to be inserted, rather than the intended 'foo'. \
Here is a complete test case. The expected result is:

  Some text with a [quote] inside.

the actual result is

  Some text with a "[quote"] inside.


<!doctype html public '-//W3C//DTD HTML 4.01//EN'
  'http://www.w3.org/TR/html4/strict.dtd'>
<title>test</title>
<style type="text/css">
  span:before {content: "["}
  span:after {content: "]"}
</style>
<p>Some text with a <span>quote</span> inside.</p>


(Submitted via bugs.kde.org)
(Called from KBugReport dialog)


(Complete bug history is available at http://bugs.kde.org/db/43/43275.html)
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
http://mail.kde.org/mailman/listinfo/konq-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic