Re: [csswg-drafts] [css-backgrounds-4] Align logical values for <position> with the ones defined in CSS Logical Properties (#549)

Iterating on my previous suggestion, if we align the syntax with the current definition of `<position>` and still allow the three-value syntax, this could be

```ebnf
<bg-position> = [
  [ left | center | right | inline-start | inline-end ] ||
  [ top | center | bottom | block-start | block-end ]
|
  [ left | center | right | inline-start | inline-end | <length-percentage> ]
  [ top | center | bottom | block-start | block-end <length-percentage> ]?
|
  [ [ left | right | inline-start | inline-end ] <length-percentage>? ] &&
  [ [ top | bottom | block-start | block-end ] <length-percentage>? ]
]
```

In addition to that we might still have `start` and `end` as keywords, though then being shorthands for `inline-start` and `block-start` resp. `inline-end` and `block-end`.

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/549#issuecomment-1475052033 using your GitHub account


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

Received on Sunday, 19 March 2023 00:49:19 UTC