Re: [csswg-drafts] [css-fonts-5] Make `unicode-range` syntax suck less (#7921)

> or even `<string> to <string>`

Playing with it a bit myself, unfortunately I think we'd be well-served by using a separator token with strong LTR directionality like `to`.

If you're trying to denote a range from U+062E (<bdi>خ</bdi>) to U+0630 (<bdi>ذ</bdi>), you get the following results with a weak directionality vs strong directionality separator:

range("خ" to "ذ")

range("خ", "ذ")

The above two strings are *exactly identical* save for the separator used, but the bidi algorithm makes the second look like it's in the wrong order.

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


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

Received on Monday, 15 April 2024 18:53:13 UTC