- From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
- Date: Mon, 31 Jul 2023 21:51:43 +0000
- To: public-css-archive@w3.org
I tend to agree with Tab that the 3-value-syntax should stay untouched. So I think the syntax for `background-position` could then be expressed as ```ebnf <bg-position> = [ <position> | [ left | right ] <length-percentage>? && [ top | bottom ] <length-percentage>? ] ``` or to make the 3-value-syntax more obvious as ```ebnf <bg-position> = [ <position> | [ [ left | right ] <length-percentage> && [ top | bottom ] ] | [ [ left | right ] && [ top | bottom ] <length-percentage> ] ] ``` or even something like ```ebnf <bg-position> = <position> | <three-value-position> <three-value-position> = [ [ [ left | right ] <length-percentage> && [ top | bottom ] ] | [ [ left | right ] && [ top | bottom ] <length-percentage> ] ] ``` Sebastian -- GitHub Notification of comment by SebastianZ Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/549#issuecomment-1659239562 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 31 July 2023 21:51:45 UTC