W3C home > Mailing lists > Public > www-style@w3.org > December 2013

[css-grid] proposal for repeat to take a third argument for jointure

From: François REMY <francois.remy.dev@outlook.com>
Date: Tue, 17 Dec 2013 00:18:37 +0100
Message-ID: <DUB402-EAS2825B1CBA1CD168C0468E3AA5D80@phx.gbl>
To: <www-style@w3.org>
CC: "'Tab Atkins Jr.'" <jackalmage@gmail.com>, "'fantasai'" <fantasai.lists@inkedblade.net>, "Rossen Atanassov" <Rossen.Atanassov@microsoft.com>
TLDR: why not “repeat(<int>,  (col-start) 100px (col-end),  10px)” ==> “(col-start) 100px (col-end)  10px ... 10px  (col-start) 100px (col-end)”?

Reasoning: otherwise, if we want to replicate this behavior, we have to write “(col-start) 100px (col-end) repeat(<int-1>, 10px (col-start) 100px (col-end))” which is counter-intuitive (and I remember we thought it was annoying to have to define “function(<length> [, <length>]*)” instead of “function([<length>]{,}+)” and this seems like a similar issue here).

Received on Monday, 16 December 2013 23:19:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:37 UTC