W3C home > Mailing lists > Public > www-style@w3.org > January 2015

Re: [css-logical-props] logical border radius properties

From: Chris Eppstein <chris@eppsteins.net>
Date: Wed, 21 Jan 2015 09:02:49 -0800
Message-ID: <CANyEp6UMusNgQ93SgV24tXEv41qZVromAPkszju7-xxBe3sWYw@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: "www-style@w3.org" <www-style@w3.org>
On Wed, Jan 21, 2015 at 1:22 AM, fantasai <fantasai.lists@inkedblade.net>
wrote:

> On 01/19/2015 05:20 AM, Simon Pieters wrote:
>
>> On Sat, 17 Jan 2015 06:38:18 +0100, Cameron McCormack <cam@mcc.id.au>
>> wrote:
>>
>>  Cameron McCormack wrote:
>>>
>>>> Is there any reason not to have logical versions of the border radius
>>>> properties?
>>>>
>>>
>>> dbaron points out to me that the names of the properties would be pretty
>>> bad, if we follow the existing naming scheme:
>>> border-block-start-inline-end-radius, etc.
>>>
>>
>> Maybe when having to give both in a property name, we could make it
>> contextual so that block is first, inline is second, i.e.
>> border-start-end-radius ?
>>
>
> I think this makes sense, personally.
>
> ~fantasai
>

In Sass we allow properties sharing a prefix to be nested. Maybe this is
something CSS should consider:

div {
  border: {
    width: 8px;
    radius: 50px;
    start: {
      shape: circle;
    }
  }
}

Chris
Received on Wednesday, 21 January 2015 17:03:16 UTC

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