Open Bug 1096421 Opened 7 years ago Updated 7 years ago

Explicit directional isolates don't work as expected in RTL mode


(Core :: Layout: Text and Fonts, defect)

Not set




(Reporter: azasypkin, Unassigned)


(Depends on 1 open bug)


(Keywords: rtl)


(1 file)

Attached file testcase.html
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).

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).

Flags: needinfo?(ehsan.akhgari)
Flags: needinfo?(dbaron)
See Also: → 1094320
Flags: needinfo?(dbaron) → needinfo?(smontagu)
This is dependent on updating the bidi algorithm; see bug 922963.
Depends on: 922963
What Jonathan said
Flags: needinfo?(smontagu)
Okay, thanks!

So I think, there is no need in ni? from Ehsan then :)
Flags: needinfo?(ehsan.akhgari)
You need to log in before you can comment on or make changes to this bug.