W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2019

[csswg-drafts] [css-syntax] Whitespace in calc() and <An+B> (#3625)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Thu, 07 Feb 2019 20:13:02 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-407877934-1549570382-sysbot+gh@w3.org>
tabatkins has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-syntax] Whitespace in calc() and <An+B> ==
(migrated from mailing list)

**Daniel Glazman said:**

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

------------------

**Simon Sapin said:**

> For calc(), I beleive Simon’s proposal would fix this. Please comment there:
> http://lists.w3.org/Archives/Public/www-style/2014Apr/0480.html
> 
> 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.
> 
> http://dev.w3.org/csswg/css-syntax/#the-anb-type
> 
> That said, I’m not opposed to changing it. What specific change do you 
> think would help?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3625 using your GitHub account
Received on Thursday, 7 February 2019 20:13:04 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:43 UTC