W3C home > Mailing lists > Public > www-style@w3.org > July 2000

Re: What is a letter?

From: Thomas Jespersen <thomas@daimi.au.dk>
Date: 18 Jul 2000 19:50:10 +0200
To: webmaster@richinstyle.com
Cc: www-style@w3.org
Message-ID: <y4nbszv72gd.fsf@saratoga.daimi.au.dk>
Matthew Brealey <webmaster@richinstyle.com> writes:

> What, for the purposes of first-letter, is a letter?

Here is what I found at
http://www.w3.org/TR/REC-CSS2/selector.html#img-first-letter

  "The :first-letter pseudo-element matches parts of block-level
 elements only.

   Some languages may have specific rules about how to treat certain
 letter combinations. In Dutch, for example, if the letter combination
 "ij" appears at the beginning of a word, both letters should be
 considered within the :first-letter pseudo-element."

Furthermore:
  
  "Punctuation (i.e, characters defined in Unicode [UNICODE] in the
  "open" (Ps), "close" (Pe), and "other" (Po) punctuation classes),
  that precedes the first letter should be included, as in:"

(see illustration at above link).
Received on Tuesday, 18 July 2000 13:50:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:05 GMT