W3C home > Mailing lists > Public > www-style@w3.org > May 2012

[CSS21][selectors3] What is a first letter?

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 3 May 2012 10:05:32 -0400
To: www-style@w3.org
Message-ID: <20120503140532.GA25823@crum.dbaron.org>
http://lists.w3.org/Archives/Public/www-style/2008Jun/0362.html was
raised a few years ago, but hasn't been addressed.  The basic
problem it describes is that none of:
http://www.w3.org/TR/CSS21/selector.html#first-letter
http://dev.w3.org/csswg/selectors3/#first-letter
describe what goes in the :first-letter.  They say that the "first
letter" goes in the pseudo-element, without defining what
constitutes a first letter other than saying that it "also applies
if the first letter is in fact a digit".  It defines quite precisely
what punctuation preceding the first letter is also included in the
pseudo-element.  But it doesn't, for example, define whether a
paragraph beginning with a "$" has a :first-letter pseudo-element
containing the "$" or none at all, or how combining marks are
handled, etc.

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Thursday, 3 May 2012 14:06:02 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:53 GMT