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

Re: [css-shapes] inset() vs. inset-rectange()

From: Lea Verou <lea@verou.me>
Date: Fri, 18 Oct 2013 23:00:26 +0300
Cc: "www-style@w3.org" <www-style@w3.org>
Message-Id: <ABCAAFDD-3266-4211-AC71-4E6D3FA1C7A0@verou.me>
To: fantasai <fantasai.lists@inkedblade.net>
On Oct 17, 2013, at 01:05, fantasai <fantasai.lists@inkedblade.net> wrote:

> I'm in favor of less typing, can we replace 'inset-rectangle' with 'inset'?
> 
> It's less "I'm making a rectangle" and more of an analog to margin/padding/
> border-image-outset, so I think it's clear enough on its own...
> 
> ~fantasai

FWIW, I find it quite awkward to have two functions for rectangles, just to specify different parameters. I think it would be much better to find a way to disambiguate rectangle() parameters to enable authors to do both with the same function. Perhaps with an inset keyword?

~Lea
Received on Friday, 18 October 2013 20:00:50 UTC

This archive was generated by hypermail 2.3.1 : Friday, 18 October 2013 20:00:50 UTC