Open Bug 1096421 Opened 5 years ago Updated 5 years ago

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

Categories

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

defect
Not set

Tracking

()

People

(Reporter: azasypkin, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: rtl)

Attachments

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


[1] http://www.unicode.org/reports/tr9/#Markup_And_Formatting
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)
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.