Skip to content

[css-inline-3] Allow re-ordering of <text-edge> keywords #10713

@fantasai

Description

@fantasai

In line with the "re-ordering should be allowed if it's not causing parsing ambiguity" principle, maybe we should allow re-ordering of the <text-edge> 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.)

Change to allow re-ordering:

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

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Regular agenda items

    Status

    Thursday morning

    Status

    Tuesday Morning

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions