Closed Bug 676218 Opened 14 years ago Closed 14 years ago

CSS content property don't print correct unicode character

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: indermohansinghk7, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

Attached file html5.html
User Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.30 (KHTML, like Gecko) Ubuntu/11.04 Chromium/12.0.742.112 Chrome/12.0.742.112 Safari/534.30 Steps to reproduce: Printing a Unicode Character using CSS content property. Actual results: it render it wrongly if the unicode value in decimal is given to it. But it render it correctly if the Unicode Character is putted in content directly. Expected results: the file attached tells the problem correctly.
Hardware: x86 → x86_64
Attachment #550350 - Attachment mime type: text/plain → text/html
Seeing this too on Mozilla/5.0 (Windows NT 5.1; rv:8.0a1) Gecko/20110801 Firefox/8.0a1 ID:20110801030916.
Keywords: testcase
OS: Linux → All
Product: Firefox → Core
QA Contact: general → general
Version: 5 Branch → Trunk
CSS character escapes are hexadecimal, not decimal. So \2676 is U+2676 RECYCLING SYMBOL FOR TYPE-4 PLASTICS. If you wanted U+0A74 GURMUKHI EK ONKAR (which is what your explicitly encoded char is; hex A74 is decimal 2676), then you should use \A74 or \0A74).
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Component: General → Style System (CSS)
QA Contact: general → style-system
Resolution: --- → INVALID
V.
Status: RESOLVED → VERIFIED
Hardware: x86_64 → All
Sorry for my mistake. Thanks a lot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: