[csswg-drafts] [css-anchor-position] `position-area`: `self` keyword inconsistency (#11371)

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

== [css-anchor-position] `position-area`: `self` keyword inconsistency ==
The [syntax definition](https://drafts.csswg.org/css-anchor-position-1/#position-area) of `position-area` says the `self` version of `block-start`, `block-end`, `inline-start`, `inline-end` is the same keyword but with the `self-` prefix (so `self-block-start`, `self-block-end`, ...).

However in [the section explaining what the keywords mean](https://drafts.csswg.org/css-anchor-position-1/#resolving-spans), `self` is placed in the middle of the keyword instead of (`block-self-start`, `block-self-end`, ...)

So which of these is the correct convention to use?

This also leads to a relevant issue - in the syntax definition, we both have `self-` as the prefix (e.g: `self-block-start`, `self-inline-start`), and `self-` in the middle (e.g: `x-self-start`). Should we fix the syntax to be consistent where `self-` could be in the keyword?

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


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

Received on Saturday, 14 December 2024 00:01:46 UTC