Suppose the following CSS and HTML [1]

CSS:
p::first-letter { color: red; }

HTML:
<p>&#8212; Paragraph</p>
<p>&copy; Paragraph</p>

All latest browsers:
Firefox doesn't apply the CSS rule on both paragraphs;
Opera, Chrome and IE apply the CSS rule coloring &#8212; and &copy;
Safari on Windows apply coloring &#8212; and &copy; plus P;

It seems that only Firefox is according the specs. Since ::first-letter only apply to letters and digits.
I'd like to know what is it the correct behavior.

[1] Hosted at: http://jsbin.com/ijeqar/

--
I am using the free version of SPAMfighter.
We are a community of 7 million users fighting spam.
SPAMfighter has removed 3261 of my spam emails to date.
Get the free SPAMfighter here: http://www.spamfighter.com/len

The Professional version does not have this message


______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to