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

On Tue, Aug 25, 2015 at 4:32 PM, Brad Kemper <> wrote:
>> Note that HTML also defines "whitespace" to include U+000C
>> <>.  In particular, its
>> definition is U+9, U+A, U+C, U+D, and U+20.
>> This is also CSS Syntax's definition of whitespace.
>> Looking over Text, I don't see a good reason to skip U+C either.  I
>> think Text should be amended to include it.
> I don't know what those are. I'm used to more digits in my Unicode.

They're just numbers; feel free to zero-pad as you desire.

> Is one of them a non-breaking space? I'd really like to be able to treat nbsp's as regular white space for :blank (or :empty-plus, or whatever). I don't know if it ever has semantic meaning, but  usually it is in the markup because the HTML author assumed some sort of layout that I, the CSS author, don't necessarily what to follow. So I'd either want to collapse it away (a separate topic), or select it with :empty-ish in order to hide it.
> I would think things like thin-space and discretionary hyphens would also be on the list.

NBSP is not one of those, no - they're all low ascii chars.

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).


Received on Tuesday, 25 August 2015 14:54:22 UTC