Closed
Bug 1096421
Opened 10 years ago
Closed 3 years ago
Explicit directional isolates don't work as expected in RTL mode
Categories
(Core :: Layout: Text and Fonts, defect)
Core
Layout: Text and Fonts
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: azasypkin, Unassigned)
References
Details
(Keywords: rtl)
Attachments
(1 file)
1.38 KB,
text/html
|
Details |
As per [1] the following text:
FSI + _ltr_or_rtl_text_ + PDI + _space_ + LRI + _ltr_text_ + PDI
should be equal to:
<bdi>_ltr_or_rtl_text_</bdi> + _space_ + <bdi dir="ltr">_ltr_text_</bdi>
But it's not the case in RTL in the latest Nightly (see attached test case).
[1] http://www.unicode.org/reports/tr9/#Markup_And_Formatting
Reporter | ||
Comment 1•10 years ago
|
||
Hey Ehsan and David could you please advise on that?
We may need this in Gaia Messaging app to format bidirectional text where markup is forbidden\not supported (currently app header component supports only plain text inside heading element, but we need to display bidirectional content there).
Thanks!
Flags: needinfo?(ehsan.akhgari)
Flags: needinfo?(dbaron)
Flags: needinfo?(dbaron) → needinfo?(smontagu)
Comment 2•10 years ago
|
||
This is dependent on updating the bidi algorithm; see bug 922963.
Depends on: 922963
Reporter | ||
Comment 4•10 years ago
|
||
Okay, thanks!
So I think, there is no need in ni? from Ehsan then :)
Flags: needinfo?(ehsan.akhgari)
Comment 5•3 years ago
|
||
AFAICS this now works as expected, presumably as a result of bug 922963 and related fixes.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•