f8c631ed24
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. |
||
---|---|---|
.. | ||
build | ||
cmake | ||
codegen@b1c206550e | ||
lib_base@4ccf5d6c8c | ||
lib_crl@ec103d6bcc | ||
lib_lottie@25294ef8da | ||
lib_qr@2b08c71c6e | ||
lib_rlottie@0671bf7054 | ||
lib_rpl@df721be3fa | ||
lib_spellcheck@212d660cbb | ||
lib_storage@403df6c4a2 | ||
lib_tl@45faed44e7 | ||
lib_ui@af1429cb87 | ||
lib_waylandshells@59b0ee55a6 | ||
lib_webrtc@29d5131791 | ||
lib_webview@3cb51ac668 | ||
Resources | ||
SetupFiles | ||
SourceFiles | ||
Telegram | ||
ThirdParty | ||
CMakeLists.txt | ||
configure.bat | ||
configure.py | ||
configure.sh | ||
create.bat | ||
Telegram.plist |