W3C home > Mailing lists > Public > www-style@w3.org > October 2010

Re: Whitespace, punctuation and :first-letter

From: Alexander Shpack <shadowkin@gmail.com>
Date: Fri, 8 Oct 2010 09:59:39 +0300
Message-ID: <AANLkTi=VZ3pL9b-CSo_v4gNZcRv50t6q9te0-bmb4K=z@mail.gmail.com>
To: Simon Fraser <smfr@me.com>
Cc: www-style list <www-style@w3.org>
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; }

<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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:39 UTC