W3C home > Mailing lists > Public > www-style@w3.org > May 2014

Whitespace in calc() and <An+B> (was: Re: Agenda conf call 07-may-2014)

From: Simon Sapin <simon.sapin@exyr.org>
Date: Wed, 07 May 2014 13:24:28 +0100
Message-ID: <536A25FC.5010808@exyr.org>
To: Daniel Glazman <daniel.glazman@disruptive-innovations.com>, www-style@w3.org
On 07/05/2014 10:20, Daniel Glazman wrote:
> Before our call later today, I would like to forward here verbatim
> comments from css authors I recently met and had a long chat with:
> 1. the whitespace and sign constraints inside both calc() and
>     :nth-*() pseudos are painful to remember and prone to
>     errors; they also impact readability and maintainability.
>     CSS authors don't want to know about constraints imposed by the
>     CSS tokenization, it should just work intuitively.

For calc(), I beleive Simonís proposal would fix this. Please comment there:

For <An+B> (In the :nth-*() pseudos), what constraint specifically is 
this referring to? The <An+B> grammar (which authors do not need to 
know), is so complicated precisely to work around CSS tokenization and 
relax whitespace constraints for authors.


That said, Iím not opposed to changing it. What specific change do you 
think would help?

Simon Sapin
Received on Wednesday, 7 May 2014 12:24:52 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:40 UTC