tdesktop/Telegram/Resources
Beni Cherniavsky-Paskin f8c631ed24 Export CSS: per-line automatic bidi direction
Fixes #16120.
`unicode-bidi: plaintext` makes browser auto-detect base bidi direction according to bidi algorithm heuristics, on each line separately.
https://drafts.csswg.org/css-writing-modes/#bidi-algo
AFAICT this matches both Android and Desktop behaviors, and is the friendly behavior for mixed-direction users.
Purely LTR users should not be affected — the heuristics return LTR even on "neutral" lines that contain no letters, only punctuation/emojis/digits.
(http://www.unicode.org/reports/tr9/#P2 — rule P3 defaults to level 0, which is LTR.)
Whereas all RTL language users in practice need to deal with mixed-direction texts, and the ability to split lines to prevent LTR/RTL mixups is extremely handy...

The `text-align: start` ensures LTR-detected lines are displayed left-aligned, and RTL-detected lines right-aligned.
Which again matches both Android and Desktop behaviors.
This is redundant — it seems already the default with current CSS — but is important for mixed-language users, so I wanted to ensure it in case somebody sets alignment on bigger parts of the document in the future.
2021-09-07 12:20:44 +03:00
..
art Update default chat background. 2021-08-31 22:10:39 +03:00
emoji Update emoji in the built-in data and sprites. 2020-05-06 19:29:02 +04:00
export_html Export CSS: per-line automatic bidi direction 2021-09-07 12:20:44 +03:00
icons Add support for 1 month self-destruct messages. 2021-07-30 16:05:13 +03:00
langs Improve phrase in forwarding options box. 2021-08-31 22:10:56 +03:00
qrc Version 3.0. 2021-08-31 22:26:06 +03:00
sounds Show and play 'allowed to speak' notification. 2021-03-12 21:51:39 +04:00
tl Update API scheme to layer 132. 2021-08-30 20:32:56 +03:00
uwp Version 3.0.1. 2021-09-01 19:41:57 +03:00
winrc Version 3.0.1. 2021-09-01 19:41:57 +03:00
day-blue.tdesktop-theme Use HSL color space for accent colors. 2019-08-29 10:01:28 +03:00
default_shortcuts-custom.json Improve code for Shortcuts handling. 2018-11-20 19:38:40 +04:00
night-green.tdesktop-theme Fix tooltip colors in default dark green theme. 2021-05-28 13:39:38 +04:00
night.tdesktop-theme Support filters side bar in built-in themes. 2020-03-27 20:36:03 +04:00
numbers.txt Remove phone number pattern for Germany. 2020-08-21 17:52:12 +04:00