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

Re: Whitespace, punctuation and :first-letter

From: Simon Fraser <smfr@me.com>
Date: Thu, 07 Oct 2010 08:26:41 -0700
Cc: www-style list <www-style@w3.org>
Message-id: <D172ADC4-A406-4115-AE3A-9542BB8652B9@me.com>
To: Simon Montagu <smontagu@smontagu.org>
On Oct 7, 2010, at 2:08 am, Simon Montagu wrote:

> At the time I thought that there was not much of a use case for the first form, but in the light of Ambrose Li's message I believe I was wrong. I will file a bug to change Firefox's behaviour.

I made a change last night in WebKit to have a run of <whitespace><punc>character<whitespace><punc> be treated as :first-letter (where <whitespace> includes non-breaking spaces, and <punc> is the categories noted in the spec).

An issue I did not handle is how newlines in that whitespace are treated, particularly if "white-space: pre" is applied.

Received on Thursday, 7 October 2010 15:27:19 UTC

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