Re: Whitespace, punctuation and :first-letter

On Wed, Oct 6, 2010 at 6:00 AM, Simon Fraser <smfr@me.com> wrote:
> I'm trying to fix some WebKit issues around :first-letter. The spec <http://www.w3.org/TR/CSS2/selector.html#first-letter> is not clear about how punctuation and whitespace interact, and there does not seem to be interop in this area. For example, with the following content:
>

Another "bad" example

<style type="text/css">
div:first-letter { color: green; }
</style>

<div>-0 is normal thing for programmers.</div>

FF - nothing is green
IE, Opera - minus sign is green
Chrome - -0 is green

Received on Friday, 8 October 2010 07:00:20 UTC