[csswg-drafts] [css-backgrounds-4] Order of keywords in `border-*-radius` shorthands (#8469)

SebastianZ has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-backgrounds-4] Order of keywords in `border-*-radius` shorthands ==
Currently, the order of the `border-*-radius` shorthand values is defined as top to bottom and left to right for the physical properties and start to end for the logical properties.

Though @Loirooriol [questioned this](https://github.com/w3c/csswg-drafts/pull/7705/files#r985108445) and proposed to rather follow the clockwise order used for the `border-radius` shorthand.

So `border-radius: 1px 2px 3px 4px` would be equivalent to

```css
border-top-radius: 1px 2px;
border-bottom-radius: 3px 4px;
```

instead of

```css
border-top-radius: 1px 2px;
border-bottom-radius: 4px 3px;
```

The question is, do authors rather expect opposite sides to always follow one direction or have a clockwise order?

This question similarily applies to the logical shorthands. Should they always be start to end or should they map differently?

I tend to say one direction, though it also goes against `border-radius`.

Sebastian

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8469 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 18 February 2023 00:12:14 UTC