W3C home > Mailing lists > Public > www-style@w3.org > August 2015

Re: [selectors4] :blank, ::first-letter, and what a whitespace character is

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 25 Aug 2015 21:34:37 +0200
Message-ID: <55DCC34D.2070008@inkedblade.net>
To: www-style@w3.org
On 08/25/2015 06:11 PM, Zack Weinberg wrote:
> On Tue, Aug 25, 2015 at 11:10 AM, Brad Kemper <brad.kemper@gmail.com> wrote:
>>> On Aug 25, 2015, at 8:08 AM, Brad Kemper <brad.kemper@gmail.com> wrote:
>>>> On Aug 25, 2015, at 7:53 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
>>>>
>>>> We're not trying to be fancy here, just sync up our definitions of
>>>> "basic whitespace".  This isn't about all the various typographic
>>>> types of whitespace used in text, just the types of whitespace that
>>>> show up in documents to separate elements and such.  That's just the
>>>> ascii space (U+0020), ascii tab (U+0009), and the three ascii line
>>>> feeds (U+000A, U+000C, and U+000D).
>>>
>>> NBSP is extremely common for showing up in documents to separate elements and such. Mostly where it's not desired, often because of the way it got typed into some editor. I think it should be included. It's not a request to be fancy. It's really very basic and common.
>>
>> Also, if some bozo used it as a faux indent, that shouldn't prevent meaningful use of :first-letter.
>
> If one goes beyond ASCII at all, I really don't see a good reason not
> to include all Unicode whitespace characters. And with my author hat
> on, I think selectors probably *should* consistently use "all Unicode
> whitespace characters" as their definition of white space.

I think we only really care here about what CSS considers white space
and will collapse away.

Which is not all Unicode Zw characters.

~fantasai
Received on Tuesday, 25 August 2015 19:35:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 25 August 2015 19:35:07 UTC