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

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