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

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 UTC