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

> So, for example, for a value of 10% y-start, the origin for the percentage is then interpreted as x-start value.

To expand on what Elika said, note that `10% left` is **invalid today**. The grammar is very strict about the two-value syntax; if you use any `<length-percentage>` then it's strictly parsed as horiz-vert order. Giving logical keywords the ability to violate that rule and implicitly select the lenper axis is inconsistent. 

We could potentially loosen that restriction across the board, but this is such an old production that I'd be legitimately afraid of accidentally activating currently-invalid code. It also runs into the ambiguity issue Elika was worried about - `center` doesn't imply an axis at all, so using it with a lenper means we have to impose axises arbitrarily, and if you're relying on the direction disambiguation you'll get a surprising flip of the directions.

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


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

Received on Tuesday, 28 November 2023 18:15:09 UTC