tdesktop/Telegram
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
..
build Version 3.0.1. 2021-09-01 19:41:57 +03:00
cmake Add simple forwarding options on bar click. 2021-08-31 19:47:38 +03:00
codegen@b1c206550e Custom colors in historyDown/unreadMentions buttons. 2021-09-06 13:13:26 +03:00
lib_base@4ccf5d6c8c Replace GTK integration with xsettings + XDP 2021-09-06 15:43:28 +03:00
lib_crl@ec103d6bcc Disable fp exceptions in Windows 32 bit build. 2021-08-24 20:32:26 +03:00
lib_lottie@25294ef8da Couple of crash fixes. 2021-09-01 13:27:36 +03:00
lib_qr@2b08c71c6e Fix more warnings in submodules. 2021-07-13 21:30:55 +03:00
lib_rlottie@0671bf7054
lib_rpl@df721be3fa Improve narrow participants column design. 2021-05-24 22:45:14 +04:00
lib_spellcheck@212d660cbb Fix spellcheck crash on Windows on certain strings. 2021-08-18 15:22:27 +03:00
lib_storage@403df6c4a2 Fix more warnings in submodules. 2021-07-13 21:30:55 +03:00
lib_tl@45faed44e7 Start proper payments processing. 2021-04-06 18:41:15 +04:00
lib_ui@af1429cb87 Replace GTK integration with xsettings + XDP 2021-09-06 15:43:28 +03:00
lib_waylandshells@59b0ee55a6 Update submodules. 2021-08-10 16:05:08 +03:00
lib_webrtc@29d5131791 Support mono playback in OpenAL ADM. 2021-08-30 20:32:57 +03:00
lib_webview@3cb51ac668 Beta version 2.9.13: Update lib_webview. 2021-08-31 11:13:48 +03:00
Resources Export CSS: per-line automatic bidi direction 2021-09-07 12:20:44 +03:00
SetupFiles
SourceFiles Attempt to fix build with GCC. 2021-09-07 12:19:42 +03:00
Telegram Update app icon. 2021-07-20 12:19:56 +03:00
ThirdParty Version 3.0: Update tgcalls submodule. 2021-09-01 01:15:49 +03:00
CMakeLists.txt Replace GTK integration with xsettings + XDP 2021-09-06 15:43:28 +03:00
configure.bat
configure.py Shorten if statement 2021-06-29 10:38:35 +03:00
configure.sh
create.bat
Telegram.plist