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

Re: Whitespace, punctuation and :first-letter

From: Simon Fraser <smfr@me.com>
Date: Wed, 06 Oct 2010 16:23:54 -0700
Cc: Stephen Zilles <szilles@adobe.com>, www-style list <www-style@w3.org>
Message-id: <E816B576-78D1-45BA-BBF6-9A5ACBBA196B@me.com>
To: Ambrose LI <ambrose.li@gmail.com>

On Oct 5, 2010, at 9:16 PM, Ambrose LI wrote:

> On 6 October 2010 00:07, Stephen Zilles <szilles@adobe.com> wrote:
>> Simon,
>>  You raise a good question. It is clear to me that the intent of "first-letter" is to include punctuation that precedes the first "real" letter. But, your case has introduced a space before the first "real" letter. This particular example does not seem to have a use case associated with it. Why would anyone put a space in a "first-letter" situation without the intent that the space terminate the "first-letter" handling. For that reason, I would say that Opera has the correct answer. But, if someone can provide a use case for your example, I would consider it.
> 
> I suppose a trivial typographically valid use case would be an opening
> quotation mark in French. When French guillemets are used, the opening
> guillemet should always be followed by a space before the real first
> letter appears.

A non-breaking space, according to wikipedia.

So here's another case with no interop:

<div>&laquo;&nbsp;T&nbsp;&raquo;test</div>

Simon
Received on Wednesday, 6 October 2010 23:24:30 GMT

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