I am a little puzzled by Opera's (7.54) vs. Geckos' (Mozilla 1.7, Firefox
1.0pre) behaviour concerning the treatment of characters included by
numeric reference into stylesheets.
As I understand it, non-ASCII characters can be included as described in
CSS2 syntax and basic data types using backslash followed by a
hexadecimal number corresponding to the code point of that character.
Taking the RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK for example, I could
'\BB ' or '\0000BB'
for inclusion of this character, e.g. as a content-property value.
If instead of escaping the numeric code with a backslash I delimit the
decimal or hexadecimal number with ampersand and semicolon, as in HTML, I
would expect this string to be rendered literally, as I can find no
reference to HTML methods of referencing characters throughout the CSS
The Gecko browsers confirm my assumption in their literal rendering of the
string, while Opera displays the referenced character instead.
An example page can be viewed at
In this example there are seven cases, each of which show the referenced
character in Opera while only the characters escaped by backslash are
shown in Geckos.
Now is Opera plain wrong in showing the character instead of the string or
did I miss something?
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/