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.)
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 intext-box-edgeandline-fit-edge):(Single keywords are duplicated, or default to
textif that's not possible.)Change to allow re-ordering:
(It also allows
alphabeticto be specified alone, which is maybe not particularly useful, but there's no particular reason to disallow it.)