[csswg-drafts] [css-inline-3] Allow re-ordering of <text-edges> keywords (#10713)

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

== [css-inline-3] Allow re-ordering of <text-edges> keywords ==
Current syntax for `<text-edges>` (used in `text-box-edge` and `line-fit-edge`):

```
<text-edge> = [ text | cap | ex | ideographic | ideographic-ink ]
              [ text | alphabetic | ideographic | ideographic-ink ]?
```

(Single keywords are duplicated, or default to `text` if that's not possible.)

Proposed change:
```
<text-edge> = [ text | cap | ex | ideographic | ideographic-ink ] || [ text | alphabetic | ideographic | ideographic-ink ]
```

This would allow re-ordering of the keywords, in line with the "re-ordering should be allowed if it's not causing parsing ambiguity" principle.

(It also allows `alphabetic` to be specified alone, which is probably not particularly useful, but there's no particular reason to disallow it.)

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


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

Received on Thursday, 8 August 2024 17:45:52 UTC