Closed
Bug 204324
Opened 22 years ago
Closed 22 years ago
Unicode characters are not parsed in generated content
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
VERIFIED
INVALID
People
(Reporter: jordik, Assigned: asa)
References
()
Details
(Whiteboard: technote-wanted)
User-Agent: Opera/7.10 (Windows NT 5.1; U) [en]
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030429 Mozilla Firebird/0.6
In the page http://members.outpost10f.com/~jor/mozillabug.html , CSS is used to
include the Unicode character reference ↪ before links with the class
'offsite'. Mozilla can render the character in normal content, but displays the
raw entity when it is generated by CSS.
Reproducible: Always
Steps to Reproduce:
1. Create a CSS rule a.offsite:before { content : " ↪ "; }
2. Give a link the class 'offsite'
3. Visit the page in a Gecko browser.
Actual Results:
The raw entity ↪ is displayed before the link.
Expected Results:
Mozilla should display a curved arrow.
Comment 1•22 years ago
|
||
Mozilla's display is correct. CSS is not passed through the XML/HTML parsers, so
XML/HTML entities are not translated. Instead, you must use CSS character
references. See http://www.w3.org/TR/REC-CSS2/syndata.html#q24 for the
appropriate spec.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Component: Browser-General → Style System
Resolution: --- → INVALID
Comment 2•22 years ago
|
||
*** Bug 218529 has been marked as a duplicate of this bug. ***
Comment 3•22 years ago
|
||
*** Bug 218842 has been marked as a duplicate of this bug. ***
Comment 4•22 years ago
|
||
*** Bug 219835 has been marked as a duplicate of this bug. ***
Comment 6•21 years ago
|
||
*** Bug 257129 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•